OpenVZ Forum


Home » General » Support » Does 2.6.18 support/account io wait cpu time
Does 2.6.18 support/account io wait cpu time [message #13136] Mon, 21 May 2007 12:01 Go to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
Hello. I have been upgrading my nodes from openvz 2.6.9 to 2.6.18. One of the major indicators of a nodes workload to me is the % of time spent in iowait over various time periods. I immediately noticed that 2.6.18 reported no iowait which I assumed was due to better fs caching, prioritization, per ve io fairness, etc. But, now I think that iowait is included in idle time. After running processes which undoubtedly introduce iowait (raid recovery, mkfs, bonnie++, etc) to a system, none is accounted.

Am I missing something, is this a bug?

sar, dstat, vmstat, etc all report 0% iowait (but I think theres some there!)

12:00:01 AM CPU %user %nice %system %iowait %idle
12:10:01 AM all 0.33 0.00 0.48 0.00 99.19
12:20:01 AM all 0.27 0.00 0.37 0.00 99.36
12:30:01 AM all 0.22 0.00 0.33 0.00 99.45
12:40:01 AM all 1.55 0.01 0.73 0.00 97.71


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: Does 2.6.18 support/account io wait cpu time [message #13179 is a reply to message #13136] Tue, 22 May 2007 22:34 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
Kir, dev, Vasily- can you give me your thoughts on this? Do you know if the 2.6.18 kernel records cpu accoutning differently and I need to update vmstat?

This is rather important to me, because now I feel like I do not know how much cpu idle time there really is (as it could all be iowait).

Thanks!
Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: Does 2.6.18 support/account io wait cpu time [message #13188 is a reply to message #13179] Wed, 23 May 2007 08:10 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello Rick,

Sorry, I've somehow missed your message! Wink I can approve that in current 2.6.18 OVZ kernel iowait statistic is broken, so I filled the bug report: http://bugzilla.openvz.org/show_bug.cgi?id=588

Thank you for the report,
Vasily
Previous Topic: *SOLVED* Login to vm failed after Kernel update
Next Topic: *SOLVED* Can't access
Goto Forum:
  


Current Time: Sat Nov 09 04:01:25 GMT 2024

Total time taken to generate the page: 0.03233 seconds