Re: [PATCH 04/17] Fix deep C-state TSC desynchronization

2010-06-16 Thread Jason Wang
Zachary Amsden wrote: When CPUs with unstable TSCs enter deep C-state, TSC may stop running. This causes us to require resynchronization. Since we can't tell when this may potentially happen, we assume the worst by forcing re-compensation for it at every point the VCPU task is descheduled.

Re: [PATCH 04/17] Fix deep C-state TSC desynchronization

2010-06-16 Thread Glauber Costa
On Mon, Jun 14, 2010 at 09:34:06PM -1000, Zachary Amsden wrote: When CPUs with unstable TSCs enter deep C-state, TSC may stop running. This causes us to require resynchronization. Since we can't tell when this may potentially happen, we assume the worst by forcing re-compensation for it at

Re: [PATCH 04/17] Fix deep C-state TSC desynchronization

2010-06-16 Thread Zachary Amsden
On 06/15/2010 10:10 PM, Jason Wang wrote: Zachary Amsden wrote: When CPUs with unstable TSCs enter deep C-state, TSC may stop running. This causes us to require resynchronization. Since we can't tell when this may potentially happen, we assume the worst by forcing re-compensation for it

Re: [PATCH 04/17] Fix deep C-state TSC desynchronization

2010-06-16 Thread Zachary Amsden
On 06/16/2010 03:24 AM, Glauber Costa wrote: On Mon, Jun 14, 2010 at 09:34:06PM -1000, Zachary Amsden wrote: When CPUs with unstable TSCs enter deep C-state, TSC may stop running. This causes us to require resynchronization. Since we can't tell when this may potentially happen, we assume

[PATCH 04/17] Fix deep C-state TSC desynchronization

2010-06-15 Thread Zachary Amsden
When CPUs with unstable TSCs enter deep C-state, TSC may stop running. This causes us to require resynchronization. Since we can't tell when this may potentially happen, we assume the worst by forcing re-compensation for it at every point the VCPU task is descheduled. Signed-off-by: Zachary

Re: [PATCH 04/17] Fix deep C-state TSC desynchronization

2010-06-15 Thread Avi Kivity
On 06/15/2010 10:34 AM, Zachary Amsden wrote: When CPUs with unstable TSCs enter deep C-state, TSC may stop running. This causes us to require resynchronization. Since we can't tell when this may potentially happen, we assume the worst by forcing re-compensation for it at every point the VCPU

Re: [PATCH 04/17] Fix deep C-state TSC desynchronization

2010-06-15 Thread Zachary Amsden
On 06/14/2010 10:09 PM, Avi Kivity wrote: On 06/15/2010 10:34 AM, Zachary Amsden wrote: When CPUs with unstable TSCs enter deep C-state, TSC may stop running. This causes us to require resynchronization. Since we can't tell when this may potentially happen, we assume the worst by forcing