🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2769

optimal block sizes and inodes for news partitions?

#2769
From: Roland Schemers
Date: Thu, 28 Jul 1994 19:05
47 lines
2640 bytes
I'm setting up INN on an Alpha 3000/600 and I have an rz28b for my
/var/spool/news. Judging by my current setup (to Rz26s in a volume group
that look like one 2 GIG drive) I'd like at least 600,000 inodes, and I got
646269 but doing:

 newfs -i 3072 /dev/rz2c rz28b

I'm also wondering if I should (or can) change the default block size
from 8192 to something like 4096. I tried copying the disktab entry
for an rz28b to a new entry and changing #bc but that didn't seem to
do it. Is there a way to change it? 

The man page says:

  -b block-size
            The block size of the file system in bytes.  Note that the block
            size is fixed at 8KB.

And I seem to recall in the release notes you can't change it. It seems
like 4096 would be a better block size for news.

In looking at recent UUNET stats:

Article Size Distribution:
               % of      % of                   % of     % of
Kbytes  Count Articles   Bytes  Kbytes  Count Articles   Bytes
    1 269068    31.8%     9.6%      9   2210     0.3%     0.9%
    2 384528    45.5%    26.3%     10   1638     0.2%     0.8%
    3 103269    12.2%    12.0%     11   1346     0.2%     0.7%
    4  34357     4.1%     5.7%     12   1107     0.1%     0.6%
    5  15697     1.9%     3.4%     13    863     0.1%     0.5%
    6   8412     1.0%     2.2%     14    686     0.1%     0.4%
    7   4941     0.6%     1.5%     15    552     0.1%     0.4%
    8   3114     0.4%     1.1%  >= 16  13450     1.6%    33.8%


96% of all articles are <= 4K, so 8K seems like a bad choice for
the block size.

thanks, Roland

-- 
Roland J. Schemers III             |    Networking Systems 
Authentication Services Programmer |    414 Sweet Hall  +1 (415) 723-6740 
Distributed Computing Operations   |    Stanford, CA 94305-3090
Stanford University                |    schemers@Slapshot.Stanford.EDU 
Technical Details
Message-ID: <318vij$m5h@nntp2.Stanford.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.osf.misc.mbox.zip!bga.com!news.sprintlink.net!uunet!biosci!headwall.Stanford.EDU!schemers

Show Full Headers
Complete Article Headers
Message-ID: <318vij$m5h@nntp2.Stanford.EDU>
Subject: optimal block sizes and inodes for news partitions?
Date: Thu, 28 Jul 1994 19:05:55 +0000
From: schemers@leland.Stanford.EDU (Roland Schemers)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.osf.misc.mbox.zip!bga.com!news.sprintlink.net!uunet!biosci!headwall.Stanford.EDU!schemers
Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc,news.software.nntp
Organization: Distributed Computing Group, Stanford University
Lines: 46
Distribution: inet
NNTP-Posting-Host: slapshot.stanford.edu