Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Causes of high wait i/o

Posted on 2002-07-18
2
Medium Priority
?
492 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

609 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