🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #14855

Re: Optimum RAID block size?

#14855
From: Joe Greco
Date: Fri, 07 Feb 1997 00:00
58 lines
3163 bytes
In news.software.nntp article <gergE57uCJ.E98@netcom.com>, gerg@netcom.com (Greg Andrews) wrote:
:dillon@flea.best.net (Matt Dillon) writes:
:>:In article <32FA35F5.5FAC@synapse.net>,
:>:Evan Champion  <evanc@synapse.net> wrote:
:>:>Has anyone worked out what the optimum RAID-0 block size is for a mixed 
:>:>reader/feeder system?
:>:>
:>:>Evan
:>
:>    I dunno re: the RAID designations, but what you generally want to
:>    do is stripe the disks (plural) using a fairly large stripe size... I use
:>    2 cylinders, in order to concentrate the I/O operations related
:>    to a single file to a single disk.  With news, linear transfer
:>    performance is meaningless.  The *only* thing you care about is 
:>    the seek load and filesystem transaction rate.
:>
:
:In past discussions on this newsgroup, the general consensus was that
:stripe sizes around 1 cylinder give good performance (for the reason
:Matt gives above).
:
:Recently, Jerry Aguirre said he uses a cylinder *group* (16 cylinders
:on many systems) to also concentrate I/O operations for files related
:to each other (by virtue of existing in the same directory).

I've been telling people that on the FreeBSD mailing list for quite some
time now  :-)

The idea is that you want to complete a single operation with a single
drive (where "single operation" is defined as "doing everything needed
to get an article").  When you have a filename like

/news/alt/junk/garb/age/1234

there's no real good way to do that for the leading components, but
FFS optimizations will try to place the directory "age" and the file
"1234" within the same cylinder group.  Thinking further about it,
one realizes that the chance that the data necessary to traverse
"/news/alt/junk/garb" is already in cache is pretty good...  which 
means that if you stripe on CG boundaries, in general you have a
decent chance of involving just a single mechanism in any given file
access.

That gives you concurrency, because then the other mechanisms can be
doing their own thing(s).

I do not believe in striping a dozen drives into a single mega monster
news spool, but I very often stripe a pair of drives and then do the
symlink thing.  When you stripe a pair of 9ms drives (let's say the
nice Seagate ST31055N's), you end up with a "drive" that has about
6ms access time (theoretically a tad about 4.5ms, but this is real
world), 5400 RPM, and 1MB cache, when you look at the average
performance.

... JG

Technical Details
Message-ID: <5dfljq$g9o@earth.alpha.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <32FA35F5.5FAC@synapse.net> <5ddo1r$la8@flea.best.net> <gergE57uCJ.E98@netcom.com>

Show Full Headers
Complete Article Headers
Message-ID: <5dfljq$g9o@earth.alpha.net>
Subject: Re: Optimum RAID block size?
Date: Fri, 07 Feb 1997 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <32FA35F5.5FAC@synapse.net> <5ddo1r$la8@flea.best.net> <gergE57uCJ.E98@netcom.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 215100268
Distribution: inet
Sender: joegreco@earth.execpc.com
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp