Article View: news.software.nntp
Article #18247Re: INN Performance Patch
From: Ugly Boy
Date: Wed, 04 Jun 1997 00:00
Date: Wed, 04 Jun 1997 00:00
40 lines
2444 bytes
2444 bytes
On Tue, 3 Jun 1997, Jeff Garzik wrote:
> This patch adds *two* caches to INN 1.5.1. It adds a pre-commit L1
> cache, since they're all the rage
>
> Precommit cache: 606713 lookups, 188485 hits
>
> The L1 precommit cache simply stores hashed msg ids in a 4096-elem array
> after an IHAVE or TAKETHIS. The next IHAVEs or CHECKs that search for
> the msg id will be refused.
I have to wonder about this -- while it certainly is of benefit to
refuse following references to an article which is in the process of
being offered (are CHECKs included as well as IHAVE or TAKETHIS?) where
bandwidth is concerned, there always remains the possibility that a
transfer will fail for any of a number of reasons.
INN will tell the other side to try again later if an article is in
transit, and this is quite effective, as in my daily news reports I see I
spool a good number of articles for later offering, with an increased
number of spoolings for larger articles, for peers which normally keep up
without problems -- even to the point where many more articles are
deferred than actually accepted+refused+rejected.
I personally would play it safe and give a 431/436 code to the other
peers offering the same article, so it will be refused later after the
transfer actually is successful. Otherwise you run the risk of missing an
article entirely if all your peers offer it simultaneously and the one
which actually is chosen for the honors drops the ball.
On the other hand, you make the sending site do a bit of extra work
spooling the article, unspooling it, and offering it again... Life sucks.
Just a thought...
Barry Bouwsma, Radio Praha newsadmin
MZLU Brno CZ
Technical Details
Message-ID:
<Pine.BSF.3.96.970604010244.3585A-100000@super-xenu.radio.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:
<5mt7et$s52$1@turing.mathworks.com> <5mtdlr$ndu$1@hammer.msfc.nasa.gov> <82bu5ogp8s.fsf@manic.eecs.umich.edu> <5n15ar$9md$1@drum.msfc.nasa.gov> <33948068.4F305FB8@spinne.com>Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.96.970604010244.3585A-100000@super-xenu.radio.cz> Subject: Re: INN Performance Patch Date: Wed, 04 Jun 1997 00:00:00 +0000 From: Ugly Boy <dogface@Radio.CZ> References: <5mt7et$s52$1@turing.mathworks.com> <5mtdlr$ndu$1@hammer.msfc.nasa.gov> <82bu5ogp8s.fsf@manic.eecs.umich.edu> <5n15ar$9md$1@drum.msfc.nasa.gov> <33948068.4F305FB8@spinne.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: 245931808 Organization: Bag Boys Unite Reply-To: ag786@yfn.ysu.edu Newsgroups: news.software.nntp