🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20615

Re: INN Linux optimizations wanted

#20615
From: brian moore
Date: Sun, 17 Aug 1997 00:00
28 lines
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'.

Technical Details
Message-ID: <5t811a$1un$3@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>

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