Article View: news.software.nntp
Article #19878Re: optimum interleave for ccd news spool
From: Matt Dillon
Date: Wed, 30 Jul 1997 00:00
Date: Wed, 30 Jul 1997 00:00
55 lines
2566 bytes
2566 bytes
:In article <5rmrcq$js4$1@energise.enta.net>,
:Steve Lalonde <steve@enta.net> wrote:
:> Hi All
:>
:>Im getting conflicting advice on what the best interleave is using freebsd
:>ccd for my news spool
:>
:>the man page for ccd says news spool should be a large interleave BUT im
:>being told to use as small as i can by
:>another news admin.
:>
:>current settings are
:>name interleave flags devices
:>ccd1 2048 none /dev/sd2e /dev/sd3e
:>
:>thats 2 4.5gig seagate baracudas and gives me about 4-5 messages a sec
:>should soon be running 4 4.5 gig drives so that might help
:>
:>this is running freebsd 2.2.2 and inn 1.5.1
:>
:>so whats the best interleave?
:>what flags should i use?
:>
:>
:>cheers in advance
:>
:>Steve
For news spools you want a largish stripe to concentrate the
operations pertaining to a single file onto a single physical disk.
If your stripe is too small, then the system winds up seeking all
of the disks for each file rather then just one of the disks, which
kinda kills some of the advantages of striping a news spool.
I use 2048 sectors myself, but a number of people recommend even
larger interleaves... 4096 or even 8192.
Under FreeBSD 2.2.2 I use: rw,noatime,async for my spool and don't do
anything special for the partition containing the history file and
the rest of the news system.
I usually set the filesystem to optimize for time (in tunefs).
Some people consider an async mount too dangerous. I've never had
a problem async-mounting the spool, and figure if I lose a bunch of
files to fsck after a crash I will simply live with it. Optimizing
for time via tunefs and the use of an async mount in the fstab seems
to make a big difference. However, you should definitely not *start*
with an async mount until you are sure you have a stable system.
-Matt
Technical Details
Message-ID:
<5rmshr$6u1$1@flea.best.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5rmrcq$js4$1@energise.enta.net>Show Full Headers
Complete Article Headers
Message-ID: <5rmshr$6u1$1@flea.best.net> Subject: Re: optimum interleave for ccd news spool Date: Wed, 30 Jul 1997 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <5rmrcq$js4$1@energise.enta.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 260485516 Organization: BEST Internet Communications, Inc. Newsgroups: news.software.nntp,comp.unix.bsd.freebsd.misc