LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization
User Name
Password
Linux - Virtualization This forum is for the discussion of all topics relating to Linux Virtualization. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
LinkBack Search this Thread
Old 02-07-2012, 08:01 AM   #1
tobylockyer
LQ Newbie
 
Registered: May 2011
Posts: 12

Rep: Reputation: Disabled
XenServer high IoWait (tracking down the source)


Hey, so I have a few servers on my XenServer, and I don't know how to track down the problem I'm seeing:

Every so often it seems the HyperVisor has a lot of ioWait:


12:20:01 PM all 0.05 0.00 0.05 0.74 0.23 98.93
12:30:01 PM all 0.26 0.00 11.68 7.63 0.80 79.63
12:40:01 PM all 0.07 0.00 1.84 1.52 0.55 96.01
12:50:01 PM all 0.04 0.00 0.06 0.90 0.44 98.56
01:00:01 PM all 0.05 0.00 0.15 1.22 0.27 98.30
01:10:02 PM all 0.10 0.00 0.16 3.10 0.32 96.31
01:20:01 PM all 0.05 0.00 0.06 1.25 0.29 98.35
01:30:01 PM all 0.28 0.00 10.79 13.55 0.79 74.58


This then impacts the Vm's, mainly one main VM, which is probably the cause, but I'm not sure where to start finding the problem.

The main VM on the server has the following:


12:25:02 all 2.88 0.00 5.40 10.25 0.00 81.47
12:35:01 all 2.98 0.00 7.35 15.35 0.00 74.32
12:45:01 all 3.14 0.00 0.59 0.85 0.00 95.41
12:55:01 all 3.46 0.00 0.65 0.72 0.00 95.17
13:05:01 all 3.32 0.00 0.58 1.45 0.00 94.65
13:15:01 all 3.56 0.00 0.68 0.84 0.00 94.92
13:25:01 all 3.14 0.00 5.17 13.10 0.00 78.59
13:35:01 all 4.02 0.00 7.53 14.54 0.00 73.92


I hope you guys can help me, or at least point me towards what else to investigate!
 
Old 02-07-2012, 05:31 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 10,459

Rep: Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623
iostat output would be a better place to look - at least then you'd have an idea of who is generated the I/O load.
Depending on your sysstat level (and kernel options) it also has pidstat, but that is only interactive.

collectl allows you to drill down to the process level after the event. You might want to consider that as an option (in future).
 
Old 02-13-2012, 02:45 PM   #3
markseger
Member
 
Registered: Jul 2003
Posts: 185

Rep: Reputation: 22
If you delete every tool that shows IOWAIT or simply ignore it, you'd be doing yourself a big favor. That's one of the most useless counters there is because it does NOT indicate any real CPU load and most people do not realize this. In fact, there might be a few tools floating around that include it when they report total CPU load and they shouldn't.
-mark
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
openvz cpanel high iowait nehro Linux - Virtualization 0 04-21-2011 04:44 PM
[SOLVED] High iowait%. How to find the cause? mario.almeida Linux - Server 2 10-02-2010 01:50 PM
High IOWait issue misterphyrephox Linux - Newbie 6 01-06-2010 05:32 PM
high IOWait on server when copying files from network InDubio Linux - Networking 2 03-12-2007 03:10 AM
high iowait in RHES sklam Red Hat 20 12-14-2006 12:35 PM


All times are GMT -5. The time now is 10:09 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration