Article View: news.software.nntp
Article #8892Re: Wanted: Tips for optimizing INN performance
From: Brian Tao
Date: Sun, 30 Jun 1996 00:00
Date: Sun, 30 Jun 1996 00:00
44 lines
2761 bytes
2761 bytes
In article <4qvedb$bbi@basecamp1.net-quest.com>, Mike Carlson <mike@net-quest.com> wrote:
>
> Any expire tips, or organizational tips (I've heard presorting certain
> files can make a difference), basically tips would be appreciated.
I've been running expire with the "delayrm" flag on my current
news server since the beginning, but I'm not sure how much of a
performance gain that is now (I've since tuned other aspects of the
system to get scan times on a 250MB history file down to 45 minutes or
less, and another couple of hours for the fastrm).
Lots of memory obviously helps (you want minimal paging activity),
and the sharedactive patch goes a *long* way towards efficient memory
usage on a heavy reader machine. I'm typically running with about
20MB free (most of it sitting around as disk cache) on a 128MB server
with 130 to 150 readers. You want to have enough to handle expire and
expireover when they run.
Splitting your spool across as many drives as possible is also
recommended. The news spool, history file and overview databases
should all be on independent drives (and controllers, if possible).
If you're running on PC hardware, good PCI SCSI controllers are
relatively inexpensive. I've got three NCR53810's with 3 drives each.
A RAID solution works even better, although at a higher price tag.
Presorting your outgoing batch files will help by keeping inode
information for the news spool directory in cache. It can't hurt, but
make sure you have enough temp space (usually /var/tmp for 'sort', I
think) to hold the largest spool file.
Read the threads in this newsgroup about divorcing nnrpd spawning
and article posting functions from the main innd server. Those are
ways of speeding up the response time to an otherwise sluggish server.
> One other thing (more for another message really), is how can I send
>just the messages posted by my local users to another server?
Look for the 'H' flag in the newsfeeds(5) man page.
--
Brian Tao (BT300, taob@io.org, taob@ican.net)
Systems and Network Administrator, Internet Canada Corp.
"Though this be madness, yet there is method in't"
Technical Details
Message-ID:
<4r527i$eh0@zot.io.org>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-mailReferences:
<4qvedb$bbi@basecamp1.net-quest.com>Show Full Headers
Complete Article Headers
Message-ID: <4r527i$eh0@zot.io.org> Subject: Re: Wanted: Tips for optimizing INN performance Date: Sun, 30 Jun 1996 00:00:00 +0000 From: taob@zot.io.org (Brian Tao) References: <4qvedb$bbi@basecamp1.net-quest.com> 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: 162887488 Organization: Internex Online Inc., Toronto, Ontario, Canada Newsgroups: news.software.nntp