🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by erin Tue, 17 Sep 1996 00:00
Hard disk setup for news
#10932
Author: erin
Date: Tue, 17 Sep 1996 00:00
16 lines
896 bytes

I'm getting ready to move our news server from an SGI to a Sparc and I have a new
9GB hard drive.  In the SGI world the admin book tells how to make a filesystem
for a News Server.  The Sparc admin book leaves these tidbits out! :(

Can anyone tell me what the best config for this disk, I need:
block size, bytes per inode

Thanks!

erin
erin@factory.net


Re: Hard disk setup for news
#11028
Author: Jerry Aguirre
Date: Fri, 20 Sep 1996 00:00
35 lines
2166 bytes
In article <51ncsb$2ch@littleboy.factory.net> erin@factory.net writes:
>
>
>I'm getting ready to move our news server from an SGI to a Sparc and I have a new
>9GB hard drive.  In the SGI world the admin book tells how to make a filesystem

How sad :-)  Seriously you would be much better off with 4 2G drives than 1
9G.  While the 9G has lots of space it only has one set of heads.  Thus it
can only be doing one seek, one write, etc. at a time.  You will most likely
have trouble keeping up with a full feed.

You will definitly want to keep the NOV, history, active, logs, on
a different drive from your spool.  The NOV is the biggest IO load
after the articles themselves.

>for a News Server.  The Sparc admin book leaves these tidbits out! :(
>
>Can anyone tell me what the best config for this disk, I need:
>block size, bytes per inode

I recomend using a 512 fragment and a 4K block size.  This allows 10% or
so more articles per disk as most articles are small and would waste
an extra sector using the default 1k/8K block size.  There is probably
a performance penalty for doing this but I know of no measurements to
quantify it.

Using 1 inode for every 2K bytes is usually plenty for news.  The
important thing is to VERIFY this after the file system has been created!
Don't trust newfs to do what you tell it.  It is better to find out
before rather than after you already have 4G of articles and have run
out of inodes.  If "-i 2048" doesn't give you enough inodes then try
combinding that with "-c 8" to reduce the cylinder group size.

Re: Hard disk setup for news
#11039
Author: Per Hedeland
Date: Sat, 21 Sep 1996 00:00
43 lines
2632 bytes
[ Bogus Distribution: inet removed ]

In article <gergDy2FqE.Mxr@netcom.com> gerg@netcom.com (Greg Andrews) writes:
>jerry@ATC.Olivetti.Com (Jerry Aguirre) writes:
>>Don't trust newfs to do what you tell it.  It is better to find out
>>before rather than after you already have 4G of articles and have run
>>out of inodes.  If "-i 2048" doesn't give you enough inodes then try
>>combinding that with "-c 8" to reduce the cylinder group size.
>
>Careful, though.  If your spool is big enough, "-i 2048" can give you
>too many inodes.

This has nothing to do with the size of the spool of course - unless you
intend to leave a large portion of it unused - only with the average size
of the articles you store.

>When I set up an 18GB news spool, I newfs'ed it with the default inode
>setting (-i 2048).  When I looked at the number of inodes on it, I
>nearly fell of my chair.  It had more than 9 million.

Um, I'd say that shouldn't come as a surprise:-), simple division would
have told you - assuming your newfs is capable of obeying the -i
directive, which not all are, thus Jerry's advice is important.

>I was only using 2.5 million on my existing spool, and I wasn't going
>to triple the number of articles I was carrying, so 9 million was way
>too much.  I redid the newfs, this time using "-i 4096".  4.5 million
>inodes, which was a good number.

This is fine if your average article size is well above 4k - mine is
currently 3.72k (easily found by dividing 'df' output with 'df -i'
output on systems that have a decent 'df'), and I would thus be unable
to fill the spool - no matter how big or small - due to inode shortage
if I used "-i 4096". YMMV of course, I exclude significant parts of
alt.binaries which would otherwise drive up the average article size,
but even if you get them you may be expiring them fairly quickly,
reducing their effect on average size of articles *in the spool*.

--Per Hedeland
per@erix.ericsson.se

Re: Hard disk setup for news
#11044
Author: Greg Andrews
Date: Sat, 21 Sep 1996 00:00
60 lines
3249 bytes
jerry@ATC.Olivetti.Com (Jerry Aguirre) writes:
>
>I recomend using a 512 fragment and a 4K block size.  This allows 10% or
>so more articles per disk as most articles are small and would waste
>an extra sector using the default 1k/8K block size.  There is probably
>a performance penalty for doing this but I know of no measurements to
>quantify it.
>

The performance penalty would be linked to transferring only 32K bytes
off the disk in a burst instead of 64K.  The difference seems like it
would be most noticeable with sequential reads on large files grouped
together on the disks, and least noticeable when you're doing random
reads on large files scattered all over the disk.

Usenet news is the mother of random reads scattered across the disks,
so the performance hit is pretty small.  It might not even be measurable.
The benefit you gain in wasting less disk space far outweighs the small
loss of performance, in my opinion.

>
>Using 1 inode for every 2K bytes is usually plenty for news.  The
>important thing is to VERIFY this after the file system has been created!
>Don't trust newfs to do what you tell it.  It is better to find out
>before rather than after you already have 4G of articles and have run
>out of inodes.  If "-i 2048" doesn't give you enough inodes then try
>combinding that with "-c 8" to reduce the cylinder group size.
>

Careful, though.  If your spool is big enough, "-i 2048" can give you
too many inodes.

When I set up an 18GB news spool, I newfs'ed it with the default inode
setting (-i 2048).  When I looked at the number of inodes on it, I
nearly fell of my chair.  It had more than 9 million.

I was only using 2.5 million on my existing spool, and I wasn't going
to triple the number of articles I was carrying, so 9 million was way
too much.  I redid the newfs, this time using "-i 4096".  4.5 million
inodes, which was a good number.

By reducing the number of inodes, I gained back more than a gig of
space for data blocks, too.

  -Greg
-- 
:::::::::::::::::::  Greg Andrews  gerg@netcom.com  :::::::::::::::::::
Fortune Cookie:  Nine megs for the secretaries fair,
                 Seven megs for the hackers scarce,
                 Five megs for the grads in smoky lairs,
                 Three megs for system source;

                 One disk to rule them all,
                 One disk to bind them,
                 One disk to hold the files
                 And in the darkness grind them.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Re: Hard disk setup for news
#11084
Author: Anthony D'Atri
Date: Mon, 23 Sep 1996 00:00
11 lines
1008 bytes
>Careful, though.  If your spool is big enough, "-i 2048" can give you
>too many inodes.

I've been searching for a while for information on any performance
ramifications of percentage inode utilization -- ie., is there the same
concern as with minfree where as the percentage of free/total inodes gets
small performance is degraded?


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads