Thread View: news.software.nntp
23 messages
23 total messages
Started by Kurt W. Brecheisen
Tue, 02 Apr 1996 00:00
UUNET lagging (again)?
Author: Kurt W. Brecheisen
Date: Tue, 02 Apr 1996 00:00
Date: Tue, 02 Apr 1996 00:00
14 lines
734 bytes
734 bytes
Does anyone else out there have problems with UUNET's newsfeed? Whatever we do, the news is constantly 3 days behind. We are running on a Sun 1040, SCSI, full T1. Any other options? Thanks, kurt@gti.net
Re: UUNET lagging (again)?
Author: Jerry Carlin
Date: Tue, 02 Apr 1996 00:00
Date: Tue, 02 Apr 1996 00:00
32 lines
1911 bytes
1911 bytes
In article <4js4jb$n2o@valhalla.comshare.com>, Mike Pelletier <mikep@valhalla.comshare.com> wrote: >In article <4jrict$93d@gti.gti.net>, Kurt W. Brecheisen <kurt@gti.net> wrote: >>Does anyone else out there have problems with UUNET's newsfeed? Whatever >>we do, the news is constantly 3 days behind. We are running on a Sun >>1040, SCSI, full T1. >... >What we wound up with is a 35 megabyte out.going list of articles on our >ISP, and when we got the feed started again, it was having a very >hard time getting caught up trying to send one article at a time off >the top of this list of 500,000 articles. >... We've just been going round-and-round with UUNet over the same issue. Once you fall behind in their news scheme, I don't think you can ever catch up. They switched us to another machine leaving the first to 'drain' and suddenly we're back up to a decent number. Also, not all machines are created equal. They have some news machines that are better configured for speed than others. I would ask to be moved to a newer feed and tell them to allow the old one to feed stored news. Jerry -- Jerry M. Carlin (510) 649-3789 jerry@tcsi.com (formerly tcs.com) "You look for battles in the wrong place. The true test of a warrior is not without - it is within." -- Worf, "Heart of Glory", stardate 41503.7
Re: UUNET lagging (again)?
Author: Mike Pelletier
Date: Tue, 02 Apr 1996 00:00
Date: Tue, 02 Apr 1996 00:00
36 lines
2407 bytes
2407 bytes
In article <4jrict$93d@gti.gti.net>, Kurt W. Brecheisen <kurt@gti.net> wrote: > >Does anyone else out there have problems with UUNET's newsfeed? Whatever >we do, the news is constantly 3 days behind. We are running on a Sun >1040, SCSI, full T1. You may be suffering from the same problem that I just fixed for our news service. About a month ago, our incoming newsfeed was down for five days due to a transition between Usenet administrators -- things were pretty hairy and we didn't notice it until it got pretty obvious to the end users. What we wound up with is a 35 megabyte out.going list of articles on our ISP, and when we got the feed started again, it was having a very hard time getting caught up trying to send one article at a time off the top of this list of 500,000 articles. Once we figured out what exactly the problem was, we stopped the feed and copied the last 100,000 lines out of the 500,000 into another file, started an innxmit on that, put the rest into another file and started an innxmit on *that*, and started yet another innxmit on the newly arriving articles, and set our ISDN bandwidth up to 4 lines for 224k (don't ask). Since INN is designed to handle multiple feeds efficiently, the one-at-a-time rate of slightly more than one article per second went up to about 4-5 per second, and over the next 24-48 hours, the entire backlog of articles was sent over to our server. So, your three day backlog may be due to something similar occuring on UUnet. If they can split up the outgoing aricle lists and start more than one transmission process, the backlog has a much better chance of finishing off. Of course, I'm not sure what your bandwidth is, which may play a significant role, but all of us have our crosses to bear, eh? ;-) -Mike Pelletier.
Re: UUNET lagging (again)?
Author: T. William Wells
Date: Wed, 03 Apr 1996 00:00
Date: Wed, 03 Apr 1996 00:00
25 lines
1642 bytes
1642 bytes
In article <4jrict$93d@gti.gti.net>, Kurt W. Brecheisen <kurt@gti.net> wrote: : Does anyone else out there have problems with UUNET's newsfeed? Whatever : we do, the news is constantly 3 days behind. We are running on a Sun : 1040, SCSI, full T1. : : Any other options? Uunet doesn't run stream mode. Even with a full T1, you'll have trouble keeping up. This is especially true if you get more than one feed, as the delays in innd keep going up. If you are running any streaming feeds at the same time, you're totally screwed; innd has a design defect that makes stream mode destroy the response time for all other feeds. My current bandaid is an NNTP daemon that UUNET connects to on a different port (they can add -P <port> to the feed), which does a history lookup for each incoming article and then writes them into batch files for rnews to process. This still isn't satisfactory as if one has streaming feeds rnews even locally can't keep up! What's really needed is better behavior from innd; however, as I said, it's not a bug causing this, it's a design error so there's no quick fix.
Re: UUNET lagging (again)?
Author: Clayton O'Neill
Date: Thu, 04 Apr 1996 00:00
Date: Thu, 04 Apr 1996 00:00
32 lines
2207 bytes
2207 bytes
T. William Wells (bill@twwells.com) wrote: : Uunet doesn't run stream mode. Even with a full T1, you'll have : trouble keeping up. This is especially true if you get more than : one feed, as the delays in innd keep going up. If you are running : any streaming feeds at the same time, you're totally screwed; : innd has a design defect that makes stream mode destroy the : response time for all other feeds. : My current bandaid is an NNTP daemon that UUNET connects to on a : different port (they can add -P <port> to the feed), which does a : history lookup for each incoming article and then writes them into : batch files for rnews to process. This still isn't satisfactory as : if one has streaming feeds rnews even locally can't keep up! : What's really needed is better behavior from innd; however, as I : said, it's not a bug causing this, it's a design error so there's : no quick fix. 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. We have run into the problem you're describing, but our solution was to put the history 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. -- ------------------------------------------------------------------------- Clayton O'Neill Business--> Premier One Inc whatever@oneill.net clayton@premier.net http://www.oneill.net <--Personal http://www.premier.net
Re: UUNET lagging (again)?
Author: 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.
Re: UUNET lagging (again)?
Author: 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
Re: UUNET lagging (again)?
Author: Steve Leapline
Date: Fri, 05 Apr 1996 00:00
Date: Fri, 05 Apr 1996 00:00
31 lines
1328 bytes
1328 bytes
Yes! We use UUNET also over a full T1. We have a dedicated Sparc 5 with
64MB of memory and it just continues to fall behind. We are running
cnews. UUNET told us that 75% of the time, which averaged about 600ms per article,
is being spent on "article acks". We too would appreciate any help.
In article <4jrict$93d@gti.gti.net>, kurt@gti.net (Kurt W. Brecheisen) writes:
>
>
>Does anyone else out there have problems with UUNET's newsfeed? Whatever
>we do, the news is constantly 3 days behind. We are running on a Sun
>1040, SCSI, full T1.
>
>Any other options?
>
>Thanks,
>
>kurt@gti.net
>
--
Steve Leapline
>>>> FYI Networks <<<<
412-453-2232
http://www.fyi.net
Re: UUNET lagging (again)?
Author: Kachun Lee
Date: Sat, 06 Apr 1996 00:00
Date: Sat, 06 Apr 1996 00:00
32 lines
2182 bytes
2182 bytes
In article <4jvpv2$bq1@hunter.premier.net>, coneill@jezebel.oneill.net says... > >T. William Wells (bill@twwells.com) wrote: >: Uunet doesn't run stream mode. Even with a full T1, you'll have >: trouble keeping up. This is especially true if you get more than >: one feed, as the delays in innd keep going up. If you are running >: any streaming feeds at the same time, you're totally screwed; >: innd has a design defect that makes stream mode destroy the >: response time for all other feeds. > >: My current bandaid is an NNTP daemon that UUNET connects to on a >: different port (they can add -P <port> to the feed), which does a >: history lookup for each incoming article and then writes them into >: batch files for rnews to process. This still isn't satisfactory as >: if one has streaming feeds rnews even locally can't keep up! > >: What's really needed is better behavior from innd; however, as I >: said, it's not a bug causing this, it's a design error so there's >: no quick fix. > >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. We have run >into the problem you're describing, but our solution was to put the history >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. I think Mr. Wells was referring to in-coming feeds, while you were out-going. Our UUNET in-coming feeds is verrrrrry slow too.
Re: UUNET lagging (again)?
Author: Clayton O'Neill
Date: Sun, 07 Apr 1996 00:00
Date: Sun, 07 Apr 1996 00:00
29 lines
2149 bytes
2149 bytes
Kachun Lee (kachun@zippo.com) wrote: [Stuff on why streaming slows you down deleted] : >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. We have run : >into the problem you're describing, but our solution was to put the history : >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. : I think Mr. Wells was referring to in-coming feeds, while you were out-going. : Our UUNET in-coming feeds is verrrrrry slow too. I am referring to incoming feeds. I'm not going to argue that you're UUNet feed isn't slow, because I'm had it happen to me. But if they move you to another machine and it's still happening then you need to start looks at the stats they give you and doing some system analysis. At worst, you'll be right and be able to prove to them that they're wrong. My solution was to set up another news server and cross-feed everything. When I showed UUNet the stats saying the server was accepting 18-20 arts/sec, they switched us to another machine. -- ------------------------------------------------------------------------- Clayton O'Neill Business--> Premier One Inc whatever@oneill.net clayton@premier.net http://www.oneill.net <--Personal http://www.premier.net
Re: UUNET lagging (again)?
Author: Operator
Date: Tue, 09 Apr 1996 00:00
Date: Tue, 09 Apr 1996 00:00
23 lines
1702 bytes
1702 bytes
I was thinking that a file system that used a hash table to store filenames & locations would be a big win in this environment as is would take directory search time way down..Anyone have thoughts on this before I try to code something up and see how well it works? -Luke T. William Wells (bill@twwells.com) wrote: : There are two interacting effects that make streaming a problem : here. First is that, as the size of the newsfeed grows, the time : needed to process directories (for article creation) goes up. When : I last did the numbers, it required around 64K of I/O to write the : average article, only 12Kish of which was article time. This can : only get worse, as the time spent searching directories is : (theoretically, though not actually) O(n**2) in the newsfeed size. : Thus, even without streaming, the time spent for each protocol is : going up with time, and faster than linearly with the size of the : newsfeed. This is a problem that'll have to be addressed fairly : soon but it isn't yet critical.
Re: UUNET lagging (again)?
Author: T. William Wells
Date: Tue, 09 Apr 1996 00:00
Date: Tue, 09 Apr 1996 00:00
126 lines
6495 bytes
6495 bytes
In article <4k434i$1ie@hunter.premier.net>,
Clayton O'Neill <coneill@news.premier.net> wrote:
: 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?
Probably with *really* fast disks. :-)
: : 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?
It's one of those OS's that balances VM againsg buffers, so this
isn't the right question. It *looks* like it's giving about 4M to
plain disk buffers, out of 64M. This is consistent with the disk
activity, which is a small fraction of my maximum disk bandwidth.
There _is_ one new factor to take into account....I discovered
that someone is trying to crack my systems. One of their attacks
involved infinite nntp syn packets to my server, which definitely
slowed down its network access. Having adjusted my router to
block them, my server has been doing much better at receiving
data....it's still having trouble *filing* it, though.... (For
those wondering; it appears to be an IP spoof attack; the dips
didn't bother to check that my internal network addresses are
blocked at my router....)
: 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.
That's exactly right.
: You're still having to undergo the
: load from taking the articles in the innd process, just from localhost, not
: your news peers.
Suppose that I have two I/O streams running into a single server.
The first is a lock-step protocol; the second is any other type
of protocol. Suppose further that each of these has zero network
and client times so that there is always data available to
process. Under those conditions, processing goes like this:
1 receive data from lock-step protocol
2 process data from lock-step protocol
3 send reply for the lock-step protocol
4 receive data from other protocol
5 process data from other protocol
6 send reply for the other protocol
1' receive data from lock-step protocol
The cycle time for the lock-step protocol is strictly dependent
on the time in steps 4-6, as the server must do all the processing
for the other protocol before it can get back to the lock-step
protocol.
In the real world, of course, there will be non-zero network time
in the lock-step protocol and so long as steps 4-6 take less time
than this, the other protocol won't affect the lock-step protocol
at all. But if it takes longer, that extra time will directly
affect the cycle time for the lock-step protocol.
(Also in the real world, not all streams have data available at
one time, so the delay doesn't happen on all cycles or for the
same amount of time.... It's still there, though.)
There are two interacting effects that make streaming a problem
here. First is that, as the size of the newsfeed grows, the time
needed to process directories (for article creation) goes up. When
I last did the numbers, it required around 64K of I/O to write the
average article, only 12Kish of which was article time. This can
only get worse, as the time spent searching directories is
(theoretically, though not actually) O(n**2) in the newsfeed size.
Thus, even without streaming, the time spent for each protocol is
going up with time, and faster than linearly with the size of the
newsfeed. This is a problem that'll have to be addressed fairly
soon but it isn't yet critical.
The other effect is that, since streaming works by queuing a lot
of lookups, the impact on the lock-step protocol is immense. Let's
take a simplified example. Suppose that the streaming protocol
sends 10 packets at a time and that each packet takes 10ms to
process. Suppose that the network round-trip time is 50ms.
If one weren't using streaming at all, the 10ms processing time
would be overlapped with the 50ms network time -- you wouldn't see
it. Your lock-step protocol would be strictly limited by its own
network and processing times.
However, if you were using streaming, 9 of 10 cycles would be
exactly as before, because you're still stuck with the network
delays. But that tenth cycle would be taking 50ms of network delay
-- and 100ms of processing time. Thus that tenth cycle would be
50ms longer. Averaged out, that would add 5ms to each processing
cycle of the lock-step protocol. Note that we're doing exactly the
same work but that the lock-step protocol is now slower than it
used to be.
The only thing wrong with this analysis is that it's much too
generous to the streaming protocol; since a lock-step protocol
just barely keeps up with a full feed anyway, the additional
delays are catastrophic, especially if you have multiple stream
feeds.
This isn't the only effect, BTW. Any time someone has to connect,
they have to wait until the roundrobin loop gets around to them.
Since it's entirely possible to have around a hundred articles to
be processed each time around, this can take a _long_ time. And
this, too, I've seen.
Anyway.... what my solution has done is to move the lock-step
protocol to a separate server, so the delay from the others
doesn't get in the way of its processing loop. This, in fact,
_increases_ my disk activity, which is something of a problem,
but at least the data gets _in_.
Re: UUNET lagging (again)?
Author: Michael Wells
Date: Wed, 10 Apr 1996 00:00
Date: Wed, 10 Apr 1996 00:00
9 lines
1139 bytes
1139 bytes
I've just set up a news server with INN on a linux machine with a feed from UUNET. How can I tell if it is lagging? Our load hovers between 1 and 2 except when expiring. I'm receiving the "big8" groups, including alt. My router statistics peaked with incoming traffic right after I had uunet turn on alt.*, but have since leveled out. I can't really tell where any lagging is, since messages could be coming from anywhere. I'm new at this, can anyone help?
Re: UUNET lagging (again)?
Author: Jerry Carlin
Date: Wed, 10 Apr 1996 00:00
Date: Wed, 10 Apr 1996 00:00
18 lines
1363 bytes
1363 bytes
In article <4kgg6b$a9s@falcon.tricities.net>, Michael Wells <mike@tricities.net> wrote: >I've just set up a news server with INN on a linux machine with a feed >from UUNET. How can I tell if it is lagging?... The way I used is to check another service to see if all the articles from my favorite couple of newsgroups was showing up on my machine. Also you should be getting over 100K articles per day if my memory is accurate. UUNet can also tell you if you have a backlog with them which is one data point. -- Jerry M. Carlin (510) 649-3789 jerry@tcsi.com (formerly tcs.com) "You look for battles in the wrong place. The true test of a warrior is not without - it is within." -- Worf, "Heart of Glory", stardate 41503.7
Re: UUNET lagging (again)?
Author: T. William Wells
Date: Thu, 11 Apr 1996 00:00
Date: Thu, 11 Apr 1996 00:00
18 lines
1519 bytes
1519 bytes
In article <4keu7k$fav@eri.erinet.com>, Operator <root@eri.erinet.com> wrote: : I was thinking that a file system that used a hash table to store : filenames & locations would be a big win in this environment : as is would take directory search time way down..Anyone have : thoughts on this before I try to code something up and see how well it : works? I wouldn't bother. Hash table directories are fine if you don't ever have to do linear scans -- or "find all entries in directory X". But once you have to do anything sequential, you're really screwed. A better approach is simply to _have_ smaller directories. E.g., instead of storing each article of a newsgroup in one directory, create subdirectories instead, whose names are made from the higher order digits of the article number. This is the smallest change I can think of that would solve this particular problem.
Re: UUNET lagging (again)?
Author: T. William Wells
Date: Thu, 11 Apr 1996 00:00
Date: Thu, 11 Apr 1996 00:00
29 lines
1944 bytes
1944 bytes
In article <4k434i$1ie@hunter.premier.net>, Clayton O'Neill <coneill@news.premier.net> wrote: : 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). I did some looking and this may well be part of the problem. My I/O stats show that my disks can, generally, do only about 75-80 seeks per second. That's about 12ms seek time and my disks are, I think, a bit faster than that but not all that much faster. I have three disks, one for the system (including history), one for alt, and one for all the other newsgroups. Overview files are distributed throughout the spool directory. What I'm seeing are about 20 seeks/second on the system disk, 30 on the alt disk, and about 75 on the other disk. I am, to say the least, a bit baffled as to how the number of seeks could get so high on that disk. Assuming it gets 2/3 of the articles and that articles are arriving at 1.5/second, that's about one article per second. I really wouldn't expect to see 75 seeks just to file a single article. Even if one counts the overview accesses! So my expectations are bogus. Or the program (systat on FreeBSD) is bogus. Or something I don't understand is happening. Any thoughts, anyone?
Re: UUNET lagging (again)?
Author: Mike Pelletier
Date: Thu, 11 Apr 1996 00:00
Date: Thu, 11 Apr 1996 00:00
47 lines
3036 bytes
3036 bytes
In article <4kgg6b$a9s@falcon.tricities.net>,
Michael Wells <mike@tricities.net> wrote:
>I've just set up a news server with INN on a linux machine with a feed
>from UUNET. How can I tell if it is lagging? Our load hovers between 1
>and 2 except when expiring. I'm receiving the "big8" groups, including
>alt. My router statistics peaked with incoming traffic right after I
>had uunet turn on alt.*, but have since leveled out. I can't really tell
>where any lagging is, since messages could be coming from anywhere.
>I'm new at this, can anyone help?
The way to do this is to look at the last few lines of your history file:
<4kj74r$e0g@tribune.usask.ca> 829237645~-~829235163 rec.autos.tech/18566..
<4kj60v$dgm@news.nstn.ca> 829237645~-~829233722 rec.games.trading-ca..
<01I3F64IJ3AMHSKLYQ@TUDSV1.TUDELFT.NL> 829237645~-~829234686 bit.listserv..
<4kiqqc$moj@pigdog.topend.com.au> 829237645~-~829222540 news.newuser..
The middle field is date information -- the number on the left,
829237645, is the date that the article arrived on my server (for the last
few lines, it'll be "now" usually, unless your feed is stopped), and the
number on the right, 829222540, is the date the article was posted.
The difference between these two numbers is the number of seconds it
took since the time the article was posted to arrive at my machine.
Some machines have a "-r" option to the date command, so "date -r 829222540"
will give you:
Thu Apr 11 07:35:40 EDT 1996
In the above example from my history file,
<4kj74r$e0g@tribune.usask.ca> : 2,482 seconds = 41.4 minutes
<4kj60v$dgm@news.nstn.ca> : 3,923 seconds = 65.4 minutes
<01I3F64IJ3AMHSKLYQ@TUDSV1.TUDELFT.NL> : 2,959 seconds = 49.3 minutes
<4kiqqc$moj@pigdog.topend.com.au> : 15,105 seconds = 4 hours, 11.8 minutes
Note the last one came in from Australia, so probably had to make quite a
few hops to get up here to Ann Arbor. Looking at the "Path:" line of that
article, it made about 24 hops, in fact.
When my news server was down for a few days, I started getting articles
from where my feed left off, and the numbers were more like 5 days worth
of seconds as opposed to 1-4 hours. If I'm reading correctly, this is
what some individuals are having happen with their UUnet feed.
-Mike Pelletier.
Re: UUNET lagging (again)?
Author: T. William Wells
Date: Thu, 11 Apr 1996 00:00
Date: Thu, 11 Apr 1996 00:00
10 lines
1095 bytes
1095 bytes
In article <DpM5Fn.2sp@twwells.com>, T. William Wells <bill@twwells.com> wrote: : It's one of those OS's that balances VM againsg buffers, so this : isn't the right question. It *looks* like it's giving about 4M to : plain disk buffers, out of 64M. This is consistent with the disk : activity, which is a small fraction of my maximum disk bandwidth. I thought that was silly of me. Actually, it's giving 4M to hardware buffers; it's more like 38M for disk cache.
Re: UUNET lagging (again)?
Author: -dsr-
Date: Fri, 12 Apr 1996 00:00
Date: Fri, 12 Apr 1996 00:00
28 lines
1731 bytes
1731 bytes
In article <4khfq8$6o4@worf.tcs.com>, jerry@worf.tcs.com (Jerry Carlin) writes: >In article <4kgg6b$a9s@falcon.tricities.net>, >Michael Wells <mike@tricities.net> wrote: >>I've just set up a news server with INN on a linux machine with a feed >>from UUNET. How can I tell if it is lagging?... > >The way I used is to check another service to see if all the articles >from my favorite couple of newsgroups was showing up on my machine. >Also you should be getting over 100K articles per day if my memory >is accurate. UUNet can also tell you if you have a backlog with them >which is one data point. Right. Call them up - 1-800-900-0421 - and state your account number and then require them to transfer you to a news administrator. The random tech support people there can't help you except to transfer you to the news admin. -dsr- -- D.S. Ritter -- require "disclaimer.pl" unless $SPECIFIED; dan@spectra.net Member of the Usenet Cabal Since 1975 [INTX] news, web, sysadm, Guy Who Does Things As Root, UNIX curmudgeon "It's not called the Net of a Million Lies for nothing." -- Vernor Vinge
Re: UUNET lagging (again)?
Author: Christopher Davis
Date: Fri, 12 Apr 1996 00:00
Date: Fri, 12 Apr 1996 00:00
17 lines
1444 bytes
1444 bytes
TWW> == T William Wells <bill@twwells.com> TWW> A better approach is simply to _have_ smaller directories. E.g., TWW> instead of storing each article of a newsgroup in one directory, TWW> create subdirectories instead, whose names are made from the higher TWW> order digits of the article number. This is the smallest change I TWW> can think of that would solve this particular problem. You probably would prefer to use the lower order digits, or when a group breaks a power of 10 you're gonna have one BIIIG directory. Breaking each directory into 10 or 100 subdirectories would be a win, and using the lower order digits means you "fill evenly" as you go. (Kinda stomps on the namei cache I suppose, since each time you're "missing" the most recently used directory... sigh.)
Re: UUNET lagging (again)?
Author: James Brister
Date: Sat, 13 Apr 1996 00:00
Date: Sat, 13 Apr 1996 00:00
15 lines
1175 bytes
1175 bytes
Steve Leapline (steve@fyi.net) wrote: : Yes! We use UUNET also over a full T1. We have a dedicated Sparc 5 with : 64MB of memory and it just continues to fall behind. We are running : cnews. UUNET told us that 75% of the time, which averaged about 600ms per article, : is being spent on "article acks". We too would appreciate any help. Use the streaming mode patches, or run parallel feeds. innfeed, ftp.vix.com:/pri/brister/innfeed-0.7.tar.gz, can do both. It is in beta test at the moment though. James -- James Brister brister@vix.com
Re: UUNET lagging (again)?
Author: T. William Wells
Date: Sat, 13 Apr 1996 00:00
Date: Sat, 13 Apr 1996 00:00
19 lines
1517 bytes
1517 bytes
In article <w43f6ap9vv.fsf@loiosh.kei.com>, Christopher Davis <ckd@loiosh.kei.com> wrote: : TWW> == T William Wells <bill@twwells.com> : : TWW> A better approach is simply to _have_ smaller directories. E.g., : TWW> instead of storing each article of a newsgroup in one directory, : TWW> create subdirectories instead, whose names are made from the higher : TWW> order digits of the article number. This is the smallest change I : TWW> can think of that would solve this particular problem. : : You probably would prefer to use the lower order digits, or when a group : breaks a power of 10 you're gonna have one BIIIG directory. Huh? There's ten digits in the name; use 7 for the directory name and 3 for the file name. No anomalies with this. Even the biggest newsgroups only have order hundred of thousands of entries, so at both levels we're talking 1000 entries.
Re: UUNET lagging (again)?
Author: Alan Brown
Date: Tue, 16 Apr 1996 00:00
Date: Tue, 16 Apr 1996 00:00
24 lines
1600 bytes
1600 bytes
In article <DppICt.5yM@twwells.com>, T. William Wells <bill@twwells.com> wrote: >I am, to say the least, a bit baffled as to how the number of >seeks could get so high on that disk. Assuming it gets 2/3 of the >articles and that articles are arriving at 1.5/second, that's >about one article per second. I really wouldn't expect to see 75 >seeks just to file a single article. Even if one counts the >overview accesses! > >So my expectations are bogus. Or the program (systat on FreeBSD) >is bogus. Or something I don't understand is happening. Any >thoughts, anyone? How many readers are there at the time? AB -- "But you can't say they have arrived to classify your nervous lies What's right, what's not, what may not be. Don't try your tricky tests on me For I won't live in fear my friend - that every day could be my end"
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads