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 Thu, Jan 28, 2016 at 03:50:30PM +0100, Paolo Bonzini 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 can't run a test myself ATM, but I'd try to with ntp disabled and see
if makes a difference.

Roman.
--
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