Article View: news.software.nntp
Article #16291Re: Some Diablo questions!
From: Matt Dillon
Date: Tue, 25 Mar 1997 00:00
Date: Tue, 25 Mar 1997 00:00
123 lines
6497 bytes
6497 bytes
:In article <01bc38ca$fd538630$1f8fe680@spring>,
:Chris Sedore <cmsedore@maxwell.syr.edu> wrote:
:>Cracker Buster <luser@Radio.CZ> wrote in article
:><Pine.LNX.3.93.970324214344.6808e-100000@radostne-vanoce.radio.cz>...
:>[...]
:>> Are you sure they're just shoving the articles at you? I would guess
:>> that probably they're getting an affirmative response to a CHECK but by
:...
:>>
:>Note that you do not necessarily need bandwidth lag. If you look at stats
:>for Maxwell (http://nntprelay.maxwell.syr.edu/stats.html), in the top
:>section you'll notice a statistic called "precommit_saves". This is a 25
:>entry (configurable) circular cache of recently 238'd (or 335'd) articles.
:>We implemented this to cut down on this exact problem: we were rejecting
:>articles solely because two (or more) peers had received 238s for the
:>article. This number now runs around 1.6x the number of articles
:...
This, BTW, is a totally awesome way of dealing with the race
problem. I am going to implement something similar in Diablo too.
:>For most of our big peers, we have given up on outgoing streaming
:>entirely--we get 238's at better than 50%, but every article after the
:>first is then rejected. We just use IHAVE. In some rare cases, I've found
:>that actually forcing the connection into NoCheck will generate >90%
:>acceptance rate with small (<4k) articles.
Another interesting statistic, though I worry that peers with
latency would require many parallel connections to make it
efficient. The magic number is still 4 or 5 checks/sec per
incoming feed site so it isn't too bad. I think if a proper
streaming solution can be found, that I would rather stick
with streaming if only for the reduced packet transaction rate
and better isolation (due to tcp windowing) from laggy connections.
:>I'm hoping to work out some auto-tuning code to "open and close" the check
:>size window, maybe even to the point of going to IHAVE in the case of a
:>calculated window of 1.
I'm doing this with diablo's dnewsfeeds based on the number of rejects
it gets. It seems to work pretty well. It's a quick-close-up slow-release
algorithm. However, it might get hung up on destinations which tend
to reject a lot of articles due to newsgroups not matching what they
will accept. I'm not sure what to do about that yet.
:>One other point I'd like to make: The streaming protocol should
:>differentiate between reject (439) and refused. Otherwise calculating when
:>to go in and out of NoCheck is difficult because you do not know whether
:>you're being rejected or refused. I'd like to be able to return 438 in the
:>takethis refused case, though this might muddy other waters, so I'd be
:>happy with a new code, too.
Total agreement. Right now we can't tell with the current streaming
protocol.
:>My impression was that you didn't need 95% to be acked, just that 95% of
:>the
:>acknowledgements received had to be positive.
I personally believe that in a streaming environment, it costs
very little to do a check of every article rather then waste
even a small percentage of network bandwidth on unnecessary article
transfers.
:>> history retention time. My single disk containing the spool, history,
:>> *and* logs is typically only about 10% busy including rereading spooled
:>> backlogged articles to most peers; others are advised not to be so
:>> reckless.
:>
:>We normally do 8-9 million history lookups per day for incoming
:>check/takethis/ihave operations on our Pentium 133/96MB/4 striped SCSI2
:>disks (3 2gb 5400rpm and 1 1gb 5400rpm). We average around 50% CPU
:>utilization and the disks run 20-40% utilized most of the time.
:>
:>-Chris
Ooh.. let me run some stats too.... this is fun! ok, news1.best.com does
around 4.7 million history file lookups a day.
Transmitted Articles Sent Dups Rejs
------- ------- -------
TOTAL 4605781 3942471 679983
Received Articles Accept Test
------- -------
TOTAL 321745 4728639
This is for approximately one day. Most of the transmitted
articles are to customer leased lines. This is about what I
expected... maxwell runs about twice as many full incoming feeds as we
do, and is much better connected. In fact, we pull a significant
fraction of articles from maxwell... they beat out most of our
other feeds most of the time.
Transmitted Articles Sent Dups Rejs Total %Acc/Skip %Full
------------------------------ ------- ------- -------
....... others not listed
news.maxwell.syr.edu 1595 186805 0 188400 0%/ 99% 34%
newsxfer3.itd.umich.edu 3319 180728 0 184047 1%/ 98% 33%
Received Articles Accept Test
------------------------------ ------- -------
....... others not listed
news-out.internetmci.com 3194 234251
moe.thenet.net 4693 196386 1%
news.nacamar.de 13651 132932 3%
bsd.fs.bauing.th-darmstadt.de 15275 300480 3%
newsfeed.nacamar.de 80160 381029 18%
news.maxwell.syr.edu 134204 369657 30%
cliffs.rs.itd.umich.edu 169485 528399 38%
We run with a 5 minute spool, so maxwell and umich are basically within
1 minute of each and probably even less. I've done tests in the past
where I have deliberately lagged incoming feeds from particular hosts
and find that at least 7 of our peers are synchronized within 10 minutes
of each other. For maxwell, I'm sure they have at least 20 that are
synchronized within seconds of each other.
-Matt
Technical Details
Message-ID:
<5h889m$8vv@flea.best.net>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:
<01bc38ca$fd538630$1f8fe680@spring>Show Full Headers
Complete Article Headers
Message-ID: <5h889m$8vv@flea.best.net> Subject: Re: Some Diablo questions! Date: Tue, 25 Mar 1997 00:00:00 +0000 From: dillon@flea.best.net (Matt Dillon) References: <01bc38ca$fd538630$1f8fe680@spring> 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: 228200263 Distribution: inet Organization: BEST Internet Communications, Inc. Newsgroups: news.software.nntp