🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15390

Re: General server efficiency

#15390
From: Jeff Garzik
Date: Thu, 27 Feb 1997 00:00
54 lines
2566 bytes
Joe wrote:
> I'm wondering what are some general things I can do to make my nntp
> server more efficient.

> [... description of news setup...]

In order of importance:

- If you feed a lot of peers, then move them over to innfeed or
nntplink.  I've never used nntplink, but they both feed articles to
multiple feeds at once, which is a big win over innxmit because the
articles are in your disk cache (presumably).

- If your history remember value in expire.ctl is above 14, lower it to
14 unless you have a good reason to increase it.  A huge history file
slows down incoming news.

- Separate the spool, news overview, history, active, and log files onto
physically separate disks.  Obviously most people are not going to go
that far, but at least get the history file(s) onto another drive.

- Replace the 9gb drive with a striped set of 1-2gb drives.  Linux's md
driver handles the RAID striping quite nicely (use a chunk size of
either 4k or 8k), so you don't have to buy expensive RAID hardware to
get RAID performance.  Having just one hard drive for news sounds like a
massive bottleneck to me.

- Max out the machine with RAM.  Linux supports 128M and even 256M of
RAM.  Your news machine should have that much.  :)

- Put the 1-2gb drives on multiple SCSI controllers.  And stay away from
PIO controllers, they do nothing but suck CPU.  Get a good bus-mastering
and/or PCI card.

- Upgrade to Linux 2.0.30 when it is released (sometime soon).

- Upgrade to INN 1.5.1 (more resource hungry, but also more stable and
less buggy than inn1.4* releases, IMHO)

- Go SMP and get more than one processor.  Linux does SMP well, too. 
DejaNews runs on Linux SMP boxes.

	Jeff



-- 
"The New York Times is read by the people who run the country.  The
Washington Post is read by the people who think they run the country.
The National Enquirer is read by the people who think Elvis is alive
and running the country ..."  -- Robert J Woodhead

Technical Details
Message-ID: <33162AD2.28D43E5B@spinne.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
References: <5f52mc$cvd@nntp.idsonline.com>

Show Full Headers
Complete Article Headers
Message-ID: <33162AD2.28D43E5B@spinne.com>
Subject: Re: General server efficiency
Date: Thu, 27 Feb 1997 00:00:00 +0000
From: Jeff Garzik <jeff.garzik@spinne.com>
References: <5f52mc$cvd@nntp.idsonline.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: 221948017
To: jfking@idsonline.com
Organization: Spinne http://spinne.com
Newsgroups: news.software.nntp