🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18083

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

#18083
From: Joe Greco
Date: Thu, 29 May 1997 00:00
63 lines
3705 bytes
In news.software.nntp article <5mhrbd$3hv$1@fes.whowhere.com>, jerry@rigel.whowhere.com (Jerry Aguirre) wrote:
:In article <338c529c.0@news3.ais.net>, R. Joyner <rjoyner@ais.net> wrote:
:>Joe Greco wrote:
:>I say that because, as I understand it, even if you don't have 64k worth
:>of stuff to write, it will still write a 64k stripe, thus wasting time.

I RESENT THAT!  I did NOT write that, Jerry.  :-)

:I have never read anywhere that RAID has to read or write the entire
:stripe size for each transaction.  Can you quote some source?  Perhaps
:this is an implemenation detail of a particular product.  Hardware RAID
:may try to cache the entire track but that should have no relationship
:to the stripe size.

Hardware RAID does some funny stuff to optimize reads and writes.  I
know what he's thinking we meant, it's a terminology collision.  

:Are you saying that if I made the stripe size equal to 12MB that
:RAID would read/write that much every time?  I am using that stripe
:size and am very pleased with performance.  I don't see how I could
:handle a full feed if each article required that much IO.

That's where the fast/wide SCSI pays off.  And all these years I've
been calling people fools for buying f/w for news spools.

:I am glad that your configuration with a small stripe size works for
:you.  However I would attribute your success more to the smarts of your
:raid vendor's design than your choice of stripe size.
:
:I can see two ways this discussion about stripe size will be resolved.
:First would be for someone measure their system with one stripe size,
:rebuild everything with a different stripe size, and then measure
:again.  By measure I mean run with real traffic, not some pathetic
:attempt using dd.  Given that changing raid size is disctructive this
:seems unlikely to happen.  Perhaps someone's spool will get trashed and
:they will be able to perform this experiment?  The problem is they are
:unlikely to have kept useful data.
:
:I just did a reconfiguration from 16KB stripe size to 12MB but it was
:not for a news spool.  The disks went from being 90% busy to just 30%
:busy.
:
:The second method would be to do a theoretical model of disk IO
:preferably using real data collected from a running system.  The
:problem is that the model could miss some crucial factor and be wrong.

Oh, duh... duh... DUH!!!  I don't know why I didn't think of it before.

newsfeeds.sol.net uses an MD5 based message storage system that stores
the messages evenly over a given number of drives.  I don't currently
use any striped partitions, as the MD5 thing makes it unnecessary, but
there is NOTHING stopping me from making two equivalent partitions
out of a few striped drives, varying only in stripe size, and then
letting real NNTP traffic hit it for a few days.

Hmmm...  let's see...  we'll take /news/.7 thru /news/.10 .. okay, then.

I'll summarize what I discover.  :-)

... JG

Technical Details
Message-ID: <5mj6e8$d3e$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> <5mhitu$7sh$1@earth.execpc.com> <338c529c.0@news3.ais.net> <5mhrbd$3hv$1@fes.whowhere.com>

Show Full Headers
Complete Article Headers
Message-ID: <5mj6e8$d3e$1@earth.execpc.com>
Subject: Re: Tips for tuning disks on news server w/ Ultra-2 & hardware RAID?
Date: Thu, 29 May 1997 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <82yb90mf99.fsf@peachfuzz.eecs.umich.edu> <5mhitu$7sh$1@earth.execpc.com> <338c529c.0@news3.ais.net> <5mhrbd$3hv$1@fes.whowhere.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: 244657628
Sender: jgreco@earth.execpc.com
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp