Re: [PATCH kvm-unit-tests] KVM: x86: add hyperv clock test case

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

 




On 28/01/2016 19:53, Roman Kagan wrote:
>> > Still, the drift that I get on my machine is really excessive, and I
>> > should look into it more.  Marcelo, does it ring a bell?  Any reason why
>> > get_kernel_ns() would be more precise than kvmclock?  The computer has
>> > been up only for about 25 hours.
> Are you running an ntp client on the host by chance?
> 
> get_kernel_ns() goes through timekeeper, and it may have slightly
> different idea of the tsc rate than tsc_khz calculated early at boot.

I get the same result both with and without chrony running (though in
one case the actual tsc_khz is greater than the initial measurement, and
in the other case it is smaller).

Paolo
--
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