*BSD News Article 61907


Return to BSD News archive

Newsgroups: news.software.nntp,comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!olive.mil.adfa.oz.au!navmat.navy.gov.au!posgate.acis.com.au!warrane.connect.com.au!news.syd.connect.com.au!news.mel.connect.com.au!harbinger.cc.monash.edu.au!news.mira.net.au!Germany.EU.net!howland.reston.ans.net!newsfeed.internetmci.com!in2.uu.net!twwells!bill
From: bill@twwells.com (T. William Wells)
Subject: Re: Poor performance with INN and FreeBSD.
Organization: None, Mt. Laurel, NJ
Message-ID: <Dn5KvE.n0o@twwells.com>
References: <311F8C62.4BC4@pluto.njcc.com> <DMu8B6.6Jn@twwells.com> <4g5pa5$oii@zip.io.org>
Date: Thu, 22 Feb 1996 01:16:26 GMT
Lines: 31
Xref: euryale.cc.adfa.oz.au news.software.nntp:20073 comp.unix.bsd.freebsd.misc:14154

In article <4g5pa5$oii@zip.io.org>, Brian Tao <taob@zip.io.org> wrote:
: In article <DMu8B6.6Jn@twwells.com>, T. William Wells <bill@twwells.com> wrote:
: >
: >Alas, I've done just that -- my junk directory is a quarter
: >megabyte and I file a fair amount under it. Time to shrink that
: >directory and keep it small....
:
:     You mean "a quarter _gigabyte_"?  250K for a junk directory is
: negligible.

I meant the directory proper. It takes a *long time* to create a
file in a quarter megabyte directory -- the entire thing has to
be searched to make sure the file doesn't already exist.

: >Now, I have a question for the FreeBSD gurus out there -- I set
: >the fragment size to 512 bytes in order to cut down on disk space
: >waste. I have this sinking feeling that this also ups my directory
: >read time. What do you think?
:
:     I didn't bother with that here.  The alt.binaries spindle is
: really the only one that chews up a lot of disk space, and I have
: absolutely no problem trimming its expiry time back.

I do that too. But that wasn't what I mean. The average non-binary
file is 3K. The default allocation size is 1K. For each article,
one can expect half of a block of waste. Thus 1/6 of one's spool
space -- on the non-binary groups -- goes to waste. If the block
size is halved, so also is this waste. So, by changing this
parameter, one saves 8% of the spool space. (In theory. I've done
measurements in the past and they're at least in the same ball
park.)