Re: doubled idle count

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ferenc Wagner
Date: Thursday, September 18, 2008 - 2:24 pm

Jeremy Fitzhardinge <jeremy@goop.org> writes:


Sure, see below:


Here I made the processor (a single virtual one) fully busy.


Above, the difference of the first numbers is 102, which, given that
USER_HZ=100, means that the CPU spent all its cycles during the sleep
processing user code (the yes running in the background).


Now the CPU is idle again, I killed the yes started above.


And here, the difference of the fourth numbers is 200, meaning that
the processor spent 200% of its time in idle state during this second!
(If I read the procfs documentation correctly, of course.)

This seems wrong by a factor of two, as there are only 100 "ticks" in
a second (actually, this kernel is tickless, but USER_HZ=100, as I'm
running a 686 kernel).


Yes.


I was very much surpised myself, too...  The version numbers surely
are the same, but the binaries came from different downloads.  I'll
compare them, and also start another domU next to the misbehaving one.


Yes, both Xen instances run other domUs, and at abount one on both
consumes significant CPU.  The other domUs are mostly idle, and the
dom0s too.
-- 
Thanks for taking time,
Feri.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
doubled idle count, Ferenc Wagner, (Thu Sep 18, 5:26 am)
Re: doubled idle count, Jeremy Fitzhardinge, (Thu Sep 18, 12:34 pm)
Re: doubled idle count, Ferenc Wagner, (Thu Sep 18, 2:24 pm)
Re: doubled idle count, Ferenc Wagner, (Fri Sep 19, 6:20 am)
Re: doubled idle count, Ferenc Wagner, (Fri Nov 7, 8:20 am)