Article View: news.software.nntp
Article #45671Re: Typhoon Capacity Planning ...
From: BARRY BOUWSMA IS AN INFLUX OF CO...
Date: Mon, 10 Apr 2000 00:00
Date: Mon, 10 Apr 2000 00:00
150 lines
8824 bytes
8824 bytes
On Mon 2414 Sep 1993, bill davidsen wrote:
> | We have a Hitachi 7700E doing news. They are not suitable for news. We're
> | using about 200 GB of storage and the performance sucks badly. It's a shared
> | storage that we also use for Oracle and Hitachi claims that they never have
> | seen as bad performance as on our Hitachi.
> |
> | The disklayout is bad too. It was done in a hurry by a person that knows
> | nothing about news. The Hitachis might be nice disk systems but not for new$
> | We could have done several things much better if we had the time, but still
> | I won't recommend the 7700E for news.
>
> If your criteria is that it has to work when set up totally wrong by a
> bozo and shared with an application with different use patterns, I'd
> love to know what you do recommend.
Oh COME ON!!! You've heard Joe Greco's weekly pokes at our parent
company, by now you should have realized it's a requirement to be a
doofus here! How else to explain this post!
Anyway, I meant to followup to this post earlier, but I was too
incontinent to do so, so here goes:
I would like to slightly disagree strongly with what Jan said. The
disk layout is not bad. No, the disk layout is awful. It reeks. It
is rancid past the point of decay. You couldn't pay me to do a worse
layout even if I weren't incompetent.
First of all, once you get rid of the readers (feh, who needs 'em),
the performance improves significantly. So the layout isn't that
bad, as long as you don't have any customers. But as soon as those
lowlife scum start to download their pr0n, away goes performance
down the drain.
I don't know all the details of the spool, but if I understand right,
everything is on the Hitachi. OS, swap, spool, history, overview, logs,
the works. So if you get bogged down with, say, overview access, it
causes your access to swap to lag behind. And it's Slowaris we're
talking about, which, if you recall, wanted to use quite a bit of
swap and whose performance sucked boulders on the test box I set up,
while a different OS on comparable hardware didn't even touch the swap
and spent much of its time idle with the same software. You know that
quite a bit of swap is thrown into use as soon as readers connect.
I mean, we're already using 340MB swap and this is still at peak phone
rates so the number of readers is about 1/3 of the peak.
Secondly, you're dealing with absurdly small stripe sizes on software
RAID on top of hardware RAID, or something equally hideous. This may
be fine for a single-threaded process writing, say, 8 articles per
second, several of which are partial pirated k0deZ, when it helps to
have lots of disks handling the activity, but it sucks for reading.
Thirdly, you're running traditional untuned k0deZ, and I know what
our lusers are doing to the poor machine. It really makes me want
to puke. I never could have imagined how poorly-written this Outhouse
so-called `newsreader' that has nearly 100% market penetration in
this country, but if you can imagine a poor swerver being pummeled
by a thousand simultaneous brutal thugs, you have sort of an idea of
what I see.
Let's look at some numbers: during peak readership hours when I was
running some partially-optimized k0deZ just as a test, I counted up
to 277 `GROUP' commands per second, with averages somewhere between
100 and 200 per second typical. That k0de was optimized to return a
response as quickly as possible, rather than have the number of
parallel connections waiting for a response increase well past 1500
at which point the machine seemed to be taking a well-needed nap.
What does your typical newsreader do? Well, first it connects, and
then for each group the reader is suscirbed to, it gives a `GROUP'
command. Sometimes it will just move along to the next `GROUP'
command, other times it will ask for `XOVER' data for unread
articles, while Outhouse will ask for the XOVER data for every
article in the group, already read or not. So...
What does the typical INN k0de do when you give a `GROUP' command?
Why, first it changes directory to match the requested group, then
it does a scan of the directory, every file in there, to create an
array of articles present. Since the most-accessed groups have
several thousand articles, that means each `GROUP' command will hit
pretty much every disk. A hundred or more times per second.
So just how many of those expensive directory scans are put to use,
when something follows the `GROUP' command? Not many. I don't
remember the numbers. What follows, if not another `GROUP' command,
is usually an `XOVER' command to get the overview data for every
article in the group/directory.
Now here my memory muddles more than usual -- I don't recall if INN
verifies each and every article in the overview data in the case of
an article getting cancelled from the time of creating the array to
spewing out the overview data. In any case, this is usually always
Outhouse asking for the overview data for every article. How the
customers tolerate the delay of getting all that data over their
dial-ins, I understand not, but nearly always only the last few
articles are the only ones of interest. So I optimized both the
`GROUP' command and `XOVER' not to even touch the spool for the
majority of requests, which greatly improved performance. No sense
in having the disks churn to create data the client will toss anyway.
Now, when you look at the volume of requests generated by readers,
and the effect on disk access these requests have, you realize that
a poor spool layout can become a miserable layout quite quickly.
We're not running the hacked k0deZ (I won't put non-standard k0de
into production except as a test, and even then people weren't happy
about it), so of course performance will suck. When readers are pulling
almost twice as many articles from the spool as are being written to
the spool, the optimizations one might use to speed up article writes
are far less important than the optimizations needed to handle lots of
readers, particularly lots of pr0n-hungry customers.
Now there are other things that suck, like formerly keeping the
overview data (hit far more than the articles, as my logging of
client requests showed) with the bulk of the articles, but when you
are sharing the disks anyway, the improvement on performance was
far less than it might have been. History isn't too bad, as with
MD5-based history you're only writing to the files and not hitting
them for verification. And the lengthy directory names hurt performance
far more than they should.
In short, the spool layout sucks, and INN does far more work than
is truly necessary to keep most readers happy, with traditional spool,
so it's no real surprise that our experience has been far less than
it should have been.
> Of course, we have no bozos, either.
teledanmarQinternet (an ameritech company) can help you with that!!@@!!~!
> The hardest test of maturity is knowing the difference between
> resisting temptation and missing a once-in-a-lifetime opportunity.
So, you are trying to tell me something? It's not just anywhere that
will allow me to be a no-holds-barred bozo!
--
*** This was posted with the express permission of ***
******************************************************
** HIS HIGHNESS KAAZMANN LORD AND MASTER OF USENET **
******************************************************
********* We are simple servants of his will *********
Technical Details
Message-ID:
<MEOW.MEOW.MEOW.MEOW.MEOW.MEOW.MEOW.MEOW.MEOW.ME0W.MEOW-100000@MEOW.MEOW.VSZBR.CZ>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-mailReferences:
<38E9C70C.56BFB8C@upc.nl> <8cfhtl$t3o$1@newssvr02.news.prodigy.com> <brad-3CD2A2.18353605042000@news.skynet.be> <8cg0te$1sf$1@news.inet.tele.dk> <8csrgj$pgv$1@newssvr02.news.prodigy.com>Show Full Headers
Complete Article Headers
Message-ID: <MEOW.MEOW.MEOW.MEOW.MEOW.MEOW.MEOW.MEOW.MEOW.ME0W.MEOW-100000@MEOW.MEOW.VSZBR.CZ> Subject: Re: Typhoon Capacity Planning ... Date: Mon, 10 Apr 2000 00:00:00 +0000 From: BARRY BOUWSMA IS AN INFLUX OF CONTUMELIOUS FINKS <pedo@analprobe.dk> References: <38E9C70C.56BFB8C@upc.nl> <8cfhtl$t3o$1@newssvr02.news.prodigy.com> <brad-3CD2A2.18353605042000@news.skynet.be> <8cg0te$1sf$1@news.inet.tele.dk> <8csrgj$pgv$1@newssvr02.news.prodigy.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: 609183023 X-Sender: pedophile@fLuFFy.iNt.tElE.dK Content-Type: TEXT/PLAIN; charset=US-ASCII X-Complaints-To: Department of Written Abuse <abuse@news.inet.tele.dk> X-Trace: news.inet.tele.dk 955387924 21318 193.163.158.4 (Mon 2414 September 1993 17:32:04 GMT) Organization: We're all bozos on this bus Mime-Version: 1.0 NNTP-Posting-Date: Mon 2414 September 1993 17:32:04 GMT Newsgroups: news.software.nntp X-Pedophile: BARRY BOUWSMA IS A POISONOUS PRE-TEEN PR0NPUSHING PEDOPHILE PUNK