🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37160

Re: Submitting to Freenix

#37160
From: barry (there is no barry)
Date: Wed, 28 Apr 1999 00:00
60 lines
3861 bytes
On Tue, 27 Apr 1999, Brad Knowles wrote:

> > I can't explain why, but it seems that the latency increases depending
> > on the size of the message.  And no linearly either.
> 
>     That's a really good question.  I wish someone (with more knowledge of
> how TCP/IP works than I have) would look at this closely and help us
> figure out just what exactly is going on.

Bah, there's a lot more than TCP/IP to think about.  These are
sites that are heavily backlogged, no?  Presumably running INN
and writing to a conventional spool?

More things to consider, the size of the receiving buffer, or
how much data is available to innd on each cycle of the select
loop.  If the peer is receiving both small and large articles
simultaneously over multiple connections and is backlogged, it
will have channels where several small articles are waiting to
be written to the spool during the time it takes to get each
of several parts of the larger articles by the select loop.
Those articles being written are going to slow down reception
of the larger articles.

Look at your peer's stats, if they are available, to see where
that peer is bogged down.  It's probably in the writes to the
spool, with no idle time.  If not, then you are seeing some
other problem, perhaps network-related (some horrible awful
disgusting misconfiguration of a switch, or perhaps a network
with so bad packet loss so that while the smaller articles can
get in without too many retries, the larger ones hit too many
potholes), or perhaps a spool that is a bit too optimized for
writing of lots of smaller articles but falls behind when
writing the increasing amount of larger data -- often you see
one optimize for writing lots of small scattered files, which
also works well for reading back the larger articles, kinda
matching the distribution of articles vs. readership.

What you might see when the small article backlogs go away is
that the larger articles go a bit more quickly.  In fact, if
you are the sole feeder to that site and you only queue the
smaller articles, I bet you'll see the larger articles going
at a few per second or so, while when they are competing with
the smaller articles, it takes many seconds to minutes to get
the larger ones delivered.

At this point, I'd say that TCP/IP is unlikely to play much of
a role (but you do want to increase the receive buffer size),
with the physical spool I/O affecting transfer rates far more.
And if your peer is operating at 100% capacity, you'll have to
expect to see some stuff being thrown away.

Nevertheless, by separating the articles to a poorly-performing
peer, you can prioritize the more important hierarchies, and the
smaller articles, and also give a best-shot feed of what remains
so that the articles we care most about for Usenet don't fall
by the wayside.  And best of all, your Freenix Rankness will go
up (as mine falls they way it should)


Technical Details
Message-ID: <Pine.LNX.4.05.9904280847230.14775-100000@penguin.mendelu.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-mail
References: <7g24e7$ckh$1@info.cs.uofs.edu> <brad-2704991503430001@brad.techos.skynet.be> <7g4soa$p7e$1@info.cs.uofs.edu> <brad-2704992217490001@brad.techos.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.05.9904280847230.14775-100000@penguin.mendelu.cz>
Subject: Re: Submitting to Freenix
Date: Wed, 28 Apr 1999 00:00:00 +0000
From: "barry (there is no barry)" <barry@vszbr.MISMATCH!>
References: <7g24e7$ckh$1@info.cs.uofs.edu> <brad-2704991503430001@brad.techos.skynet.be> <7g4soa$p7e$1@info.cs.uofs.edu> <brad-2704992217490001@brad.techos.skynet.be>
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: 472009877
Sender: news@news.muni.cz (News Admin)
X-Nntp-Posting-Host: penguin.mendelu.cz
X-Sender: barry@penguin.mendelu.cz
Content-Type: TEXT/PLAIN; charset=US-ASCII
Organization: Er, can I start from the beginning again?
Mime-Version: 1.0
Newsgroups: news.software.nntp