🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11044

Re: Hard disk setup for news

#11044
From: 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.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Technical Details
Message-ID: <gergDy2FqE.Mxr@netcom.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <51ncsb$2ch@littleboy.factory.net> <51uvve$ks1@olivea.atc.olivetti.com>

Show Full Headers
Complete Article Headers
Message-ID: <gergDy2FqE.Mxr@netcom.com>
Subject: Re: Hard disk setup for news
Date: Sat, 21 Sep 1996 00:00:00 +0000
From: gerg@netcom.com (Greg Andrews)
References: <51ncsb$2ch@littleboy.factory.net> <51uvve$ks1@olivea.atc.olivetti.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 184336376
Distribution: inet
Sender: gerg@netcom23.netcom.com
Organization: WGASA.ORG: Long slow deep soft wet pings that last for three days
Newsgroups: news.software.nntp