Article View: news.software.nntp
Article #10709Faster disk I/O = Lower memory usage
From: Kevin Sawyer
Date: Sat, 07 Sep 1996 00:00
Date: Sat, 07 Sep 1996 00:00
36 lines
2229 bytes
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
Technical Details
Message-ID:
<50qr9h$8ej@queeg.apci.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-mailShow Full Headers
Complete Article Headers
Message-ID: <50qr9h$8ej@queeg.apci.net> Subject: Faster disk I/O = Lower memory usage Date: Sat, 07 Sep 1996 00:00:00 +0000 From: sawyerk@apci.net (Kevin Sawyer) 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: 178996070 Organization: Applied Personal Computing, Inc. Newsgroups: news.software.nntp