Article View: news.software.nntp
Article #6326Re: UUNET lagging (again)?
From: T. William Wells
Date: Fri, 05 Apr 1996 00:00
Date: Fri, 05 Apr 1996 00:00
58 lines
3385 bytes
3385 bytes
In article <4jvpv2$bq1@hunter.premier.net>, Clayton O'Neill <coneill@jezebel.oneill.net> wrote: : Funny, I'm running 6-7 feeds, all of which are a mixture of streaming and : non-streaming (nntplink with innxmit picking up the leftovers. The problem is quite real; I've sat there with kernel traces and timing data and I have various statistics programs operating on the history file and on per-site data. Furthermore, in talking with UUNET, it appears that a fair number of people are in my situation. : We have run : into the problem you're describing, but our solution was to put the history : file on to a separate disk. Elementary and already long ago done. Furthermore, the behavior I'm describing is on a lightly loaded server -- essentially no swapping. : file on to a separate disk. You have to try to keep the history file : unfragmented, and as much of it in memory as possible. It is certainly : possible to handle multiple newsfeeds. Let's say that your streaming feeds can buffer 16 check commands in the data stream. That means 16 history lookups all processed at one time. If you get a lot of dups, most those will require a disk access. So, pretend it's a *really* fast disk and try 80ms for the one feed. Now, get six or seven of those in a row and you have a half second of time between hitting any given feed. It'll be on that order, one way or another.... Now, for a streaming feed, that's no big deal -- that half second gets absorbed in the protocol. For a non streaming feed, that half second gets translated into a half second added to each transaction. Even if you aren't getting fully active connections from each stream feed, you'll be introducing a lot of latency in the nonstreaming feeds. You might counter with "but our feeds *do* keep up". I'd expect this to be the case, but your non-streaming feeds don't send you a lot of articles, either because they're small or because they have a lot of dups. If they do keep up and they are also a major source of articles, then I'd have to reconsider my analysis. My situation is exactly the opposite. My streaming feeds are both behind but by non-streaming feed is current. So, my nonstreaming feed catches up to the streaming feed and then starts losing, as the fraction of actual article transmissions goes up. Once it hits a critical point, the time lost to the streaming feeds prevents the nonstreaming feed from becoming more current. Anyway, I've more or less solved this problem; my non-streaming nntp daemon now does a history check on each article and then files each article into a directory. Then I create an innxmit batch for each directory and feed it via innxmit into the server, which happily accepts the articles in stream mode.
Technical Details
Message-ID:
<DpEIuB.E91@twwells.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-mailReferences:
<4jrict$93d@gti.gti.net> <DpAJoH.Cxw@twwells.com> <4jvpv2$bq1@hunter.premier.net>Show Full Headers
Complete Article Headers
Message-ID: <DpEIuB.E91@twwells.com> Subject: Re: UUNET lagging (again)? Date: Fri, 05 Apr 1996 00:00:00 +0000 From: bill@twwells.com (T. William Wells) References: <4jrict$93d@gti.gti.net> <DpAJoH.Cxw@twwells.com> <4jvpv2$bq1@hunter.premier.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-mail X-Deja-AN: 145980841 Distribution: inet Organization: None, Mt. Laurel, NJ Newsgroups: news.software.nntp