🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16453

Re: Checking ihave/check response speed on a server

#16453
From: Ed Klein
Date: Fri, 28 Mar 1997 00:00
66 lines
3100 bytes
In article <5hep9k$8a@epimetheus.algonet.se>, Ragnar Lonn wrote:
>
>I've written a small program that connects to a server's NNTP port
>and issues a bunch of IHAVE or CHECK commands with fabricated
>message-ids I'm pretty sure won't exist. It keeps track of how
>much time is spent sending these commands, waiting for a (or
>several) response/s, and how much time is spent getting the
>response/s, then it quits without sending any articles.

Cyclone comes with a similarly designed utility called "nntpTime"
which sends a bogus article (missing the newsgroup header) to the
other side, and reports the times to connect, return a banner,
respond to IHAVE and take in an article (of a specified size).

So from one of my hubs to another across our backbone (and 9 router
hops):

cam-news-hub1# ../tools/nntpTime -server cpk-news-hub1 -loop 50 -bytes 4000
DNS + Connect: 89 msec
Welcome Message: 18 msec
Average IHAVE Response (50 trys) : 22 msec
Average Article Response (50 x 4107 byte articles): 25 msec

Pretty good numbers.

>The only problem is that when I run my program, results show that
>even my slowest peers seem able to do about 10 lookups per second
>(and I have huge backlogs against these peers). So now I'm wondering
>if there's something I didn't think about when writing this program.

It's not the lookup which hurts sometimes:

cam-news-hub1# ../tools/nntpTime -server One.Of.My.Peers
DNS + Connect: 42 msec
Welcome Message: 122 msec
Average IHAVE Response (1 try) : 95 msec
Average Article Response (1 x 4107 byte articles): 580 msec

It _could_ be a network bandwidth problem, you
might think...

cam-news-hub1# ../tools/nntpTime -server One.Of.My.Peers -bytes 50000
DNS + Connect: 52 msec
Welcome Message: 362 msec
Average IHAVE Response (1 try) : 151 msec
Average Article Response (1 x 50107 byte articles): 1939 msec

...but it could be a disk IO problem.  Hard to
tell.  I suspect in this case, it's the disk, since
this site doesn't catch up at night when the net
is less busy.  Either way - it's the actual
article that's causing the slowness.

Hope this helps,

--Ed

==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==
Ed Klein                           Systems Management and Administration      
eklein@bbnplanet.com                   Network Services - Operations 
(301) 982-4600 ext 124 (vox)                BBN Corporation 
(301) 982-4605  (fax)                 Networking Geek/NewsOverLord 


Technical Details
Message-ID: <slrn5jm5js.97g.eklein@what.bbnplanet.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
References: <5hep9k$8a@epimetheus.algonet.se>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5jm5js.97g.eklein@what.bbnplanet.com>
Subject: Re: Checking ihave/check response speed on a server
Date: Fri, 28 Mar 1997 00:00:00 +0000
From: eklein@what.bbnplanet.com (Ed Klein)
References: <5hep9k$8a@epimetheus.algonet.se>
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: 228980086
Distribution: inet
Organization: BBN Planet
Newsgroups: news.software.nntp