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 > scsi disk performance tuning wio sar ––>Re: Performancequestion
Printer Friendly Version




News Group Posts

scsi disk performance tuning wio sar



From: "James R. Sullivan" <jim@tarantella.com>
Newsgroups: comp.unix.sco.misc
Subject: Re: Performance question
Date: Wed, 26 Sep 2001 10:14:46 -0700
Message-ID: <3BB20D06.B88B3542@tarantella.com> 
References: <3BB02070.D66CBF1B@aot.com.au>
<GK7ytp.122y@wjv.com>
<3BB107B7.3807D71@aot.com.au> Trimmed and commented: Adrian wrote: > > Hi, > > Thanks for your prompt response. I actually thought I had posted the memory > section of the sar output. I should just post all of the output. See below. > > > Here is the whole sar output (with my comments/questions again): > > =========================== > > SCO_SV thor 3.2v5.0.5 PentII(D)ISA 09/25/2001 > > 10:22:49 %usr %sys %wio %idle (-u) > Average 9 28 45 18 > > 10:22:49 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s (-b) > Average 416 5953 93 83 119 31 0 0 > > 10:22:49 device %busy avque r+w/s blks/s avwait avserv (-d) > Average Sdsk-0 45.84 1.04 54.55 441.62 0.38 8.40 > Sdsk-2 100.00 1.05 122.42 554.50 0.54 10.28 Here is a problem, without a doubt. WaitIO (the wio in the first line), indicates a condition where a process is ready to run, but is blocked waiting for some IO event to clear. In all likelyhood, they are waiting for Sdsk-2 to become free. Some possibilities, drawn from old memories, would be: increase buffer cache. You have spare memory and are not swapping, so increasing the buffer cache would/could help. Your % of Read Cache is generally good. The write % is low, but you're probably writting to different parts of the disk/database so there's little you could do about that. I suspect that the program is writting with a sync of some sort, which may cause the significant waitio number. increase SDSKOUT. This used to be the number of SCSI transactions that the system would queue. A higher number wouuld queue more transactions and may inprove the disk performance. Get a better disk subsystem :-) > 10:22:49 runq-sz %runocc swpq-sz %swpocc (-q) > Average 1.7 100 > > => according to 'man sar' if runq-sz is >2 and %runocc is >90% then the > CPU is heavily loaded and response time will be degraded. > These results seem to concur with the CPU utilization above, suggesting > that CP is the bottleneck. Again, does this make sense? Not with your Disk situation. They're ready to run, but the disk is holding them back. Fix that first. Any time that system is in WaitIO, nothing is happening. In all my performance tuning over the years, I've always focused on reducing WaitIO when I see it. my $0.02, from an old SCO SE. -- 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:

       - Disks/Filesystems
       - Kernel
       - Performance
       - SCO_OSR5
       - SCSI




Unix/Linux Consultants

Skills Tests

Guest Post Here