Thread View: news.software.nntp
9 messages
9 total messages
Started by bill davidsen
Wed, 27 Sep 2000 00:00
INN => INN (Linux) feed probs
Author: bill davidsen
Date: Wed, 27 Sep 2000 00:00
Date: Wed, 27 Sep 2000 00:00
30 lines
2171 bytes
2171 bytes
I'm trying to set up a new feed, and it's coming from a Linux machine to another Linux machine, both running STABLE-20000905. I have split the articles at 32k, feeding the small and large separately. They are connected by 100Mbit ethernet on a switch. What I see is very poor transfer rate for the large articles, and no problems keeping up for the small. I read this as a transfer rate problem, since if the fed site were having problems with lookup or response to offers the small and more numerous articles should back up. And I've seen that, so I'm reasonably confident on that. It's not clear if innd is not able to read fast enough on large articles, or if innfeed is not "pushing hard enough." I suspect the latter, because the feed to another (totally diferent) machine is also slow for the large articles. I've played with the number of sockets, "method" used, etc, optimized hell out of the network stuff, and no joy. Used mmap, didn't help. Since I want to push about 200GB/day (full + enterprise info distribution) through this, it has to be right. With the feed running as hard as it will, I can still get a 40Mbit socket through for file transfer, so the network is definitely not out of anything critical. Any suggestions? -- 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!
Re: INN => INN (Linux) feed probs
Author: bill davidsen
Date: Wed, 27 Sep 2000 00:00
Date: Wed, 27 Sep 2000 00:00
107 lines
6277 bytes
6277 bytes
In article <Pine.BSF.4.21.0009271802220.4177-100000@vax.chrillesen.dk>,
Anonymous Meowbot <meowbot@meow.invalid> wrote:
| On Wed, 27 Sep 19100, bill davidsen wrote:
|
| > I'm trying to set up a new feed, and it's coming from a Linux machine
| > to another Linux machine, both running STABLE-20000905. I have split the
| > articles at 32k, feeding the small and large separately. They are
| >
| > What I see is very poor transfer rate for the large articles, and no
| > problems keeping up for the small. I read this as a transfer rate
| > problem, since if the fed site were having problems with lookup or
| > response to offers the small and more numerous articles should back up.
| >
| > It's not clear if innd is not able to read fast enough on large
| > articles, or if innfeed is not "pushing hard enough." I suspect the
|
| What does your timer on the receiving innd show you? Even when the
| large articles are coming in as fast as they can, I see `idle' time
| in addition to the known lost time (about 13% of which is taken up
| by ARTclean() for example), but if you're out of idle time on the
| receiving end, you're gonna be taking small articles faster than the
| large ones.
Sep 27 14:28:09 bozzard innd: ME HISstats 40065 hitpos 73968 hitneg
1651 missed 60655 dne
Sep 27 14:37:39 bozzard innd: ME time 1200000 idle 25853(79588)
artwrite 257566(9829) artlink 0(0) hiswrite 252708(16325)
hissync 47(1635) sitesend 0(0) artctrl 12162(597)
artcncl 12224(599) hishave 6039(48169) hisgrep 5727(461)
perl 199114(16147) overv 362476(9829) python 0(0)
Sep 27 14:57:39 bozzard innd: ME time 1200019 idle 33036(98514)
artwrite 254528(10151) artlink 0(0) hiswrite 244428(15379)
hissync 44(1540) sitesend 0(0) artctrl 18988(982)
artcncl 18976(983) hishave 2872(46260) hisgrep 11972(903)
perl 197461(15282) overv 364240(10151) python 0(0)
Well, idle is not as low as I would expect, but there is idle left.
While I'm posting overlength lines, here's the system capacity
snapshot for a few samples (180sec slices):
time load free buffs swap pgin pgou dk0 dk1 dk2 dk3 ipkt opkt int ctx usr sys idl i_netK o_netK
15.008 1.14 6.3 436 3.7 32 254 1 21 67 0 883 536 972 217 11 2 87 1245.7 36.7
15.059 1.08 4.0 438 3.7 37 201 1 31 66 0 708 443 798 163 10 2 88 970.6 31.6
15.109 1.02 4.6 438 3.7 26 283 1 25 68 0 868 527 959 245 11 2 87 1220.6 36.4
15.159 0.94 6.3 436 3.7 27 279 1 20 68 0 977 589 1064 258 12 2 86 1387.3 40.2
15.209 1.01 5.4 436 3.7 39 228 1 25 70 0 661 406 754 185 9 2 89 909.6 28.5
15.259 1.13 6.4 436 3.7 27 270 0 22 67 0 858 521 945 195 11 2 87 1204.1 35.9
15.309 1.04 5.3 436 3.7 33 241 2 23 67 0 804 487 892 195 10 2 88 1125.7 33.7
And some output from 'feedwatch' as well (only two feeds into this
machine right now):
bozzard:news> tail -20000 $ln/log/news | feedwatch -HL20 -i180
<---------- arts ----------> tot offer accpt artKB avg K
time offer accpt junk cancl refu MB /sec /sec /sec size
15.092 3342 1517 0 78 1295 163 18.4 8.8 919.3 104.7
15.141 2304 1467 0 27 382 171 12.9 8.4 978.9 116.9
15.191 2620 1651 0 37 529 129 14.6 9.4 735.5 78.4
15.241 2792 1486 0 67 824 170 15.5 8.6 964.5 111.9
15.291 2776 1589 0 40 653 138 15.4 9.0 782.4 86.6
15.341 2463 1625 0 54 435 150 13.7 9.3 854.2 91.5
15.391 2803 1771 0 71 550 138 15.5 10.2 784.7 77.0
15.409 899 534 0 8 210 66 13.8 8.3 1033.3 123.8
|
|
| > latter, because the feed to another (totally diferent) machine is also
| > slow for the large articles.
|
| 100Mbit ethernet? How many outgoing feeds? Remember, you can expect
| to see up to 25Mbit/sec today for volume per feed, so I've found that
| I am totally out of bandwidth at around 70Mbit/sec average. Expect
| no more than three full outgoing feeds.
|
| NICs make a difference too -- I've got one set of hardware pushing
| out a lot more data while an identical NIC on nearly identical hardware
| has serious problems with throughput. As you note, you still seem to
| have adequate headroom...
Tried both the PCNET32 thing on the system board and the EEpro100
plugged into it.
|
| 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
| pushing from one Slowaris box to another, except that the latter does
| fall behind at peak voulmes.
My observation exactly... the new versions seem slower for some reason.
| > Any suggestions?
|
| Not really, I do have success with recent innfeed and innxmit on
| 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.
--
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!
Re: INN => INN (Linux) feed probs
Author: Russ Allbery
Date: Wed, 27 Sep 2000 00:00
Date: Wed, 27 Sep 2000 00:00
16 lines
1373 bytes
1373 bytes
bill davidsen <davidsen@tmr.com> writes: > Anonymous Meowbot <meowbot@meow.invalid> wrote: > | 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 > | pushing from one Slowaris box to another, except that the latter does > | fall behind at peak voulmes. > My observation exactly... the new versions seem slower for some reason. Try turning off mmap for innfeed. Does that make any difference? -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: INN => INN (Linux) feed probs
Author: Anonymous Meowbot
Date: Wed, 27 Sep 2000 00:00
Date: Wed, 27 Sep 2000 00:00
50 lines
3116 bytes
3116 bytes
On Wed, 27 Sep 19100, bill davidsen wrote: > I'm trying to set up a new feed, and it's coming from a Linux machine > to another Linux machine, both running STABLE-20000905. I have split the > articles at 32k, feeding the small and large separately. They are > > What I see is very poor transfer rate for the large articles, and no > problems keeping up for the small. I read this as a transfer rate > problem, since if the fed site were having problems with lookup or > response to offers the small and more numerous articles should back up. > > It's not clear if innd is not able to read fast enough on large > articles, or if innfeed is not "pushing hard enough." I suspect the What does your timer on the receiving innd show you? Even when the large articles are coming in as fast as they can, I see `idle' time in addition to the known lost time (about 13% of which is taken up by ARTclean() for example), but if you're out of idle time on the receiving end, you're gonna be taking small articles faster than the large ones. > latter, because the feed to another (totally diferent) machine is also > slow for the large articles. 100Mbit ethernet? How many outgoing feeds? Remember, you can expect to see up to 25Mbit/sec today for volume per feed, so I've found that I am totally out of bandwidth at around 70Mbit/sec average. Expect no more than three full outgoing feeds. NICs make a difference too -- I've got one set of hardware pushing out a lot more data while an identical NIC on nearly identical hardware has serious problems with throughput. As you note, you still seem to have adequate headroom... 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 pushing from one Slowaris box to another, except that the latter does fall behind at peak voulmes. > Any suggestions? Not really, I do have success with recent innfeed and innxmit on 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...
Re: INN => INN (Linux) feed probs
Author: bill davidsen
Date: Thu, 28 Sep 2000 00:00
Date: Thu, 28 Sep 2000 00:00
68 lines
4636 bytes
4636 bytes
In article <yl66nhidh2.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | bill davidsen <davidsen@tmr.com> writes: | > Anonymous Meowbot <meowbot@meow.invalid> wrote: | | > | 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 | > | pushing from one Slowaris box to another, except that the latter does | > | fall behind at peak voulmes. | | > My observation exactly... the new versions seem slower for some reason. | | Try turning off mmap for innfeed. Does that make any difference? No, I originally had it off (default), turned it on looking for some gain. And what has happened to "history write" times in the new version? On an older (Aug 99) version, I saw this on a PPro-200 using slow SCSI drives and software RAID: INND timer: Code region Time Pct Invoked Min(ms) Avg(ms) Max(ms) article cancel 00:10:40.724 0.7% 58310 7.052 10.988 25.848 article control 00:10:36.463 0.7% 57979 6.979 10.977 25.794 article link 00:00:00.000 0.0% 0 0.000 0.000 0.000 article write 06:12:18.185 25.8% 747180 20.399 29.897 48.277 history grep 00:05:46.105 0.4% 46319 0.608 7.472 13.697 history lookup 01:11:45.967 5.0% 3093168 0.898 1.392 5.442 history sync 00:00:50.672 0.1% 100317 0.147 0.505 18.123 history write 00:04:42.345 0.3% 1001451 0.211 0.282 0.484 idle 00:26:56.490 1.9% 681314 0.355 2.373 15.211 overview write 00:00:00.000 0.0% 0 0.000 0.000 0.000 perl filter 11:14:58.032 46.9% 987428 24.870 41.014 64.950 site send 00:08:15.951 0.6% 1975008 0.203 0.251 0.300 While on the problem box, dual P-II-700, double the memory, lots of fast SCSI drives on hardware RAID-0+1 for history, I see: INND timer: Code region Time Pct Invoked Min(ms) Avg(ms) Max(ms) article cancel 00:18:52.201 1.3% 58598 9.403 19.321 47.100 article control 00:18:42.817 1.3% 58274 9.324 19.268 47.650 article link 00:00:00.000 0.0% 0 0.000 0.000 0.000 article write 05:41:51.604 24.4% 679072 20.477 30.205 41.822 history grep 00:07:14.383 0.5% 44850 2.775 9.685 27.914 history lookup 00:09:19.290 0.7% 3339426 0.003 0.167 2.057 history sync 00:00:10.530 0.0% 105689 0.025 0.100 1.284 history write 05:00:45.553 21.5% 1055111 11.894 17.103 33.205 idle 00:55:07.552 3.9% 11918058 0.092 0.278 2.734 overview write 04:49:14.162 20.7% 486382 29.208 35.680 68.408 perl filter 04:26:26.917 19.0% 1039825 8.204 15.375 24.533 site send 00:00:00.000 0.0% 0 0.000 0.000 0.000 showing that the history write is two orders of magnitude slower! Since this machine is not a reader machine I can turn off overview (have), but the history write is still vastly slower. I looked at the fflush() calls, I don't see anything there. The only thing I do note, the old system, because it has minimal memory, is running tagged hash. I assumed that was slower than full size hash, but was I wrong? -- 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!
Re: INN => INN (Linux) feed probs
Author: Anonymous Meoward
Date: Thu, 28 Sep 2000 00:00
Date: Thu, 28 Sep 2000 00:00
46 lines
2942 bytes
2942 bytes
On Thu, 28 Sep 19100, bill davidsen wrote: > 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) Could you post a couple lines from the news.notice file like before? I find those easier for me to read, rather than trying to get the same info from the daily reports... thanks > TOTAL: 00:40:00 00:35:42.222 89.3% - - - Interesting; I wonder what you'd see if you applied the artclean timer patch that I find takes some 10% of our time... (note that I botched the innreport patch for it, but I have a corrected version running) > And the article write is so slow, I have to wonder what it's doing. I Weird -- I found 2.x was significantly faster for artwrite to some slow disks than 1.5 with the same OS/hardware. But I have apparently no write cache on the disks, which is why for me artwrite is taking about 160 out of 300 secs on one of my machines.... > | 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 Yeah, but you can still read if you use overchan, which drops the INN overview time to zero, writing overiew as a separate process... > Thanks for all the thoughts and discussion, every little bit helps. If you'd post a few of the timer lines, I'd be happy to eyeball them. They can be at 1200 sec intervals, while I'm much more familiar with the numbers I've seen on different machines at 300 secs.
Re: INN => INN (Linux) feed probs
Author: Anonymous Meower
Date: Thu, 28 Sep 2000 00:00
Date: Thu, 28 Sep 2000 00:00
72 lines
4695 bytes
4695 bytes
On Thu, 28 Sep 19100, bill davidsen wrote: > And what has happened to "history write" times in the new version? On > > INND timer: > Code region Time Pct Invoked Min(ms) Avg(ms) Max(ms) > history grep 00:05:46.105 0.4% 46319 0.608 7.472 13.697 > history lookup 01:11:45.967 5.0% 3093168 0.898 1.392 5.442 > history sync 00:00:50.672 0.1% 100317 0.147 0.505 18.123 > history write 00:04:42.345 0.3% 1001451 0.211 0.282 0.484 > > history grep 00:07:14.383 0.5% 44850 2.775 9.685 27.914 > history lookup 00:09:19.290 0.7% 3339426 0.003 0.167 2.057 > history sync 00:00:10.530 0.0% 105689 0.025 0.100 1.284 > history write 05:00:45.553 21.5% 1055111 11.894 17.103 33.205 Yeah, but... > The only thing I do note, the old system, because it has minimal > memory, is running tagged hash. I assumed that was slower than full size > hash, but was I wrong? Tagged hash (or as some of us who don't follow the latest buzzwords know it as dbz v3) is slower for lookups, but it also has a smaller filespace footprint for the database file. Now you see that your lookups above for the top (older) machine are a bit slower, but you only have two incoming feeds (note that if you had a single incoming feed, each successful history write would result in two lookups -- one at IHAVE/CHECK stage, and the second just before committing the article to storage to make sure duplicates don't slip through). If this were a world-facing transit box, you'd see a significant difference, as each apparent hit would require a check of the history text file to verify that is a real hit (as would false hits), but for as few feeds (two full) as you have, it's not much of a difference. And you probably have a cache too of recent hits to avoid most of the text file accesses. I agree, something is wrong with the 2.x family history times. That is why I'm still running my 1.5 k0debase that I update periodically, since I simply haven't been able to come near the history performance out-of-the-box on identical hardware with 2.x, although there seem to be some improvements to the spool writing that I should figure out and merge in. I took a quick sourcek0deZ look and didn't see a difference either. What I found strange was that `iostat' was showing a constant stream of reads, not writes, from the history disk, in spite of what the higher write times would lead me to expect to see, and the disk activity light seemed to be flashing for every single incoming article. And for 1.5, I'm doing nothing at all special -- the history files share a single slow drive with the OS, the rest of /news, and half of the news spool, and the activity there is minimal. What are the date timestamps on the text, index, and hash files on your new machine? Actually, an `ls -l' along with a `cat history.dir' would be helpful to see any possible problems. Note that I haven't made any tests of my wild guesses of what is hitting my 2.x history with a constant stream of reads -- I've just chosen to throw a lot more hardware at the 2.x machines and keep them well-hidden until I get them up to speed with the history performance. I also seem to notice some difference between a recent snapshot and one of several months back, but I've not made any serious checks on that. As usual, YMMV, IANAL, IANMTU, HTH, HAND, M.
Re: INN => INN (Linux) feed probs
Author: 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.
Re: INN => INN (Linux) feed probs
Author: bill davidsen
Date: Thu, 28 Sep 2000 00:00
Date: Thu, 28 Sep 2000 00:00
115 lines
6868 bytes
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!
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