🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15767

NNTP performance and NNTPRelay

#15767
From: News Admin Maxwell
Date: Tue, 11 Mar 1997 00:00
131 lines
7374 bytes

I posted earlier about trying to benchmark news performance, particularly
asking if there are any tools out there for trying to measure article
latency.

In any case, I hacked a bit on tcpdump, and then used grep and friends to
pull out some data.  I thought that some folks might be interested in the
results.  Here are 2 packet traces from news.maxwell.syr.edu (you'll want a
wide window):

21:48:08.380487 news.maxwell.syr.edu.nntp >
cpk-news-hub1.bbnplanet.com.45611: tcp 38 {238
<3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.425031 news.maxwell.syr.edu.nntp >
cpk-news-hub1.bbnplanet.com.45611: tcp 38 {239
<3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.426977 news.maxwell.syr.edu.mciautoreg > news-peer.gsl.net.nntp:
tcp 40 {ihave <3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.427095 news.maxwell.syr.edu.3003 > wedge.sfu.ca.nntp: tcp 40
{ihave <3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.427192 news.maxwell.syr.edu.3040 > synthemesc.insync.net.nntp: tcp
40 {ihave <3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.428830 news.maxwell.syr.edu.1748 > news.sgi.com.nntp: tcp 40
{ihave <3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.428918 news.maxwell.syr.edu.4973 > news.cis.ohio-state.edu.nntp:
tcp 40 {ihave <3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.429003 news.maxwell.syr.edu.2925 > news.ntr.net.nntp: tcp 40
{ihave <3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.429599 news.maxwell.syr.edu.3017 > europa.clark.net.nntp: tcp 40
{ihave <3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.431272 news.maxwell.syr.edu.2986 > metro.atlanta.com.nntp: tcp 40
{ihave <3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.431387 news.maxwell.syr.edu.2988 > 207.244.0.3.nntp: tcp 40 {ihave
<3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.431481 news.maxwell.syr.edu.1251 > kafka.radio.cz.nntp: tcp 40
{ihave <3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.435431 news.maxwell.syr.edu.2473 > news-xfer.netaxs.com.nntp: tcp
40 {ihave <3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.435584 news.maxwell.syr.edu.1037 > feed1.news.erols.com.nntp: tcp
40 {ihave <3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.437777 news.maxwell.syr.edu.3001 > newsfeed.worldnet.att.net.nntp:
tcp 40 {ihave <3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:08.437878 news.maxwell.syr.edu.2826 >
news-spur1.maxwell.syr.edu.nntp: tcp 40 {ihave
<3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:29.497299 news.maxwell.syr.edu.3096 > usenet65.supernews.com.nntp:
tcp 40 {ihave <3324B7DA.4D57@nospam.nwark.com>}  (DF)
21:48:49.257330 news.maxwell.syr.edu.3124 > arclight.uoregon.edu.nntp: tcp
40 {ihave <3324B7DA.4D57@nospam.nwark.com>}  (DF)

the first is us telling cpk we want it (238), next, less then a 10th of a
second later, we say "got it" (239), then within 2/100ths of a second, we
offer it to 14 other hosts.  (We're currently running with ihave's only on
outgoing feeds as part of an experiment).

21:48:19.745237 news.maxwell.syr.edu.nntp >
cpk-news-hub1.bbnplanet.com.45614: tcp 32 {238 <331C9D82.6F31@slonet.org>} 
(DF)
21:48:19.977543 news.maxwell.syr.edu.nntp >
cpk-news-hub1.bbnplanet.com.45614: tcp 32 {239 <331C9D82.6F31@slonet.org>} 
(DF)
21:48:20.015246 news.maxwell.syr.edu.3008 > newsfeed.worldnet.att.net.nntp:
tcp 34 {ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.016826 news.maxwell.syr.edu.4973 > news.cis.ohio-state.edu.nntp:
tcp 34 {ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.016931 news.maxwell.syr.edu.3082 > feed1.news.erols.com.nntp: tcp
34 {ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.017017 news.maxwell.syr.edu.2442 > news-xfer.netaxs.com.nntp: tcp
34 {ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.018366 news.maxwell.syr.edu.1745 > news.sgi.com.nntp: tcp 34
{ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.018483 news.maxwell.syr.edu.2906 > news.ntr.net.nntp: tcp 34
{ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.018570 news.maxwell.syr.edu.prospero-np > news-in1.UU.NET.nntp:
tcp 34 {ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.019944 news.maxwell.syr.edu.3017 > europa.clark.net.nntp: tcp 34
{ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.020433 news.maxwell.syr.edu.1557 > news-peer.gsl.net.nntp: tcp 34
{ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.020996 news.maxwell.syr.edu.2866 > wedge.sfu.ca.nntp: tcp 34
{ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.021495 news.maxwell.syr.edu.2386 > spool2.news.idt.net.nntp: tcp
34 {ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.022009 news.maxwell.syr.edu.robcad-lm > news-in3.UU.NET.nntp: tcp
34 {ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.022561 news.maxwell.syr.edu.2934 > kafka.radio.cz.nntp: tcp 34
{ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.023112 news.maxwell.syr.edu.3053 > news-in2.UU.NET.nntp: tcp 34
{ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.023577 news.maxwell.syr.edu.2826 >
news-spur1.maxwell.syr.edu.nntp: tcp 34 {ihave <331C9D82.6F31@slonet.org>} 
(DF)
21:48:20.024233 news.maxwell.syr.edu.3038 > metro.atlanta.com.nntp: tcp 34
{ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.027551 news.maxwell.syr.edu.nntp > spool2.news.idt.net.51163: tcp
32 {438 <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.340405 news.maxwell.syr.edu.nntp > 204.59.152.221.46794: tcp 32
{438 <331C9D82.6F31@slonet.org>}  (DF)
21:48:20.341825 news.maxwell.syr.edu.2908 > 207.244.0.3.nntp: tcp 34 {ihave
<331C9D82.6F31@slonet.org>}  (DF)
21:48:20.643251 news.maxwell.syr.edu.3017 > europa.clark.net.nntp: tcp 34
{ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:21.085167 news.maxwell.syr.edu.2970 > camel3.mindspring.com.nntp: tcp
34 {ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:22.917998 news.maxwell.syr.edu.netview-aix-1 >
news-out.visi.com.nntp: tcp 34 {ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:23.099126 news.maxwell.syr.edu.nntp > news.EU.net.32320: tcp 32 {438
<331C9D82.6F31@slonet.org>}  (DF)
21:48:24.034830 news.maxwell.syr.edu.3047 > dispatch.news.demon.net.nntp:
tcp 34 {ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:24.064660 news.maxwell.syr.edu.3040 > synthemesc.insync.net.nntp: tcp
34 {ihave <331C9D82.6F31@slonet.org>}  (DF)
21:48:36.231086 news.maxwell.syr.edu.1117 >
bsd.fs.bauing.th-darmstadt.de.nntp: tcp 34 {ihave
<331C9D82.6F31@slonet.org>}  (DF)

Another 238, 239, offer sequence.  This time we re-offer the article to 17
hosts within .05 seconds of reception, with the first offer coming .04
seconds later.

The nice part about this testing is that it is not invasive.  I hope to
write some tools to automate the process of parsing and producing stats on
offering.  If anyone is interested in the tcpdump hacks, I'd be happy to
post them (the hack was trivial).

-Chris

More info on NNTPRelay can be found at http://nntprelay.maxwell.syr.edu

Technical Details
Message-ID: <01bc2e4d$feabe950$5c88e680@blaze>
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

Show Full Headers
Complete Article Headers
Message-ID: <01bc2e4d$feabe950$5c88e680@blaze>
Subject: NNTP performance and NNTPRelay
Date: Tue, 11 Mar 1997 00:00:00 +0000
From: "News Admin @ Maxwell" <news@maxwell.syr.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: 224729589
Distribution: inet
Organization: Syracuse University, Syracuse, NY (USA)
Newsgroups: news.software.nntp