Thread View: news.software.nntp
3 messages
3 total messages
Started by James E. Marke
Sun, 04 Jan 1998 00:00
Full Feed, but not getting all the messages?
Author: James E. Marke
Date: Sun, 04 Jan 1998 00:00
Date: Sun, 04 Jan 1998 00:00
29 lines
1566 bytes
1566 bytes
I am getting what I think is a full News feed from MCI. I noticed yesterday that out of about 500 messages in alt.zen I have only gotten 42. I don't have any errors in any log that I can find. I am running INN 1.5sec2 on a FreeBSD 2.2.5 system. My problem may well be that I am using two 9.1 GB hard drives to hold the news spool. My plans are to get about ten 2 GB scsi-3 drives to replace the 9.1 GB drives if that is the problem. I am not reaching 100% on my line in so it is not lack of bandwidth on my end. Now my questions: 1. How can I tell if I was offered an IHAVE for all the 500 ish messages in alt.zen? 2. How can I tell that my disk i/o is not good enough to take all the messages, and is throwing them away? 3. Anything else it may be? 4. I have 96Megs of Memory on the news machine (running on a pent-pro 150) would more memory make a significant difference. Please e-mail me as my news isn't working 100%! Thanks... Jim...
Re: Full Feed, but not getting all the messages?
Author: Bill Stewart-Cole
Date: Sun, 04 Jan 1998 00:00
Date: Sun, 04 Jan 1998 00:00
121 lines
6427 bytes
6427 bytes
In article <68prm3$r4l$1@server3.triplet.net>, "James E. Marke" <jemstone@triplet.net> wrote: > I am getting what I think is a full News feed from MCI. I noticed yesterday > that out of about 500 messages in alt.zen I have only gotten 42. I don't > have any errors in any log that I can find. I am running INN 1.5sec2 on a > FreeBSD 2.2.5 system. You should probably upgrade to 1.7.2, but I don't know that it has a significant enough performance improvement to fix your problem... >My problem may well be that I am using two 9.1 GB > hard drives to hold the news spool. My plans are to get about ten 2 GB > scsi-3 drives to replace the 9.1 GB drives if that is the problem. News volume runs about 12GB/day. Wash the spam out and you have maybe 9GB/day. I don't know what your logs and news.daily are saying to you, but unless you are expiring stuff in 2 days, you should be running out of space if you are in fact getting everything. >I am > not reaching 100% on my line in so it is not lack of bandwidth on my end. Keep in mind that NNTP is not particularly bandwidth-efficient, so you could easily see a lot of unused bandwidth and still be bandwidth-limited. This is especially true if you are taking a one-channel classical 'IHAVE' feed instead of a multi-channel 'streaming' feed. If you have only one incoming channel and are taking news via IHAVE you spend a large amount of time chatting and waiting for responses from the other end. > Now my questions: > > 1. How can I tell if I was offered an IHAVE for all the 500 ish messages in > alt.zen? By group? I suppose you could, if you got all the message-ID's and are logging every offered article. (which is probably not the case, although you could do it... ) Then it is just 500 log greps... (it's off the top of my head, not a practical solution. Whaddya want for free? :) > 2. How can I tell that my disk i/o is not good enough to take all the > messages, and is throwing them away? Unlikely. An empirical check is to manually offer the server and article and see what sort of latency you have. I don't think INN will ever just drop articles on the floor because the disk is too busy. > 3. Anything else it may be? Feed type. IHAVE feeds, even with multiple channels, are just not up to the current news volume. There are over 500k messages posted daily now, and if the aggregate protocol latency in each IHAVE transaction is 200 ms (not terribly high) you are guaranteed to not get all messages through a single session. An old memory from the time when an IHAVE feed was about to break 56k lines is that an NNTP feed using IHAVE is about 20% efficient on a 56k, and about 5% efficient on a T-1 simply because MOST of the time is taken up saying 'IHAVE <foobar>' and 'Ok' and 'Thanks' and waiting for those responses. Expanding... Streaming feeds got cobbled up in 1994 as a solution to the IHAVE inefficiency problem. They have made the ongoing growth possible. They also make a news server capable of saturating any bandwidth up to the total volume of news, when combined with multi-session feeding. Current news volume can eat 3/4 of a T-1. (simple math: 1.544 Mb/sec * 86400sec/day / 8 bits/byte / 1024 MB/GB =16.28 GB per day on a T-1. News is at 12 GB/day.) What you actually want to do for news therefore depends a lot of your bandwidth. In the past, the protocol acted as a limiter on how much bandwidth news would eat. The streaming multi-channel model doesn't. If you do not have MANY T-1's, you probably cannot get a full feed and still satisfy your other bandwidth needs. It is also important to note that filtering on your end doesn't help at all with the bandwidth issue, because you have to GET that 200MB post of some CD to know that it is 200MB and fodder for dropping. Note as well that in a year you can reasonably expect to need 3 T-1's to handle news volume. This all points at a likely cause of your trouble, unless you are using a multi-channel streaming feed. MCI probably ends each day with a few hundred thousand messages queued for you, which they will (if they have any sense) drop from the queue. Depending on your bandwidth and feed style, you might be able to handle 100k or 200k messages, but if you are relying on IHAVE, you are unlikely to be getting more than 1/3 of news. And enough of this flight of speculative fancy. Suppose you ARE using multichannel streaming feeds. You seem to have a single source. Nothing ordains that MCI is *capable* of providing you everything. Maybe they have disk or cpu or memory or other bottlenecks. It is highly unlikely that you will ever get a perfect "full feed' from any single source, because the very best you can possibly do is get what they accept (which may not be perfect) and in all likelihood you will not quite get everything they get. If you want a "full feed" you definitely want multiple sources. > 4. I have 96Megs of Memory on the news machine (running on a pent-pro 150) > would more memory make a significant difference. That depends. It should handle one user and a multi-source INN full feed system nicely. It won't do well at all with 500 concurrent users. Users are a significant issue for memory use. Back in the dark ages, every user go their own in-memory copy of the active file. With bloated active files, this is usually not true today, but if you aren't using the shared active feature and have a typical ISP-ish active file, 96MB is going to be enough for less than 100 concurrent users. There is a lot of leeway left to define what your problem is. -- Bill Stewart-Cole bill@scconsult.com I'm not spam-blocked because I like playing the hardass net-fascist.
Re: Full Feed, but not getting all the messages?
Author: Dan Foster
Date: Mon, 05 Jan 1998 00:00
Date: Mon, 05 Jan 1998 00:00
74 lines
3819 bytes
3819 bytes
-----BEGIN PGP SIGNED MESSAGE----- In article <bill-0401982314120001@sc1.scconsult.com>, Bill Stewart-Cole <bill@scconsult.com> wrote: >In article <68prm3$r4l$1@server3.triplet.net>, "James E. Marke" ><jemstone@triplet.net> wrote: >> I am getting what I think is a full News feed from MCI. I noticed yesterday >> that out of about 500 messages in alt.zen I have only gotten 42. I don't >> have any errors in any log that I can find. I am running INN 1.5sec2 on a >> FreeBSD 2.2.5 system. > >You should probably upgrade to 1.7.2, but I don't know that it has a >significant enough performance improvement to fix your problem... How about 1.7.2 (or 1.7.2 + insync packaged patch collection) *and* DBZ 3.3 library dropped in rather than the default DBZ 3.2 supplied with 1.7.2? (I'm not sure about 3.3.1; haven't evaluated that yet) The 1.7.2 and DBZ 3.3 code may be enough of a reason to upgrade... fairly painless, esp. if you have a stock 1.5.1 setup already. Reason? History lookup speed improvements = potentially more articles assuming you don't have bottlenecks in other places. >>My problem may well be that I am using two 9.1 GB Ouch. I wonder if it's the I/O wait here being the killer, esp. with the traditional spool format design? >> 4. I have 96Megs of Memory on the news machine (running on a pent-pro 150) >> would more memory make a significant difference. > >That depends. It should handle one user and a multi-source INN full feed >system nicely. It won't do well at all with 500 concurrent users. > >Users are a significant issue for memory use. Back in the dark ages, >every user go their own in-memory copy of the active file. With bloated >active files, this is usually not true today, but if you aren't using the >shared active feature and have a typical ISP-ish active file, 96MB is >going to be enough for less than 100 concurrent users. > >There is a lot of leeway left to define what your problem is. True enough. I was thinking about suggesting more memory - ideally enough to cover at least the OS, innd, and history file for physical RAM. Dude (to James)... if you haven't already installed the Greco timer patches, do it *right now* - it will tell you _exactly_ where the bottleneck is... or at least, serve as a *very* good starting point for finding out where. I've seen at least one major site (not ours ;-) ) find out their uneven RAID setup (JBOD disks thrown together, some 2 giggers, some 4 giggers, some 9 giggers) was the reason for the I/O writes whose latency went through the roof. They rearranged the RAID set with 2 giggers, ISTR, and problem was solved for that particular case. You can get the JG timer patch at: http://www.nntp.sol.net/patches/innd-timer-14u4.tgz (lots of other nifty patches at http://www.nntp.sol.net/patches) - -Dan -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNLBz7xIzLSiSunCZAQE7fwQAgLTbLvjwQbW1bAnVQ3m+ptczFiL0ehTM j1K9UNqXHD8bMRmti4LPxV0CV3Z2N+GbOGcK4x9WjKcfU+Ihpt5kkQrpoCY40myW cojspd3uU/JjiIs9JYsmWG9lRN2NiV5cOrTIaAorhKzEWO0kDGFGS1Uhq/LCuhWF 38IzfBP4FcE= =RPB3 -----END PGP SIGNATURE-----
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