LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-12-2010, 12:37 PM   #1
zQUEz
Member
 
Registered: Jun 2007
Distribution: Fedora, RHEL, Centos
Posts: 294

Rep: Reputation: 54
Clarify IOSTAT and how to interpret the data


i'm trying to get a better grasp on what iostat is telling me when looking at disk performance of a Linux system.
Take this point in time snapshot for example:

Device: rrqm/s wrqm/s r/s w/s rMB/s wMB/s avgrq-sz avgqu-sz await svctm %util
dm-8 0.00 0.00 191.20 858.20 16.76 3.35 39.25 39.64 37.78 0.18 19.20
dm-9 0.00 0.00 163.40 780.60 14.52 3.05 38.11 39.96 42.33 0.18 16.98
dm-10 0.00 0.00 163.40 780.60 14.52 3.05 38.11 39.96 42.33 0.18 17.00
dm-11 0.00 0.00 191.20 858.20 16.76 3.35 39.25 39.64 37.78 0.18 19.26

1) I understand svctm to be the time that my disk subsystem takes to process the request. In this example it is <1ms. I also understand await to be the avg. time it took for an I/O request to be completed from start to finish. Does this mean then:
await - svctm = time I/O request was waiting to be processed.

2) Is %util the percentage of used CPU time or the percentage of available CPU time? In otherwords, for dm-8, if my CPU was 50% utilized during the same period, is the %util line telling me that 19.20% of that 50% was spent doing disk I/O or is it telling me that 19.20% of available CPU was spent doing disk I/O and hence 50% doing something else?

3) How would I interpret whether the disk here is the bottleneck? Or is there not enough data?
My thought is that the svctm is really good. I also think that the rq-sz and qu-sz is good because they are closely aligned meaning that as requests come in, they are going right out again. But then I don't know why the await is so high.

thanks for any pointers.
 
Old 10-13-2010, 05:00 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,437

Rep: Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203
iostat is a part of sysstat - go to the homepage and read the Documentation link.
 
0 members found this post helpful.
Old 10-13-2010, 05:17 AM   #3
zQUEz
Member
 
Registered: Jun 2007
Distribution: Fedora, RHEL, Centos
Posts: 294

Original Poster
Rep: Reputation: 54
Or I can just read the man pages (same material), which I have already done. But thanks for your time spent responding.
 
Old 10-13-2010, 05:27 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,437

Rep: Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203Reputation: 4203
If it was the same you'd know not to trust the svctm field.
 
  


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
How do I interpret the log data from a harddrive's S.M.A.R.T log? mysteron Linux - Hardware 2 09-29-2008 06:45 AM
Please clarify instructions for installation Detour Linux - Wireless Networking 3 11-09-2004 12:50 AM
some questions to clarify dimsun Linux - Newbie 4 11-05-2004 09:28 PM
Clarify something about Fedora for me? purplecow Fedora 12 11-05-2004 05:36 PM
help me clarify shanenin Linux - Software 1 11-06-2003 09:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:30 PM.

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