Re: [KVM Clock Synchronization 4/4] Add master clock for KVM clock

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Zachary Amsden
Date: Tuesday, January 4, 2011 - 2:50 pm

On 01/04/2011 08:20 AM, Marcelo Tosatti wrote:

By the kernel definition of stable TSC, yes.


The problem is that even if it is done only once, all the VCPUs perform 
the kvmclock update at different times, so they measure different 
kernel_ns values and hardware TSC values.  There will be a spread of 
measurement there, which is only +/- a few hundred cycles, but since 
there is a difference, the global view of kvm clock across multiple 
VCPUs can go backwards.

Zach
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [KVM Clock Synchronization 4/4] Add master clock for K ..., Zachary Amsden, (Tue Jan 4, 2:50 pm)