Re: [PATCH 05/17] Keep SMP VMs more in sync on unstable TSC

2010-06-16 Thread Zachary Amsden
On 06/16/2010 03:32 AM, Glauber Costa wrote: On Mon, Jun 14, 2010 at 09:34:07PM -1000, Zachary Amsden wrote: SMP VMs on machines with unstable TSC have their TSC offset adjusted by the local offset delta from last measurement. This does not take into account how long it has been since the m

Re: [PATCH 05/17] Keep SMP VMs more in sync on unstable TSC

2010-06-16 Thread Glauber Costa
On Mon, Jun 14, 2010 at 09:34:07PM -1000, Zachary Amsden wrote: > SMP VMs on machines with unstable TSC have their TSC offset adjusted by the > local offset delta from last measurement. This does not take into account how > long it has been since the measurement, leading to drift. Minimize the dr

Re: [PATCH 05/17] Keep SMP VMs more in sync on unstable TSC

2010-06-16 Thread Jason Wang
Zachary Amsden wrote: > SMP VMs on machines with unstable TSC have their TSC offset adjusted by the > local offset delta from last measurement. This does not take into account how > long it has been since the measurement, leading to drift. Minimize the drift > by accounting for any time differenc

Re: [PATCH 05/17] Keep SMP VMs more in sync on unstable TSC

2010-06-15 Thread Avi Kivity
On 06/15/2010 10:34 AM, Zachary Amsden wrote: SMP VMs on machines with unstable TSC have their TSC offset adjusted by the local offset delta from last measurement. This does not take into account how long it has been since the measurement, leading to drift. Minimize the drift by accounting for

[PATCH 05/17] Keep SMP VMs more in sync on unstable TSC

2010-06-15 Thread Zachary Amsden
SMP VMs on machines with unstable TSC have their TSC offset adjusted by the local offset delta from last measurement. This does not take into account how long it has been since the measurement, leading to drift. Minimize the drift by accounting for any time difference the kernel has observed. Si