🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #48578

Re: INN => INN (Linux) feed probs

#48578
From: bill davidsen
Date: Thu, 28 Sep 2000 00:00
115 lines
6868 bytes
In article <Pine.BSF.4.21.0009280901530.61669-100000@vax.chrillesen.dk>,
Anonymous Meowbot  <meowbot@meow.meow.meow> wrote:
| 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.

  It's running at full speed, just not fast enough.

| > 	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)

  I turned it off since my first post, didn't make a huge improvement...

INND timer:
Code region              Time    Pct    Invoked   Min(ms)    Avg(ms)   Max(ms)
article cancel   00:00:25.223   1.1%       2978     6.771      8.470    10.589
article control  00:00:25.213   1.1%       2974     6.777      8.478    10.594
article link     00:00:00.000   0.0%          0     0.000      0.000     0.000
article write    00:15:45.146  39.4%      29558    28.773     31.976    36.312
history grep     00:00:08.852   0.4%       2601     3.182      3.403     3.680
history lookup   00:00:17.712   0.7%     132843     0.062      0.133     0.191
history sync     00:00:00.186   0.0%       4890     0.034      0.038     0.041
history write    00:03:16.222   8.2%      48835     3.813      4.018     4.286
idle             00:04:22.614  10.9%     681225     0.312      0.386     0.446
overview write   00:00:00.000   0.0%          0     0.000      0.000     0.000
perl filter      00:11:01.054  27.5%      48457    12.397     13.642    15.269
site send        00:00:00.000   0.0%          0     0.000      0.000     0.000

TOTAL: 00:40:00  00:35:42.222  89.3%          -         -          -    
     -


| 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? 

  Tiny, the machine has only been up a few days. I moved the .../db
filesystem to faster disks, but it still is vastly slower than the older
INN (Aug 99) I'm running on the old machine. Very grim.


| 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).

  And the article write is so slow, I have to wonder what it's doing. I
can certainly push a file transfer into the same filesystem faster than
that, and there's 200M of system buffer, 256MB on the controller and 2MB
on each drive.

| 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.

  Sure, I just turned it off. I would like to be able to read news as an
admin feature, but I certainly can live without it. I can't live with
what happens if I turn off the perl filter, so I have to think long and
hard on what to tune next.

  Thanks for all the thoughts and discussion, every little bit helps.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
Make the rules? I don't make the rules. I don't even FOLLOW the rules!

Technical Details
Message-ID: <8r0281$54b4$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
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> <Pine.BSF.4.21.0009280901530.61669-100000@vax.chrillesen.dk>

Show Full Headers
Complete Article Headers
Message-ID: <8r0281$54b4$1@newssvr06-en0.news.prodigy.com>
Subject: Re: INN => INN (Linux) feed probs
Date: Thu, 28 Sep 2000 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
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> <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-mail
X-Deja-AN: 675215661
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr06-en0.news.prodigy.com 970165313 168292 192.168.190.236 (28 Sep 2000 18:21:53 GMT)
Organization: TMR Associates, Schenectady NY
NNTP-Posting-Date: Thu, 28 Sep 2000 18:21:53 +0000 (UTC)
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com