APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > performance tuning sar nhbufs memory ––>Re: Performancequestion
Printer Friendly Version




News Group Posts

performance tuning sar nhbufs memory




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
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>












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
 

If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



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

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - Memory
       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here