Re: Clock jumps

From: Zachary Amsden
Date: Thu May 27 2010 - 18:22:50 EST


On 05/27/2010 12:12 PM, Bernhard Schmidt wrote:
On 27.05.2010 23:53, Zachary Amsden wrote:

Hello Zachary,

I have server side fixes for this kvm-clock which seem to give me a
stable clock on this machine, but for true SMP stability, you will need
Glauber's guest side changes to kvmclock as well. It is impossible to
guarantee strictly monotonic clocksource across multiple CPUs when
frequency is dynamically changing (and also because of the C1E idle
problems).

Is all this relevant only when the host is on TSC? Because I have seen these jumps when the host was on HPET and the guests were using kvm-clock.

It doesn't matter what the host uses (although the host on TSC with unstable TSC can make things worse), tsc and kvmclock sources in the guest will be unstable regardless.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/