Article View: news.software.nntp
Article #11774Re: Innd / Solaris System Tuning
From: Obi-Wan
Date: Sat, 19 Oct 1996 00:00
Date: Sat, 19 Oct 1996 00:00
64 lines
3391 bytes
3391 bytes
David Dombek (dombek@epix.net) wrote: : I am running a Solaris 2.5.1 SPARC as my news server. I am seeing holes : in news, and general poor performance. I have not tweaked my system at : all. Can you define "holes in news" and "poor performance"? : Could someone suggest changes to make my system run faster? That depends a lot on your current setup. * If you don't have enough RAM, buy more. Try watching 'vmstat 10' for a while and look specifically at the 'sr' column. This gives the rate at which the kernel scans through memory looking for pages to flush out to disk. Adrian Cockcroft, in his book "Sun Performance and Tuning," (great book, BTW, though a bit dated) says that sustained periods of scanning more than 200 pages/sec is bad. Personal experience says that 150 is too high. If it's down around 50, don't waste your money on RAM. * If you've got a slow box, you could get a faster (or a second) CPU. In 'vmstat 10', watch the first 'r' column. This is how many processes are ready to run, but waiting their turn to access the CPU. More than 3-4 will be slower than you'd like. * If you've got only a single disk for your news spool, history, and active files, get a few more disks & split them up. Ideally, you should stripe or RAID-ify your spool. We've got four 2-GB barracudas striped into our spool, and each one still sits at 40-50% utilization. See 'iostat -x 10'. Any drives with a service time (svc_t) of more than 50 ms or a busy percentage (%b) of more than 30% are being pounded pretty hard, and should have their load redistributed. * If you are paging a lot, and have swap devices on multiple physical disks or on a single disk that's faster than 3600 rpm, you can increase the rate at which the kernel pages memory out to disk. The default value for the maxpgio kernel variable is 30 (measured in pages/sec), which was geared toward a single 3600 rpm disk. For instance, if you have 2 7200 rpm swap disks, a value of 120 would be more reasonable. You can set this in /etc/system by adding the line: set maxpgio=120 This will require a reboot to take effect. You can modify the in-memory kernel without a reboot by running: # adb -k -w /dev/ksyms /dev/mem (wait till it lists the physmem size) maxpgio/W0t120 <Ctrl>-D This mod probably won't make a noticeable difference to your readers, but it will make large page-in/out burst go faster, which will help if you're low on memory. I've rambled long enough... -- Obi-Wan -- Ben "Obi-Wan" Hollingsworth email: bvh@inetnebr.com Vice President and System Administrator voice: (402)434-8680 Internet Nebraska -- Nebraska's on-ramp to the information superhighway
Technical Details
Message-ID:
<549tsh$oup@hawk.inetnebr.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:
<3267F364.41AF@epix.net>Show Full Headers
Complete Article Headers
Message-ID: <549tsh$oup@hawk.inetnebr.com> Subject: Re: Innd / Solaris System Tuning Date: Sat, 19 Oct 1996 00:00:00 +0000 From: bvh@falcon.inetnebr.com (Obi-Wan) References: <3267F364.41AF@epix.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-mail X-Deja-AN: 190488676 Organization: Internet Nebraska Nntp-posting-user: bvh Newsgroups: news.software.nntp