Solved

Causes of high wait i/o

Posted on 2002-07-18
2
480 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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 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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

758 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

21 Experts available now in Live!

Get 1:1 Help Now