Solved

Causes of high wait i/o

Posted on 2002-07-18
2
483 Views
Last Modified: 2009-07-29
I've got this voice application running on AIX.  ever so often you just have to restart that application since everything comes to almost a halt.  I did run just the basic sar.  The only thing i noticed was the wait i/o was 97%  and pct idle was 3%.  How do i determine what the causes are? This may be a seperate question, but how do i set up sar to give the best info plus i think it is supposed to give reports.
0
Comment
Question by:xoxomos
2 Comments
 
LVL 3

Accepted Solution

by:
gandalf94305 earned 100 total points
ID: 7163591
Voice applications may cause significant data traffic to your disks. A large fraction of io waits indicates one of two things:

- your disks are too slow for the volume, i.e., data arrival rates are higher than rates of storing things on disk

- there is some exclusive locking going one in your application and the disks aren't really the problem.

If the system gradually slows down, this would add a bias towards the first possibility. I suggest you have a look at disk transfer rates (iostat) and at the same time at page faults and swapping rates (vmstat). Processes may appear to be in io wait when they are in fact in page wait.

Well-written voice applications will use asynchronous io to avoid getting into io wait situations where not writing is the bottleneck but rather synchronously waiting for the results to be delivered.

High io wait rates may also occur if your application writes data in very small chunks to disk (check the number of syscalls per second, I suspect that to be rather high, in situations where your system slows down, the number of interrupts is probably also high).

And finally, the source may not be the disks but the network or some slow serial line you connect to. In that case, check data transfer rates over these communication links.

So, these are my ideas... let's see if this is of any help.

Cheers,
--gandalf.
0
 

Author Comment

by:xoxomos
ID: 7172393
Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to check for shares on aix 1 63
Oracle Finace 3 66
check unix curl command return value 7 82
Unix Script: Loop over all days of a month 17 87
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

4 Experts available now in Live!

Get 1:1 Help Now