From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,29116177be6e5d66,start X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,29116177be6e5d66,start X-Google-Attributes: gidfee84,public X-Google-Thread: 10e254,29116177be6e5d66,start X-Google-Attributes: gid10e254,public X-Google-ArrivalTime: 1994-07-29 08:24:13 PST Path: bga.com!news.sprintlink.net!uunet!biosci!headwall.Stanford.EDU!schemers From: schemers@leland.Stanford.EDU (Roland Schemers) Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc,news.software.nntp Subject: optimal block sizes and inodes for news partitions? Date: 28 Jul 1994 19:05:55 GMT Organization: Distributed Computing Group, Stanford University Distribution: inet Message-ID: <318vij$m5h@nntp2.Stanford.EDU> NNTP-Posting-Host: slapshot.stanford.edu Xref: bga.com comp.unix.osf.osf1:2784 comp.unix.osf.misc:731 news.software.nntp:3682 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