Re: TSC deadline timer in guests vs. migration?

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

 



On Mon, Jul 04, 2016 at 01:01:42PM +0200, Paolo Bonzini wrote:
> Can bad things happen if a guest using the TSC deadline timer is
> migrated?  The guest doesn't re-calibrate the TSC after migration, and
> the TSC frequency can and will change unless your data center is
> perfectly homogeneous.

I believe it can. Also: what about everything else the guest may
try to use the TSC for? (even without TSC deadline timer)

>From a quick look at Linux code, it looks like the TSC
clocksource code is more strict (but the exact rules are hard to
follow), but it will still use the TSC in native_sched_clock().

What about kvmclock? Do we have a mechanism to trigger a re-read
of TSC frequency from the hypervisor?

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