Article View: news.software.nntp
Article #38555Re: Submitting to Freenix
From: bill davidsen
Date: Fri, 09 Jul 1999 00:00
Date: Fri, 09 Jul 1999 00:00
51 lines
3191 bytes
3191 bytes
In article <yl673uqpv3.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | bill davidsen <davidsen@tmr.com> writes: | | > Is it a disk issue or a cpu issue? On a single cpu machine the separate | > overchan is not getting a cpu of its own, so that's not why it's faster. | > Something in 2.3 is dog slow relative to 2.2. | | Yes, writing overview. | | Either you make overview dog-slow for readers by making it fast to write, | or you make it nice and fast for readers by spending more time writing it. | No one's yet found a third alternative for INN. | | I really doubt the overview code in INN 2.3 is noticeably slower than | overchan. Perhaps it's because I'm running xferslave? But I can't see why this would make any significant difference looking at the code. The old 1.x was slower because it couldn't use streaming feeds, but that's not an issue here. 2.3 is inherently slower, I think, because now all of innd grinds to a halt for every disk i/o. Instead of doing article accept and overview write in separate processes which can each block. The new code has essentially put all the disk i/o "in series" so that when any i/o takes place the whole process grinds to a halt. In addition, you have two files per group instead of one, more opens and more writes. This is another move in the wrong direction. This is not an insoluble problem, the saito patches to 2.1 ran like the clappers of hell for both accept and read. I regard them as a proof of concept rather than a solution because they didn't work well (for me) with xrefslave, and because recreating overview didn't seem to work properly. The first was a minor code fix, since it worked for about 90% of the articles, and the second was due to putting the overview in the same cycbuffs as the articles, instead of their own cycbuffs. If you are right about the tradeoff between incoming and outgoing overview speed. If reader overview is slow it annoys the readers. If the machine can't accept news as fast as the net generates it there is no current news for the readers at all. -- 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:
<7m5heu$3uai$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:
<7g24e7$ckh$1@info.cs.uofs.edu> <ylr9mko4q2.fsf@windlord.stanford.edu> <7m2ot6$1a9u$1@newssvr03-int.news.prodigy.com> <yl673uqpv3.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <7m5heu$3uai$1@newssvr03-int.news.prodigy.com> Subject: Re: Submitting to Freenix Date: Fri, 09 Jul 1999 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <7g24e7$ckh$1@info.cs.uofs.edu> <ylr9mko4q2.fsf@windlord.stanford.edu> <7m2ot6$1a9u$1@newssvr03-int.news.prodigy.com> <yl673uqpv3.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: 499211275 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr03-int.news.prodigy.com 931547422 129362 199.4.137.118 (9 Jul 1999 19:10:22 GMT) Organization: TMR Associates, Schenectady NY NNTP-Posting-Date: 9 Jul 1999 19:10:22 GMT Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com