Article View: news.software.nntp
Article #48576Re: INN => INN (Linux) feed probs
From: Anonymous Meowbot
Date: Thu, 28 Sep 2000 00:00
Date: Thu, 28 Sep 2000 00:00
110 lines
6248 bytes
6248 bytes
On Wed, 27 Sep 19100, bill davidsen wrote: > Sep 27 14:37:39 bozzard innd: ME time 1200000 idle 25853(79588) Hmmm, the first thing I looked at is the idle time, and my reaction was, not so good, since this is the amount of idle time that I see when I'm pounding binaries into a backlogged machine -- it drops to less than 1 second if I'm pounding non-binaries, but as long as it is large articles, there always appears to be some idle when it's running at full speed. > artwrite 257566(9829) artlink 0(0) hiswrite 252708(16325) Then I saw your artwrite times and said UH-OH, that's your problem, remind me to stay away from Linux (though I had been giving it some thought to see how it would compare), and then I saw your hiswrite times and said HEY, this does not compute... Then I looked back at your elapsed time (20 minutes; I'm used to seeing 5 minute intervals) and said, A-HA! Your `idle' time is four times worse than I expected... > perl 199114(16147) overv 362476(9829) python 0(0) Your overview is killing you too. Try overchan, it's the only thing I could come up with to make our latest box even come close to keeping up with a full feed (it still can't, even with only CNFS spool) Your history lookups aren't terrible, but then, you're not doing many of them (the equivalent of two incoming feeds, compared with your hiswrite counts), but your history writes are BAD. I know that FreeBSD has had a problem blocking while randomly updating the history database data that caused it to lose by far when compared with Linux for speed, but here it looks as if Linux is suffering the same problem (how large is your history file? Ours is from 15 to 21 days worth of full feed, created with a target size of 16 million entries since I discovered it was starting to overflow at somewhat less than 14 million actual entries, which did not seem to impact performance at all from the numbers, but still caused the .index and .hash tables to double in size, so the default 1,5x factor applied to the actual count of entries may be a bit on the low side for larger databases...) > Well, idle is not as low as I would expect, but there is idle left. No, trust me, there is not. There is idle for handling smaller articles, but not for large articles. You can probably keep up if you use overchan and then see idle time; I would put some work into reducing your artwrite times (and they'll go up as you start to write more of the binaries you now can't keep up with), and perhaps look into hiswrite next time you run into problems. > | I do know the present innfeed/innxmit seems dog-slow for large articles > | compared to the old 1.5 flavour. But I normally have no problems > > My observation exactly... the new versions seem slower for some reason. I *think* that it may have something to do with history accesses, since under 2.x our history disk has been pounded while with 1.x you'd have to wait a while to catch the light flickering. Russ noted mmap; I haven't seen any real difference whether it's on or off, except that when it's on, I lose the bytecounts from the in-use and total periodic checkpoints it makes (obvious once I looked at the k0dez proper). This is something I hope to look into before freezing to death, since I use an innxmit backup because innfeed has proven to have problems with ASSERT being called for unanticipated peer responses, and that results in some number of articles being lost. Also, innxmit (when called from nntpsend with `sort' replaced by `cat' results in a FIFO feed, while innfeed prioritizes newer articles, so there is a risk of old articles disappearing if backlogs remain too long. Simply offering the `CHECK's as watched with the `-d' debug option is dog- slow at the start of a batchfile, while getting up-to-tolerable speed partway through, so perhaps innxmit is doing some disk activity to verify the articles being CHECKed before offering the ID. Just a thought. Mond you, I haven't correlated the outgoing feeds with the history disk activity, although it seems to relate partially to the rate of incoming articles, except on our newest box where it sometimes remains idle while the articles roll in, and other times gets a beatin. > | both Slowaris and *BSD, although I've bumped up the receive socket > | size on the listening end of our binaries boxes from the default > | 24k, but no other significant changes... > > Hum, wonder what that matches in Linux? I did raise rmem_max and > rmem_default in /proc/sys/net/core (Linux voodoo), and played with the > window size. Window size. It's a (24 * 1024) hardcoded in the INN source, that I should wrap, along with several other things I tweak, with some inn.conf file parameter. But this probably would have more effect on a large article feed over a higher-latency (long) path. You're lack of idle time is killing you, if I've forgotten to mention it half a dozen times already. Overview would be trivial to drop to zero to help this. > Make the rules? I don't make the rules. I don't even FOLLOW the rules! I agree with this post.
Technical Details
Message-ID:
<Pine.BSF.4.21.0009280901530.61669-100000@vax.chrillesen.dk>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:
<8qt5ia$9kog$1@newssvr06-en0.news.prodigy.com> <Pine.BSF.4.21.0009271802220.4177-100000@vax.chrillesen.dk> <8qthsu$9kp4$1@newssvr06-en0.news.prodigy.com>Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.4.21.0009280901530.61669-100000@vax.chrillesen.dk> Subject: Re: INN => INN (Linux) feed probs Date: Thu, 28 Sep 2000 00:00:00 +0000 From: Anonymous Meowbot <meowbot@meow.meow.meow> References: <8qt5ia$9kog$1@newssvr06-en0.news.prodigy.com> <Pine.BSF.4.21.0009271802220.4177-100000@vax.chrillesen.dk> <8qthsu$9kp4$1@newssvr06-en0.news.prodigy.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: 675026818 X-Sender: barry@vax.chrillesen.dk Content-Type: TEXT/PLAIN; charset=US-ASCII X-Complaints-To: Department of Written Abuse <abuse@news.inet.tele.dk> X-Trace: news.inet.tele.dk 970126257 22414 193.88.12.35 (Thu 2585 September 1993 07:30:57 GMT) Organization: Tele Danmark Internet Cyberspace Launchpad Mime-Version: 1.0 NNTP-Posting-Date: Thu 2585 September 1993 07:30:57 GMT Newsgroups: news.software.nntp