Article View: news.software.nntp
Article #6344Re: UUNET lagging (again)?
From: Clayton O'Neill
Date: Fri, 05 Apr 1996 00:00
Date: Fri, 05 Apr 1996 00:00
80 lines
4672 bytes
4672 bytes
T. William Wells (bill@twwells.com) wrote: : In article <4jvpv2$bq1@hunter.premier.net>, : 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. How does UUNet manage with 2-4 incoming boxes? : Elementary and already long ago done. Furthermore, the behavior : I'm describing is on a lightly loaded server -- essentially no : swapping. How much memory do you have for buffers? : 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. I've checked my numbers on our newsserver and here's what I've come up with. We take 6 full & partial newsfeeds. The partials are mainly big8, or (all)-(alt.binaries). Two of the full feeds are streaming only. Yesterday we were offered 516217 articles and took 193697 articles. That's an article offered every 167ms, and one accepted every 436ms. This server is about 70% idle all day long, has about 30-40mb of disk buffers, and isn't anywhere need bottlenecking on the history disk. BTW, the history disk is just a 5400rpm Seagate Hawk. I have seen the bottleneck that you're talking about, but once again, only when I was starved for disk bandwidth (seek times being the limiting facter, not i/o). It appears as if you'd be able to handle at least 2-3 feeds without any problems in my set up and in fact I'm carrying 6, and I just cut a feed for bandwidth reasons. I'm also unclear on how your solution has solved the problem. I don't doubt that it has, I just don't see why. You appear to have just separated the receiving steps and processing steps. You're still having to undergo the load from taking the articles in the innd process, just from localhost, not your news peers. What am I missing here? -- ------------------------------------------------------------------------- Clayton O'Neill Business--> Premier One Inc whatever@oneill.net clayton@premier.net http://www.oneill.net <--Personal http://www.premier.net
Technical Details
Message-ID:
<4k434i$1ie@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-mailReferences:
<4jrict$93d@gti.gti.net> <DpAJoH.Cxw@twwells.com> <4jvpv2$bq1@hunter.premier.net> <DpEIuB.E91@twwells.com>Show Full Headers
Complete Article Headers
Message-ID: <4k434i$1ie@hunter.premier.net> Subject: Re: UUNET lagging (again)? Date: Fri, 05 Apr 1996 00:00:00 +0000 From: coneill@news.premier.net (Clayton O'Neill) References: <4jrict$93d@gti.gti.net> <DpAJoH.Cxw@twwells.com> <4jvpv2$bq1@hunter.premier.net> <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-mail X-Deja-AN: 146001998 Distribution: inet Organization: Premier One Newsgroups: news.software.nntp