🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20742

Re: INN Linux optimizations wanted

#20742
From: brian moore
Date: Wed, 20 Aug 1997 00:00
31 lines
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'.

Technical Details
Message-ID: <5tdsv5$fi2$1@news.cmc.net>
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: <33F77E2B.470B6D56@shreve.net> <5t811a$1un$3@news.cmc.net> <33F9C337.399C7A@microtec.net>

Show Full Headers
Complete Article Headers
Message-ID: <5tdsv5$fi2$1@news.cmc.net>
Subject: Re: INN Linux optimizations wanted
Date: Wed, 20 Aug 1997 00:00:00 +0000
From: bem@news.cmc.net (brian moore)
References: <33F77E2B.470B6D56@shreve.net> <5t811a$1un$3@news.cmc.net> <33F9C337.399C7A@microtec.net>
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: 268115708
Distribution: inet
X-Complaints-To: abuse@cmc.net
X-Trace: news.cmc.net 872052517 15938 (None) 206.102.31.253
Organization: Chambers Multimedia Connection
Reply-To: bem@news.cmc.net
Newsgroups: news.software.nntp