🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Kevin Sawyer Sat, 07 Sep 1996 00:00
Faster disk I/O = Lower memory usage
#10709
Author: Kevin Sawyer
Date: Sat, 07 Sep 1996 00:00
36 lines
2229 bytes
I previously posted an inquiry regarding nnrpds which used 11MB+ of memory as
opposed to the typical 1.3MB nnrpds shown in my process list.

Today I moved my history files to a faster drive/controller and created soft
links to them at their original locations.  As a result, my system load
average is 50% of what it used to be, and my nnrpds are all using consuming
less than 1MB of memory.

My history files used to be on my root device which is a 1GB fast SCSI
drive hosted by an Adaptec 1542CF ISA busmastering controller.  Now they are
the same device as my spool (I know, this generally isn't a good idea, but
keep reading) which is a 16GB fast wide SCSI array (RAID-0) hosted by a DPT
3224A caching/RAID PCI controller.

I think that part of my original problem was also that I was running out of
physical RAM and therefore swapping, and my swap partition is on my root
device.  The combination of swapping and trying to keep up with history file
access was bogging down my root device completely.  This condition then
caused nnrpds to consume more memory (for whatever reason) which resulted in
the need for more swapping which resulted in an exponential increase in root
device activity.

I guess the lesson I'm trying to contribute here is that drive I/O is
undoubtedly the most important factor in news performance.  Specifically,
get your history files OFF of your root device and put them on the fastest
device you have, preferably a dedicated device.

I just checked my performance stats:  my load average is less than 1.00 (on
a P90 with 64MB RAM running Linux kernel 2.0.17 and inn1.4unoff4) with two
server connections and 31 clients.  MUCH BETTER!

Kevin
sawyerk@apci.net

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