Thread View: news.software.nntp
2 messages
2 total messages
Started by glen mccready
Mon, 15 Feb 1999 00:00
Overchan falling behind.
Author: glen mccready
Date: Mon, 15 Feb 1999 00:00
Date: Mon, 15 Feb 1999 00:00
16 lines
1364 bytes
1364 bytes
It appears that my overchan is falling behind and it's causing me some troubles. innd updates the active file when new articles arrive, but overchan hasn't had the chance to update the overview files. When trn (or another newsreader) goes in to a group it tries to get the overview entries for all the articles in the group. If it can't be an overview it doesn't display the message but it's updating the high message read pointer in it's .newsrc. I've tried with a few newsreaders and I've seen the same thing. Any ideas as to how I can speed up overchan such that it doesn't fall behind what is listed in the active file? I'd appreciate direct responses but I do try to monitor this group. glen
Re: Overchan falling behind.
Author: bill davidsen
Date: Mon, 22 Feb 1999 00:00
Date: Mon, 22 Feb 1999 00:00
63 lines
3925 bytes
3925 bytes
In article <7a9vq3$ilg$1@gateway.qnx.com>, glen mccready <glen@qnx.com> wrote: | It appears that my overchan is falling behind and it's causing me | some troubles. innd updates the active file when new articles | arrive, but overchan hasn't had the chance to update the overview | files. When trn (or another newsreader) goes in to a group it | tries to get the overview entries for all the articles in the group. | If it can't be an overview it doesn't display the message but it's | updating the high message read pointer in it's .newsrc. I've tried | with a few newsreaders and I've seen the same thing. | | Any ideas as to how I can speed up overchan such that it doesn't | fall behind what is listed in the active file? I'd appreciate | direct responses but I do try to monitor this group. There appear to be several unhappy design choices in 2.2 and overchan. First, the feed is non-blocking, so innd can get way ahead of overchan. Second, when it get ahead by more than a certain bit it writes a file in outgoing. Not only is there nothing to process that file, but it appears (on AIX at least) to not begin and end on line boundaries, so you can't cleverly feed it into overchan. And last, the data are stored in memory, if innd dies all the info is lost. The Saito embedded overview performance patch seems to fix all this, by having innd write the overview in the cycbufs as it goes. It also avoids the problem of guessing the size of overview filespace vs. cycbuf space. Unfortunately it doesn't seem to work properly when you use xrefslave, which is all my reader machines. And the four changes are interwoven in a single patch, making it less than obvious how to upgrade from 2.1 to 2.2. At the moment I have that project on hold. As for a fix, there is none without a major change in the logic. But you can help the performance of overchan by running several of them. I think I was up to five feeds, using mutually exclusive articles (you really have to do that!). Like: !*,alt.*,@alt.bin* # alt, other than bin !*,alt.bin* # alt.bin* (maybe one for fan as well?) !*,misc.* # misc.* !*,rec.* # rec.* !*,talk.* # talk.* *,@alt.*,@misc.*,@rec.*,@talk.* # everything else This helps some on a uniprocessor, seems to kill the problem dead with SMP and nicekids. But it's a band-aid, not a fix, just keeping things going until something correct is available or developed. Note that the Saito patch also has provision for keeping a certain number of overview files open all the time, and avoiding the open/close overhead. That also helps a lot. On 1.5.1 local I had a chan process which batched the data and flushed the output after 20-30 sec or some number of articles, and which delivered the data sorted to multiple processes. That did keep up, but it was still a hack, not a fix. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc Politicians and diapers have one thing in common. They should both be changed regularly and for the same reason. --Ted Symons(?)
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