🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18053

Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?

#18053
From: Joe Greco
Date: Wed, 28 May 1997 00:00
56 lines
3162 bytes
In news.software.nntp article <5mgfsf$iqc@nntp0.riverside.il.ameritech.net>, rjoyner@ais.net wrote:
:Michael Hucka wrote:
:> 
:> Some more information I neglected to include in my original message:
:> 
:>   hucka> hardware RAID box (from MTI, RAID level 0, 8 x 4G disks, 64k stripe
:>   hucka> size)?
:> 
:> That's 64 kbytes for the stripes.  It's hardware RAID -- no ODS.  The choice
:> of 4Gb drives was because we're using a box we've had for a while (otherwise
:> we would have gone with 2 Gb drives).
: 
:I have also used MTI RAID boxes...found them to be quite nice...
:I'd guess your problem to be the 64k stripe size.  I think the minimum
:is 8k, and should be used for most news boxen.  Bad thing is, you have
:to rewrite the entire RAID-set to do this (losing all the data and the
:FS structure).
:
:If this was an Oracle database, I'd say stick with 64k stripes, but for
:lots of really small file transactions, 64k will choke you.  8k is much
:better.

Why do you say this?  What's the theory?  If you have 64k stripes, and
lots of small, random transactions, they should still be randomly spread
out over all the disks.  What you DON'T want is for a single transaction
to overlap and involve multiple disks.  That doesn't seem likely, at
first, even with a small stripe size, but then if you start to consider
second order effects (such as looking up the filename in the directory,
i.e. the last iteration of namei), then you have discovered a reason to
use a larger stripe size.

It will not only NOT "choke you", it will actually increase concurrency
in your I/O system.  You will go... faster!

:I also run RAID-5 instead of RAID-0.

Ewww.  You are eating a penalty for updating both the parity AND the data,
rather than just updating the data.  Of course, you gain reliability, but
I would probably prefer to spend the money and mirror, so that there is no
performance penalty.

RAID5 for small transactions sucks.  Of course, throw enough disks and
money at it, and it will perform reasonably well.

:I currently use one of MTI's RAIDs on my news relay.  It pumps out over
:35 GB of traffic per day, and I have yet to see the first RAID
:bottleneck.

I currently don't bother with RAID because I can design a better I/O
system based on theory of operation.  I have yet to see the first
disk system bottleneck too...  :-)  (40+ articles/sec, not using CNFS).

... JG

Technical Details
Message-ID: <5mhitu$7sh$1@earth.execpc.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
References: <82yb90mf99.fsf@peachfuzz.eecs.umich.edu> <82u3jomc3g.fsf@peachfuzz.eecs.umich.edu> <5mgfsf$iqc@nntp0.riverside.il.ameritech.net>

Show Full Headers
Complete Article Headers
Message-ID: <5mhitu$7sh$1@earth.execpc.com>
Subject: Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Date: Wed, 28 May 1997 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <82yb90mf99.fsf@peachfuzz.eecs.umich.edu> <82u3jomc3g.fsf@peachfuzz.eecs.umich.edu> <5mgfsf$iqc@nntp0.riverside.il.ameritech.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
X-Deja-AN: 244501645
Sender: jgreco@earth.execpc.com
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp