Solved

Causes of high wait i/o

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

773 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