On 10/19/2009 06:46 PM, Ryota Ozaki wrote:
Hi, I have a question on cputime accounting of a guest. CPU time of a guest is always accounted as 'user' time of cpustat even if nice value of the guest is higher than 0. Is there a reason to do so? I think the cpu time of the guest should be accounted into 'nice' as same as a normal process. Am I wrong?
Hm, guest time is accounted separately, and added to user time in /proc (so tools that don't know about guest time can read it as user time).
Looks like we need to add a separate guest_nice, or get rid of guest time altogether.
-- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html