|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been l
To: |
Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx> |
Subject: |
Re: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for) |
From: |
Keir Fraser <keir.fraser@xxxxxxxxxxxxx> |
Date: |
Mon, 21 Sep 2009 19:17:21 +0100 |
Cc: |
JeremyFitzhardinge <jeremy@xxxxxxxx>, "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "kurt.hackel@xxxxxxxxxx" <kurt.hackel@xxxxxxxxxx>, "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, Alex Williamson <alex.williamson@xxxxxx> |
Delivery-date: |
Mon, 21 Sep 2009 11:19:12 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<d7e3623f-16ff-4688-b0b0-50f37bab84e6@default> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
Aco65Nq9iRLEfSWPRLOy942TkS0DDAAAufa9 |
Thread-topic: |
[Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for) |
User-agent: |
Microsoft-Entourage/12.20.0.090605 |
On 21/09/2009 18:56, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:
> By constant_tsc I mean that CPUID:0x80000007:EDX:8
> is set.
Well, if it is at least true for 99% of systems, then it might be worth
enabling constant_tsc support by default, and detect TSC divergence at
runtime and disbale dynamically. I think that's what Linux does (i.e., it
has a fallback at runtime if its TSC assumptions turn out to be wrong).
-- Keir
> Upstream Linux (2.6.30) now uses the term
> X86_FEATURE_TSC_RELIABLE to indicate that tsc is
> consistent across cores and sockets and
> X86_FEATURE_NONSTOP_TSC to indicate that it
> doesn't stop in deep C-states (which Xen compensates
> for) and X86_FEATURE_CONSTANT_TSC to indicate that
> it stays running across P/T state transitions.
> On Intel systems, CPUID:0x80000007:EDX:8 enables
> all of these feature flags. (Interestingly, on
> AMD systems, X86_FEATURE_TSC_RELIABLE is *not*
> set by this bit... so my information from AMD is
> not represented in Linux (yet)). Note also that
> in linux-2.6.30/arch/x86/kernel/cpu/vmware.c, both
> X86_FEATURE_CONSTANT_TSC and X86_FEATURE_TSC_RELIABLE
> get set.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for), (continued)
- RE: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for), Jan Beulich
- RE: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for), Dan Magenheimer
- RE: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for), Jan Beulich
- RE: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for), Dan Magenheimer
- Re: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for), Keir Fraser
- Re: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for), Keir Fraser
- RE: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for), Dan Magenheimer
- Re: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for), Keir Fraser
- RE: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for), Dan Magenheimer
- Re: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for),
Keir Fraser <=
- RE: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for), Dan Magenheimer
- RE: [Xen-devel] rdtscP and xen (and maybe the app-tsc answer I've been looking for), Jan Beulich
|
|
|
|
|