Article View: news.software.nntp
Article #38198Re: Why is inn-2.2 so slow?
From: bill davidsen
Date: Wed, 23 Jun 1999 00:00
Date: Wed, 23 Jun 1999 00:00
72 lines
4297 bytes
4297 bytes
In article <yl3dzjn5di.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | bill davidsen <davidsen@tmr.com> writes: | | > After seeing how long the makehistory was taking I dropped back to 2.2, | > took ~95 minutes to build history and overview. Could tagged hash be a | > player here? I'm not using it, even though I have fairly small memory, | > but the makehistory process is tiny, so I assumed there was no issue. | | I seem to remember the merge of the new overview stuff and the rest of | Clayton's changes introducing a slowdown in traditional makehistory. I | don't think anyone's had a chance to revisit that part of the code again. I'm going to see if playing with the -l size (lines? k?) make a significant change. | Not sure why you're getting an error from makedbz; are you building an | empty history file or using your existing ones? It's working fine for me | on Solaris, starting with an empty history file, but I'm not using tagged | hash. Not from makedbz, the makehistory ends with an error message. I will get a chance to test that soon as well, I'm installing 2.3 for a y2k test box. | > Another issue is incoming article rate. This machine typically runs | > 40-60 art/sec in catchup mode with 2.2 (it's small, don't laugh). It's | > only accepting about 15 art/sec now, is there any obvious tuning (and | > why isn't it standard) to at least bring this up to match the incoming | > rate off the net? Reader performance looks good, but CPU use is very | > high even with no readers, and I sure hope there's a setup problem. | > This machine hums with 2.2 as long as I only let about 300 users on it. | | There was a reason for uniover. It's fast. :) | | With overview enabled, you're going to get fast incoming feed performance | or fast reader performance; pick one. :/ The new overview is blazingly | fast for readers, but it takes longer to write to. Too long, unfortunately. If it can't accept articles as fast as the net generates them the system is not useful. With all its faults, 2.2 will keep up with a full feed on this little box (IBM 850 RISC). | If you are running on a platform with plenty of file descriptors | available, try bumping up overcachesize in inn.conf. It eats two file | descriptors per cache entry, so be careful. If you have 1024 file | descriptors, though, 300 or so is a nice value. | | It defaults to something like 15, which is really much smaller than you | want, but that's because it eats file descriptors like mad and not every | platform has plenty available. Yes, thanks, I cautiously upped the size to 200 (just to see if it would make a difference at all), and the first ten minutes showed 13.95 art/sec with five feeds from one machine and two frim another. I'm doing some tracing and stuff, but the CPU usage seems limited only by the large wait-io time (and the disks aren't busy and the dir ops look reasonable. I haven't played with histcache settings, with 25-30% of the CPU in overview it looks like a 2nd order effect, and it will all be missed anyway, less than 1% of articles get fed from both machines. Thanks for the additional info. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc The Internet is not the fountain of youth, but some days it feels like the fountain of immaturity.
Technical Details
Message-ID:
<7krlth$ec6$1@newssvr03-int.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-mailReferences:
<slrn7lulmd.2qrt.conradj@fly.is.co.za> <ylhfo0mpww.fsf@windlord.stanford.edu> <7koeif$fss$1@newssvr03-int.news.prodigy.com> <yl3dzjn5di.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <7krlth$ec6$1@newssvr03-int.news.prodigy.com> Subject: Re: Why is inn-2.2 so slow? Date: Wed, 23 Jun 1999 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <slrn7lulmd.2qrt.conradj@fly.is.co.za> <ylhfo0mpww.fsf@windlord.stanford.edu> <7koeif$fss$1@newssvr03-int.news.prodigy.com> <yl3dzjn5di.fsf@windlord.stanford.edu> 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: 493114644 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr03-int.news.prodigy.com 930175729 14726 199.4.137.118 (23 Jun 1999 22:08:49 GMT) Organization: TMR Associates, Schenectady NY NNTP-Posting-Date: 23 Jun 1999 22:08:49 GMT Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com