Thread View: news.software.nntp
8 messages
8 total messages
Started by Brian
Sun, 17 Aug 1997 00:00
INN Linux optimizations wanted
Author: Brian
Date: Sun, 17 Aug 1997 00:00
Date: Sun, 17 Aug 1997 00:00
15 lines
913 bytes
913 bytes
I am running INN-1.5.1corr under Linux, and was wondering what optimizations/patches you all are running. Currently I run "no_atime" kernel patch and will definitly be installed the "inum" patch and probably "actived". What are some other good ones for linux? Does anyone have a tweaked 1.5.1 config.data file for linux 2.x they wish to share? Or maybe name a few paramters they found and tweaked pretty good? Brian
Re: INN Linux optimizations wanted
Author: brian moore
Date: Sun, 17 Aug 1997 00:00
Date: Sun, 17 Aug 1997 00:00
28 lines
1875 bytes
1875 bytes
In article <33F77E2B.470B6D56@shreve.net>, Brian <signal@shreve.net> writes: > I am running INN-1.5.1corr under Linux, and was wondering what > optimizations/patches you all are running. Not Linux, but Joe Greco's cancel-hack (which basically splits control.cancel into 10k groups) cut down a LOT on my cpu use. (Amazing how much time can be spent searching a huge directory.) Someone has since made a patch that doesn't break nnrpd and can be used on any group, but this works now for me. I added a cheapo hack to overchan to not write overviews for controls. (Since they're processed sorta weird, that's really the only way to do it.) I also installed spamhippo, which saves a LOT of disk accesses for articles I don't want anyway. (http://spamhippo.zippo.com). What spamhippo misses, the perl filter snags. Spend a little CPU up front and save disk bandwidth and CPU writing articles that will later be cancelled. :) At least hack things to deal with control.cancel better and you'll see a huge cpu savings. -- Brian Moore The opinions expressed above are my own, not Sysadmin, C/Perl Hacker necessarily my employers'.
Re: INN Linux optimizations wanted
Author: Georg v.Zezschwitz
Date: Mon, 18 Aug 1997 00:00
Date: Mon, 18 Aug 1997 00:00
36 lines
1849 bytes
1849 bytes
Brian <signal@shreve.net> wrote: : Currently I run "no_atime" kernel patch and will definitly be installed : the "inum" patch and probably "actived". What are some other good ones : for linux? If you want to use inum, be careful. Whenever an article expires or is *canceled* (which is likely to be happening fast!), the inode might be used by another article. This might cause: - Distributing local groups / closed feeds like ClariNews - Probably sending alt.binaries.... to womens right activists and other problematic things. Moreover, if you have UUCP-customers, you should not specify the article size (like "Wib"). Otherwise the batcher will produce broken batches (wrong message sizes: It takes the size from the out.going-file and attaches the replaced article). However, if these problems do not apply, you might benefit from this patch. E.g. you can move the control.cancel-directory every ten minutes to another place (reducing the time to create new entries) and the messages will still be accessible (as they are addressed by inode number) for you outgoing feeds. You seem to have visited (http://www.news.erols.com). Have a look at Jeff Garziks pages as well (http://www.spinne.com). Greetings, Georg
Re: INN Linux optimizations wanted
Author: Sang-yong Suh
Date: Mon, 18 Aug 1997 00:00
Date: Mon, 18 Aug 1997 00:00
12 lines
1001 bytes
1001 bytes
In article <5t811a$1un$3@news.cmc.net>, brian moore <bem@news.cmc.net> wrote:
>I added a cheapo hack to overchan to not write overviews for controls.
In addition, you may want to alias out the cyberspam pseudo path for
the feed nov! in your newsfeeds, i.e., something like
nov!/cyberspam:*,!junk/!junk:Tc,WO:/usr/local/news/bin/overchan
--
sysuh
Re: INN Linux optimizations wanted
Author: Yves Touchette
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
21 lines
1174 bytes
1174 bytes
> Not Linux, but Joe Greco's cancel-hack (which basically splits control.cancel > into 10k groups) cut down a LOT on my cpu use. (Amazing how much time can > be spent searching a huge directory.) Someone has since made a patch > that doesn't break nnrpd and can be used on any group, but this works now > for me. Where can i find this patch? I've seen it mention here and there but i can't find it... > I added a cheapo hack to overchan to not write overviews for controls. I just linked the appopriate .overview to /dev/null :) Thanks in advance! -yvest
Re: INN Linux optimizations wanted
Author: Marc Slemko
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
19 lines
1338 bytes
1338 bytes
In <33F9C337.399C7A@microtec.net> Yves Touchette <goth@microtec.net> writes: >> Not Linux, but Joe Greco's cancel-hack (which basically splits control.cancel >> into 10k groups) cut down a LOT on my cpu use. (Amazing how much time can >> be spent searching a huge directory.) Someone has since made a patch >> that doesn't break nnrpd and can be used on any group, but this works now >> for me. >Where can i find this patch? I've seen it mention here and there but i >can't find it... http://www.nntp.sol.net/patches/ If you check dejanews you should be able to find mention of a more complete patch that does a similar thing for all directories plus supports nnrp access; Joe's patch doesn't.
Re: INN Linux optimizations wanted
Author: Marc Slemko
Date: Tue, 19 Aug 1997 00:00
Date: Tue, 19 Aug 1997 00:00
14 lines
1027 bytes
1027 bytes
In <33F9C337.399C7A@microtec.net> Yves Touchette <goth@microtec.net> writes: >> I added a cheapo hack to overchan to not write overviews for controls. >I just linked the appopriate .overview to /dev/null :) Unfortunately, this doesn't work on all OSes. For example, FreeBSD doesn't support locking /dev/null so overchan would end up in a tight loop trying to lock it and failing. Sigh.
Re: INN Linux optimizations wanted
Author: brian moore
Date: Wed, 20 Aug 1997 00:00
Date: Wed, 20 Aug 1997 00:00
31 lines
1932 bytes
1932 bytes
In article <33F9C337.399C7A@microtec.net>,
Yves Touchette <goth@microtec.net> writes:
>> Not Linux, but Joe Greco's cancel-hack (which basically splits control.cancel
>> into 10k groups) cut down a LOT on my cpu use. (Amazing how much time can
>> be spent searching a huge directory.) Someone has since made a patch
>> that doesn't break nnrpd and can be used on any group, but this works now
>> for me.
>
> Where can i find this patch? I've seen it mention here and there but i
> can't find it...
Joe's is on his web site at http://www.nntp.sol.net. I saw the other one
posted here about a month or so ago, but didn't save it, since I was busy
at the time.... check Dejanews perhaps?
>> I added a cheapo hack to overchan to not write overviews for controls.
>
> I just linked the appopriate .overview to /dev/null :)
Ah, but why bother parsing and prettying everything up just to be discarded.
Easy enough to add something that was (as I recall):
if (!strncmp(newsgroup,"control",6))
return;
--
Brian Moore The opinions expressed above are my own, not
Sysadmin, C/Perl Hacker necessarily my employers'.
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