🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by David Dombek Fri, 18 Oct 1996 00:00
Innd / Solaris System Tuning
#11748
Author: David Dombek
Date: Fri, 18 Oct 1996 00:00
13 lines
839 bytes
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.

Could someone suggest changes to make my system run faster?

Thanks

-David Dombek
dombek@epix.net

Re: Innd / Solaris System Tuning
#11774
Author: Obi-Wan
Date: Sat, 19 Oct 1996 00:00
64 lines
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

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