From: schemers@leland.Stanford.EDU (Roland Schemers)
Subject: optimal block sizes and inodes for news partitions?
Date: 28 Jul 1994 19:05:55 GMT [thread overview]
Message-ID: <318vij$m5h@nntp2.Stanford.EDU> (raw)
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
reply other threads:[~1994-07-28 19:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox