LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-27-2008, 10:12 PM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Rep: Reputation: 34
Trace IO waits


Hi

I am have a 4 cpu 12G HP ProLiant DL580 G3, running Redhat AS3 (U 7).

When I do a top I can see some percentage if IO waits, can some one tell me or point to a document the will tell me how to do a trace on the process or processes which causing this IO wait

by the way the CPU utilization is over 90%

Thanks

Best regards
 
Old 08-28-2008, 12:01 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Just because you see "iowait" doesn't mean anybody is actually waiting on I/O. Semantics and statistics - what a mix ...
iowait says the CPU is idle, and there is I/O yet to complete. Possibly independent (and non related) events.

If you want to see what tasks are in uninterruptable sleep (usually disk I/O) try this
Code:
top -b -n 1 | awk '{if (NR <=7) print; else if ($8 == "D") {print; count++} } END {print "Total status D: "count}'
To find out what task(s) is/are doing the most I/O, you'll need a recent kernel with taskstats enabled - try iotop.py or collectl.
 
Old 08-28-2008, 02:58 AM   #3
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Original Poster
Rep: Reputation: 34
hi syg00

Thanks for the reply, but I am new to all this is there a document that I can refer to, at least get me started
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"killed" Message - how to trace/back trace ebinjose Linux - Kernel 1 01-29-2008 06:12 AM
30 second io waits with raid arrays on Centos 4.3 i86_64 kheldar Linux - Hardware 0 06-29-2006 12:24 PM
Kernel waits for unconnected hda AntonWert Linux - General 4 01-24-2006 04:44 AM
CPU waits endlessly during disk transfers frostschutz Linux - Hardware 2 12-18-2004 12:52 AM
Specific Tom Waits Picture dushkinup General 1 04-03-2004 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration