Article View: news.software.nntp
Article #38195Re: Why is inn-2.2 so slow?
From: Russ Allbery
Date: Tue, 22 Jun 1999 00:00
Date: Tue, 22 Jun 1999 00:00
43 lines
2770 bytes
2770 bytes
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. 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. > 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. 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. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<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-mailReferences:
<slrn7lulmd.2qrt.conradj@fly.is.co.za> <7jobo9$v6e$1@hub.org> <7knqb5$g68$1@newssvr03-int.news.prodigy.com> <ylhfo0mpww.fsf@windlord.stanford.edu> <7koeif$fss$1@newssvr03-int.news.prodigy.com>Show Full Headers
Complete Article Headers
Message-ID: <yl3dzjn5di.fsf@windlord.stanford.edu> Subject: Re: Why is inn-2.2 so slow? Date: Tue, 22 Jun 1999 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <slrn7lulmd.2qrt.conradj@fly.is.co.za> <7jobo9$v6e$1@hub.org> <7knqb5$g68$1@newssvr03-int.news.prodigy.com> <ylhfo0mpww.fsf@windlord.stanford.edu> <7koeif$fss$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-mail X-Deja-AN: 492730883 Organization: The Eyrie Newsgroups: news.software.nntp