performance tuning sar nhbufs memory


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



From - Thu Sep 27 14:28:35 2001
Path: typhoon.ne.mediaone.net!chnws06.ne.mediaone.net!24.147.2.43!chnws02.mediaone.net!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!newsfeed.icl.net!join.news.pipex.net!pipex!cass.news.pipex.net!pipex!news.tarantella.com!not-for-mail
From: "James R. Sullivan" <jim@tarantella.com>
Newsgroups: comp.unix.sco.misc
Subject: Re: Performance question
Date: Thu, 27 Sep 2001 08:52:06 -0700
Organization: Tarantella
Lines: 63 Message-ID: <3BB34B26.D1589BB0@tarantella.com> References: <3BB02070.D66CBF1B@aot.com.au> <GK7ytp.122y@wjv.com> <3BB107B7.3807D71@aot.com.au> <3BB20D06.B88B3542@tarantella.com> <3BB28CAF.1FCAD2A4@aot.com.au>
NNTP-Posting-Host: 94dhcp.beyond.tarantella.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: avon.tarantella.com 1001612000 20661 172.16.200.94 (27 Sep 2001 17:33:20 GMT)
X-Complaints-To: cid_news@tarantella.com
NNTP-Posting-Date: Thu, 27 Sep 2001 17:33:20 +0000 (UTC)
X-Mailer: Mozilla 4.78 [en] (Win98; U)
X-Accept-Language: en
Xref: chnws06.ne.mediaone.net comp.unix.sco.misc:103839


Hate these ads?
















Adrian wrote:

> I was going to modify NBUF at boot up with the command:
> defbootstr nbuf=100000



I can't remember if the NHBUFS get automatically adjusted when
you change NBUF, but you should make sure that they are appropriately
sized.  In the past, you wanted a 4:1 ratio between NBUF and NHBUFS,
with NHBUFS being a power of 2.  This later changed to a 1:2 ratio
on MP systems.  Either way, make sure that NHBUFS is the right size
for NBUF=100000, probably around 65536 or 32768.

> Currently, SDSKOUT = 4, and I am not sure what to increase that to.
> Is there a way of determinign a good first guess, similar to basing NBUF of the amount of
> free memory?
> I will probably set this at boot time, too, rather than rebuilding the kernel.



I'd set it as high as I could, generally 256, based on the mtune entries.  The higher
the number, the harder the SCSI bus will be working.  I have seen instances where
increasing this number caused the system to crash, due to the quality of the
SCSI bus/termination.  Go neutral, bump it to 128 and see what happens.




> Is there a performance boost building these settings into the kernel or will the setting
> at boot up be similar?



No idea.










> > Get a better disk subsystem :-)
> >

> We have a DPT Century SCSI 3-channel Controller, with on-board memory.
> We have RAID1 and one of the RAID5 disks on one channel.
> We have the other three disks of the RAID5 array on the second channel.
> All CD_ROMs and tape drives are on their own channel.

> Each disk is Cheetah ST39103LW (10,000rpm, blah blah blah)..

> Will these settings (SDSKOUT and NBUF) interact detrimentally with the DPT's on-board
> cache?



Got me beat.  Haven't done OSR5 performance tuning for 3 years, at least :-)




> Thanks for this advise.  The concensus is to fix the disk problem.



No problem.  Since the disk system seems pretty beefy, I wonder if the program
is performing all it's writes synchronously, which would cause these delays given
the number of writes that are happening.  This may be a setting within the program
that can be changed.  I suspect that by examining the file table for the program
you could determine if this was true.  There's probably an easier way, but I can't
remember it :-)





--
Jim Sullivan
Director, North American System Engineers
Tarantella!  http://www.tarantella.com
831 427 7384 - jim@tarantella.com





Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


LOD Communications, Inc.

Views for this page
Today This Week This Month This Year  Overall
1210169 1,099

/Bofcusm/777.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - Newsgroup




Unix/Linux Consultants

Your ad here - $48.00 yearly!

larryi@ccamedical.com SCO OS5, Debian Linux, RedHat Linux, MySQL, Apache, AJAX development using dXport/dL4/Unibasic, Windows Connectivity, Sharing Resouces, Automation, Shell Scripting


http://www.breakthru.com.au SCO (Openserver and Unixware), Unix, Solaris and Linux Consulting services including: Secure Networking Solutions; Linux based Firewalls; Backup Solutions; Secure Home to Office Network Setup; Phone, Remote and On-Site Support available - Satisfaction Guaranteed!


http://bcstechnology.net Full service Linux & UNIX systems integrator; Windows to UNIX/Linux Client-Server Specialist; Secure E-Mail & Website Hosting; Thoroughbred Software Developer; Custom Industrial Automation; Hardware & Electronics Experts; In Business Since 1985.



Twitter
  • Nov 20 07:43
    I took a random stab at the free upgrades and ordered a new cell phone. Didn't check features or reviews. Hope I don't hate it.
  • Nov 19 18:52
    We'll be spending just as much on holiday gifts as we did last year: exactly $0. Doing our part to help the retail stores as we always do.




card_image








Change Congress


Related Posts