🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20080

Re: optimum interleave for ccd news spool

#20080
From: Werner Cyrmon
Date: Fri, 01 Aug 1997 00:00
78 lines
3113 bytes
Alexis Rosen wrote:

> dillon@best.net (Matt Dillon) writes:
> >:Steve Lalonde <steve@enta.net> wrote:
> >:>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.
> >:>[...]
>
> >    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.
>
> Matt's right. I did extensive testing of ccd under NetBSD, which will
> work
> just about the same way. If you think about what's actually happening
> to
> the disks, you'll see why this makes sense. You don't want to engage
> two
> spindles in order to read one article.
>
> Small interleaves help when you're trying to maximize bandwidth, which
> will
> only matter with large files (and then only when the buffer cache
> doesn't
> help). So if you try to read a 200MB file, you'll get max performance
> with
> a smaller stripe size. Likewise on writes, assuming you exceed the
> free space
> in the buffer cache. Since news doesn't do this, you don't want this
> type
> of setup.
>
> What I found interesting was that a 1MB stripe was significantly
> faster than
> a 64Kb or 128Kb stripe when reading a random collection of 1,3, and
> 7KB files.
> This may or may not have to do with the location of the inode
> vis-a-vis the
> file itself. Also, bizarrely enough, on disks with a "physical" track
> size of
> 126 blocks, 126-block stripes were much faster than 128-block stripes.
> This
> seems odd since there really is no one physical track size on modern
> ZBR
> disks.
>
> BTW, 2 and 4-MByte stripes didn't make any difference, and you started
> to
> lose big when dealing with large files since most reads lost the
> benefit
> of the striping.
>
> /a
>
> ---
> Alexis Rosen   Owner/Sysadmin,
> PANIX Public Access Unix & Internet, NYC.
> alexis@panix.com




Technical Details
Message-ID: <33E1EC67.B5AEF39A@htlwrn.ac.at>
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
References: <5rmrcq$js4$1@energise.enta.net> <5rmshr$6u1$1@flea.best.net> <5rolat$ldp@panix4.panix.com>

Show Full Headers
Complete Article Headers
Message-ID: <33E1EC67.B5AEF39A@htlwrn.ac.at>
Subject: Re: optimum interleave for ccd news spool
Date: Fri, 01 Aug 1997 00:00:00 +0000
From: Werner Cyrmon <w.cyrmon@htlwrn.ac.at>
References: <5rmrcq$js4$1@energise.enta.net> <5rmshr$6u1$1@flea.best.net> <5rolat$ldp@panix4.panix.com>
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: 262237958
Distribution: inet
X-Priority: 3 (Normal)
Organization: htl
Newsgroups: news.software.nntp,comp.unix.bsd.freebsd.misc