Article View: news.software.nntp
Article #5794Re: News Server Performance Survey
From: Mark Hittinger
Date: Tue, 19 Mar 1996 00:00
Date: Tue, 19 Mar 1996 00:00
52 lines
3345 bytes
3345 bytes
krenaut@jax.jaxnet.com (Karl Renaut) writes: >I have a pentium 133 with 128megs of RAM and performance stinks! The >load average on the machine stays up at 1.0 a lot of the time (and higher). >Its not unusual for 10's of megs of swap space to be in use, and the nnrp >readership load on the machine fairly low (maybe 50-100 simultaneous >readers). We use Barracudda 7200rpm drives and PCI SCSI-II controller. >I would love to know how to get better performance because I was >considering buying a P6 - 200mhz with 256kb RAM and I would rather save >the money. >Also, is there a way to share the news spool file system and set up a >read only nnrp server? You can mount the news spool read only via nfs and drop nnrpd into the /etc/inetd.conf on the correct port. You have to make sure that the nnrpd image can see the history, active, newsgroups, and spool files. Usually some symbolic links will pull that off for you. You can use the "-S" switch so posts go to another host. It is also helpfull to have a faster network link between the nfs server and clients. A larger MTU than fast ethernet's is also helpfull. I'd expect you to use A LOT more than 10mb of swap. Don't worry about that, just make enough available. Before you invest in cycles, please think about your disk performance. The news game is totally dominated by the performance of your disk system. You don't want to have a giant disk with history, active, news, and overview on the same drive (if you want performance that is). You want to have multiple spindles, and multiple controllers. If you can stripe great. Ideally you'd want swap, history/active, overview, and news spool on seperate drives. Expire will be totally dependent on the performance of your disk I/O subsystem - and a P6 won't matter. Once the disk I/O subsystem is performing optimally then you'd consider adding memory. Also you'd want to double check your network interface and make sure it can handle the simultaneous load. Finally you can tune several parameters within INN to reduce its impact on your system. In general the default settings don't scale up to the kind of reader activity I'm speaking of. Given the low load average you mentioned I'd bet the problem you are having is poor disk I/O performance. Very often people will forget to invest in a balanced system and will buy too much cycles and not enough of the other factors. If you run 'top' and see idle time when your performance isn't acceptable then you need to chase something other than a P6 solution. Regards, Mark Hittinger Netcom/Dallas bugs@freebsd.netcom.com
Technical Details
Message-ID:
<bugsDoIv7K.3JB@netcom.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-mailReferences:
<314A12B2.554B@netscape.com> <bugsDoDD81.Enw@netcom.com> <4imamm$46@jaxnet.jaxnet.com>Show Full Headers
Complete Article Headers
Message-ID: <bugsDoIv7K.3JB@netcom.com> Subject: Re: News Server Performance Survey Date: Tue, 19 Mar 1996 00:00:00 +0000 From: bugs@netcom.com (Mark Hittinger) References: <314A12B2.554B@netscape.com> <bugsDoDD81.Enw@netcom.com> <4imamm$46@jaxnet.jaxnet.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: 143174099 Distribution: inet Sender: bugs@netcom17.netcom.com Organization: NETCOM On-line Communication Services (408 261-4700 guest) Newsgroups: news.software.nntp