Article View: news.software.nntp
Article #52038Sv.: Re: Sv.: Re: feed vs suck
From: Diseased Terminally Ill Hideousl...
Date: Thu, 26 Apr 2001 05:22
Date: Thu, 26 Apr 2001 05:22
257 lines
14525 bytes
14525 bytes
"'removethis@gmx.net'" <removethis@gmx.net> skrev i en nyhedsmeddelelse:slrn9eb104.79.removethis@gmx.net... :: > MOI? Apparently, it's possible for an unexpected response from :: > a heavily-hacked swerver to confuse slrnpull to the point where :: > it downloads every article in the group starting from the first, :: :: mh. I remember getting that problem too, but the last time it happened :: was in '99 or so. I don't remember if it was during one of the periods :: where Get2net had server problems, but maybe your user needs to get a Life. Clue. Lobotomy. Pick all that apply. It's also possible that this is a `feature' of slrnpull intended to cope with the occasional fact that swervers do get replaced by new ones that don't follow the same numbering, and instead start from zero. Okay, one, to be truthful. To detect this, slrnpull would keep a record of the last article number downloaded from that group and if the swerver then reports that the new high-mark is lower than that, it ass-u-mes that the article numbering has been reset and it should discard its old data. It's possible for that to happen with certain swervers when the last article(s) in a newsgroup have been cancelled either by the author or as spam, some time after they have been seen. The new swerver k0de that I hacked on seems to show gaps in place of the missing articles, while the 1.7 swerver k0de appears to adjust the numbers sent back to the user to reflect the absence of the cancelled articles, and in such a case the numbers returned can in fact go backwards and decrement which a naive reader may not be expecting. My k0de hacks were to simply spit out the active file numbers, rather than doing the work to verify that each article was present, because logging had shown me that there were typically several million GROUP commands being given each day that were never followed by a corresponding XOVER or ARTICLE command, just from people checking to see if new articles had arrived in the group, and the work that traditionally followed that was a serious performance killer, taking some six months off the useful life of the hardware. But that doesn't explain how *my* k0de hackZ could break the slrnpull when it didn't seem to have problems with the original unhaX0red k0deZ. So I'm grasping at straws. :: newer version of slrn. Or he could just set slrnpull to download a sane :: number of articles instead of all the available ones in case something After he was bitten a few times, he did this. Of course, with the motorcykel traffic (sorry, I mean the traffic in the group) you've got to set that number pretty high lest you miss something. :: > Oh, on the original rant topic, the latest offensive behaviour :: > I see is that when some reader out there is unable to access a :: > group that used to exist, it apparently repeatedly opens new :: > connections until the swerver limit is reached (meaning this :: > program has opened probably 900 connections simultaneously). :: :: Clever. May be one of the new binaries grabbers. New ones seem :: to be appearing all the time and they probably aren't all :: particularly well put together. And most of them use multiple :: connections ability as a selling point. I did get off my lazy butt and grepped the log to find who the offending party might have been. Problem is, I saw several cases of customers opening many connections quickly, but I'd have to use something other than the VT420 console to display the graphic of user connections to find which of these was the one that didn't close the newly-opened connections promptly. Three of these incorrectly functioning pullers were at static IPs that I could block and the problem didn't recur the next day, while a couple dynamic IPs were seen to exhibit the same b0rken behaviour so trying to block them would be a case of whack-a-mole. Not my idea of fun. The next day still saw some evil b0rken behaviour of some 60 000 connections trying to access a deleted group, so I've still got some tracking- down to do to get that soon-to-be-ex-customer to CONFESS as to what b0rken software it is. Yeah, these binariez suckers suck. The multiple connections ``feature'' is due to one of two things -- the default D0ze TCP receive window size is a miniscule 8k, which simply is not adequate to keep the pipe filled on today's high-speed connections, particularly to remote swervers. And now that more and more ISPs bail out of providing decent news service, more people are pulling their pr0n from far away. Since most people don't even bother to tweak this parameter (I forget the number of tiny window sizes on the test swerver open to the world I had run, but it was most of them), the only other way to keep data flowing is to open several connections to augment the miserable long-haul throughput with a small window. Oh, a third one that I forgot -- if a pipe somewhere is congested, and is the bottleneck on the path, say 100 people are trying to pull data over a 2Mbit/sec pipe, a single connection there can get no more than 20kbit/sec. But if one of those 100 users decides to open 50 more connections (don't laugh, I've seen it) then each of those 51 connections now can pull some 13kbit/sec. Never mind that the other 99 users are getting 1/3 less throughput; the one user with the sucker now is getting well over 500kbit/sec and that's far more than the 20kbit/sec before. The other thing that had been the second reason why many suckers open multiple connections is provider-imposed bandwidth limits. If a single connection is rate-limited to 500kbit/sec, say, at the sending end, then opening two connections gives the user a whole whopping 1Mbit/sec. So if opening two makes things go twice as fast, then, hey, opening 50 will make things go 50 times as fast. Yay. Never mind that the user's connection is only a 1Mbit/sec connection and more than two connections adds little, if the window sizes are up to the task -- more MUST be better! I'll mention that a Stofanet customer connected with a single connection to my test box was able to pull nearly the full 1Mbit/sec, though the lock-step nature of the nnrpd protocol meant there was idle time between articles. This is another reason why opening a second connection increases the chance that at least one connection will be active at a given time. Beyond that, there isn't much to gain if you've correctly tweaked other things. :: I've been using slrnpull since early '98 and haven't heard any :: complaints from Get2net yet. But then, while it's been confirmed :: that they're aware they have a news server, it's not obvious that :: their knowledge goes much beyond that (to be a bit harsh. They Also, I've heard that the logs that Typhoon provides are far less than INN provides by default. In order to track swerver performance, I've added additional logging that INN normally doesn't do in order to see what commands are most popular to decide where it would pay off to improve the performance. Without this, I'd be in the shoes of looking at a black box, knowing that it sucks, but with no idea as to why it might be sucking. :: problems with their strategy; they seem to be trying to take a :: full feed which just results in retention times getting shorter :: and shorter, no matter how much hardware they throw at the server. :: After four years, it should be obvious that they can't keep up, :: so they might as well not try. Well, I went the alternative route when I couldn't keep up and even that resulted in a good number of complaints. You just can't keep everyone happy. One either needs to decide who is going to suffer and stick with it, or offer an alternative to what someone else has available. In this case, both get2net and worldonline are attempting alternatives, no matter how unsatisfying, to the path I've chosen to take. :: I'm only getting 69 text groups, on a 56K modem, so if slrnpull :: behaves, it probably isn't much of a load I put on the server :: compared to all the binariez downloaders. I haven't automated This is the key. Our obsolete swerver has plenty of reserve capacity by day, but just can't keep up at night. When I hide the pr0n and warez at night, it still has plenty of capacity even though only a few people are affected. The daytime binary pullers, while small, aren't enough to drag the swerver into the ground. Even though our daytime reader load nearly tripled after taking over the business customers (with a daytime readership, while home users typically wait until after work and the lower evening phone per-minute rates) to give a more even reader load over the period 6am to midnite. A text puller isn't going to affect performance at all unless the reader is connecting every second, or downloading the entire group, like it seems the alt.comp.virus virus does since the half-million downloaded articles daily does not match the much lower position in the list of group accesses. It's the combined binariez pullers that drags the swerver begging and pleading to its knees. Here a handful of users can require upgrading of a million kroner of hardware that otherwise could support five or ten times the existing number of text readers. We had one site that was pulling 30 to 50GB each day when the swerver performance started to suffer and I started to take action to keep performance acceptable to the thousands of other customers. This one customer simply wasn't paying the money that would have been required to beef up the reader machine to handle that sort of load, while our transit boxen that are essentially built from throwaway commodity PC hardware can handle this sort of load without breaking a sweat. So any site that's sucking a significant amount of binaries is putting a load on the expensive reader machine that would be far better for all if it were instead handled by machines designed for feeding, not for reading. That's why when I find someone running a swerver, I lay down the law. It's better for everyone. Right now we've got plenty of spare capacity for handling additional text readers, but we can't even handle those with binary interest that we do have, and as suck clients put a higher load on the machine than a human reader, they don't do much to help my ulcer. Where sucking clients work well is to offload traffic from peak hours. We've got spare capacity from about 2am or so through the morning and early afternoon. If someone who is now downloading articles during the peak evening hours were to instead suck the groups at 3 in the morning, I'd be happy. If someone's downloading articles every five minutes all day and night but only looking at the pr0n in the afternoon when getting home from work, that's not good. We keep groups for a long enough time (rather than trying to carry everything) that someone can download once overnight and not miss anything. It's the other providers where you have to download hourly or things will disappear. Of course, if people are trying to download the 3 to 5GB per day that they can get over their ADSL connection, then they will be doing something pretty much all the time, to get the full use of the bandwidth they pay for. We have a handful of such users, down from some 50 or so, due to our drastic reduction in groups carried. Yeah, these people can be dragging down performance for everyone. Yeah, if we only kept pr0n rather than any single-part binaries and only had customers who would download a gif, wank to it, download the next, have another wank, move on to the next, wank again, and so on, then we'd have capacity to handle all our wankers with no restrictions. In short, careful and conscientious use of suck programs need not be abusive and wasteful of swerver resources, that were intended for interactive humans. However, the problems that do happen with these programs make them stand out like a sore thumb, so it's no surprise that many providers have a blanket stance against them. :: The first thought my brane came up with when I woke up today was :: "JOE BAY BEE!1!" This is an extremely common experience, and is no reason to be worried. In fact, when this is *not* the case is when you should start to sweat bullets. :: (reading some 2000 ARK posts just before going :: to bed may not be a good idea). Oh, it's a perfectly splendid idea. Of course, some CHOWDERHEAD SO-CALLED NEWSADMIN here decided to set the expire time on ark down from 45 days to 4 days, pretty much ruining my life. The fact that I tagged the group as kiddie pr0n might have made it stick out like a sore thumb or something, but hey, THERE EXIST TOOLS TO DETERMINE WHICH GROUPS ACTUALLY TAKE RESOURCES and need to be whacked. I mean, would you rather have 45 days of ARK or four days of Britney Spears Nude? Oh hang on, I know where the interests of the new newsadmin are, that was a dumb question.
Technical Details
Message-ID:
<9593B69238110F3.58522EF0F3841@microsoft.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!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!141.201.2.63!newshunter!cosy.sbg.ac.at!newsfeed.Austria.EU.net!newsfeed.kpnqwest.at!anon.lcs.mit.edu!nym.alias.net!mail2newsReferences:
<3AE18E9B.A84D17CD@zoltanium.com> <3ae1b8fe.581585@corp.supernews.com> <9bsh5f$iec$1@allhats.xcski.com> <20010421191031.634$n2@newsreader.com> <9943EF3850BEADE.4802257F20816@microsoft.com> <slrn9e8fgr.88.removethis@gmx.net> <395692B4268B41C.CDE2497361286@microsoft.com> <slrn9eb104.79.removethis@gmx.net>Show Full Headers
Complete Article Headers
Message-ID: <9593B69238110F3.58522EF0F3841@microsoft.com> Subject: Sv.: Re: Sv.: Re: feed vs suck Date: Thu, 26 Apr 2001 05:22:16 +0000 From: Diseased Terminally Ill Hideously Deformed Decomposed Decaying Disintegrated Festering Suppurating Malignant Meow <meow@meow.meow> References: <3AE18E9B.A84D17CD@zoltanium.com> <3ae1b8fe.581585@corp.supernews.com> <9bsh5f$iec$1@allhats.xcski.com> <20010421191031.634$n2@newsreader.com> <9943EF3850BEADE.4802257F20816@microsoft.com> <slrn9e8fgr.88.removethis@gmx.net> <395692B4268B41C.CDE2497361286@microsoft.com> <slrn9eb104.79.removethis@gmx.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!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!141.201.2.63!newshunter!cosy.sbg.ac.at!newsfeed.Austria.EU.net!newsfeed.kpnqwest.at!anon.lcs.mit.edu!nym.alias.net!mail2news Organization: Meow. Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Meow: Meow. Newsgroups: news.software.nntp Mail-To-News-Contact: postmaster@nym.alias.net Lines: 256