?
Solved

Causes of high wait i/o

Posted on 2002-07-18
2
Medium Priority
?
498 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 400 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
Suggested Courses
Course of the Month16 days, 16 hours left to enroll

864 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