🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Joe Fri, 28 Feb 1997 00:00
General server efficiency
#15440
Author: Joe
Date: Fri, 28 Feb 1997 00:00
8 lines
794 bytes
I'm wondering what are some general things I can do to make my nntp
server more efficient.  It tends to get a little slow when news is
coming in.  I'm running INN 1.4unoff4 05-Mar-96 on Linux 2.0.27.
Machine is P133 with 64M RAM and 9gig SCSI hard drive.


Re: General server efficiency
#15390
Author: 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

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