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

Re: [xen-devel] System time monotonicity



On 9/4/08 15:25, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

> Let me clarify... unless my reading of the code is wrong, ALL hvm
> guests that rely on ANY (virtual) platform timer are UNKNOWINGLY
> relying on the physical TSCs.  Thus if the underlying physical
> system has unsynchronized TSCs, different vcpus in an SMP HVM
> guest (or even the SAME vcpu when rescheduled on another pcpu)
> may find that consecutive reads of ANY (virtual) platform timer
> are unexpectedly non-monotonic, which violates the whole purpose
> of using a PLATFORM timer.

This is all true. The logic in vpt.c should be fixed to use Xen's concept of
system time and everything, guest TSC included, should be derived from that.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.