Re: [RFC v2 4/7] change kernel accounting to include steal time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/30/2010 03:20 PM, Peter Zijlstra wrote:
On Mon, 2010-08-30 at 15:17 -0400, Rik van Riel wrote:

When time is accounted as steal time, it is NOT accounted as
to the current process user/system/..., which in turn should
help it in the scheduler.

Am I overlooking something?

Yeah, the scheduler doesn't care about the user/system time accounting
at all... :-)

Uh oh. This would seem like something we'll want to fix
in an architecture independent way, so s390, etc. also
benefit from it.

I can see this being a real problem when the host and guest
OS have the same time slice - which is quite possible since
they may both be the same version of Linux.

Guest 1, alternating between processes A and B, may end up
with process A getting a lot of actual CPU time, and process
B being scheduled in when the VCPU itself is not running...

--
All rights reversed
--
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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux