🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44149

Re: Q: Wildcard Authentication for Diablo Reader

#44149
From: Joe Greco
Date: Thu, 17 Feb 2000 00:00
90 lines
5230 bytes
In news.software.nntp article <9TSq4.35$Yd2.1990@ptah.visi.com>, drechsau+usenet@yuck.net (Mike Horwath) wrote:
:Brad Knowles <brad@shub-internet.org> wrote:
::     Could you translate for those of us that don't know quite as much 
:: about Diablo & FreeBSD as you?  ;-)
:
:It is big, it is bad, and you should bow down unto it.
:
:That's the gist.
:
::)

I like that summary.  It could be taken several ways.  :-)

<A HREF="http://www.nntp.sol.net/fogleg12.wav">

I'm just going to describe the I/O subsystem here.

Imagine you have four shelves of drives.  Each shelf is composed of 9 50GB
Barracuda drives.  Someone happened to snap a photo of it:

<A HREF="http://www.nntp.sol.net/mvc-076f.jpg">

The lefthand rack is bins0-milwwi, the 1.8TB machine.  It was built with
the new-style Antec UW SCSI removable drive modules, and has a lit LCD for
each screen (finger-twirl).  The machine itself, in the center, is flanked
by two shelves of drives on either side, to minimize cable lengths.

The righthand rack is the bottom portion of one of the old binaries servers
(top right) - you cannot see the top drive shelf.  The bottom machine is
a standard article spool server, two shelves of 18G's below the server.
Below that are the two readers that handle my production reader load:  they
are a bit overloaded, but until I actually finish deploying my distributed
DNS thing, they're handling a subscriber base of 340,000.  I am not going
to describe this any further.  The remainder is an outline of the new
machine.

Now, we all know that Diablo (and most news systems) are hell on history.
Those of us who have run Diablo for any period also know that Diablo is very
easy on the spool.  I sort of wish I had much larger, maybe slower disks for
the spool, and fewer of them, but a nice stripe set of very fast, small
drives for the history.

So, instead of getting additional drives for the history, I decided to use
the ones I had, and leverage the fact that I have a large number of
Barracuda-speed drives, all of which are vastly underutilized for spool.
I make two striped metadevices, cutting 750MB from each drive.  The top two
shelves get their 750MB segments striped together, 14GB or so.  The bottom
two, likewise.  Now I mirror the two 14GB metadevices together, and make
that my /news filesystem.  Now I have, essentially, a very fast number of
small drives for /news.  Better, vinum for FreeBSD can optimize reads to
come from either metadevice...  very fast.

This leaves me with about 49GB on each drive.  To keep things easy to
understand and also to spread the stripe load across the SCSI busses, I
then take each vertical column of drives and stripe it into a ~196GB
data filesystems.  Nine columns, nine filesystems.  The number of
filesystems is not so large as to be unwieldy, as 18 or 36 might be, but 
is large enough to allow substantial benefits from parallelization of 
fsck, etc.

I then figure out what newfs parameters to use.  I know this'll be binaries,
and I know that I'll never get the ratio of inodes to bytes to a point I'd
like, so I arbitrarily decide on 2MB since fsck time seems reasonable (only
223,000 inodes per fs).

Now I go back and tune my stripe size to the size in sectors of the cylinder
group, so that operations within a CG will land on a single drive.  That is
an optimization to increase parallelization within the filesystem, and has
been hashed through here before.

Then you put it in production and get:

/dev/vinum/news  14149612   630226 13519386     4%    /news
/dev/vinum/n0   192125401 44463169 147662232    23%    /news/spool/news/N.00
/dev/vinum/n1   192125401 42998424 149126977    22%    /news/spool/news/N.01
/dev/vinum/n2   192125401 44965039 147160362    23%    /news/spool/news/N.02
/dev/vinum/n3   192125401 46532136 145593265    24%    /news/spool/news/N.03
/dev/vinum/n4   192125401 44560448 147564953    23%    /news/spool/news/N.04
/dev/vinum/n5   192125401 45182968 146942433    24%    /news/spool/news/N.05
/dev/vinum/n6   192125401 43807007 148318394    23%    /news/spool/news/N.06
/dev/vinum/n7   192125401 43778887 148346514    23%    /news/spool/news/N.07
/dev/vinum/n8   192125401 46930648 145194753    24%    /news/spool/news/N.08

<A HREF="http://www.nntp.sol.net/fogleg40.wav">

:-)

... JG

Technical Details
Message-ID: <38ac286b$0$86644@news.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: <87vvl4$dl5$1@nnrp1.deja.com> <38ab2540$0$1402@news.execpc.com> <brad-241CBD.13321017022000@news.skynet.be> <9TSq4.35$Yd2.1990@ptah.visi.com>

Show Full Headers
Complete Article Headers
Message-ID: <38ac286b$0$86644@news.execpc.com>
Subject: Re: Q: Wildcard Authentication for Diablo Reader
Date: Thu, 17 Feb 2000 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <87vvl4$dl5$1@nnrp1.deja.com> <38ab2540$0$1402@news.execpc.com> <brad-241CBD.13321017022000@news.skynet.be> <9TSq4.35$Yd2.1990@ptah.visi.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: 586986791
Sender: jgreco@earth.execpc.com
X-Trace: 0RW8S?BXNabI5[332>a9YkbfNiaEHUgJgRYcgIRLSUEmG78YG3oSG3iG>]OA71[0fd3LX7T::^=KlGhaMU<hZ^NgF4FfQ?Mh6Um
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp
X-Complaints-To: abuse@execpc.com