|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [PATCH] softtsc (was RE: [Xen-devel] Guest TSC and Xen (Intel and AM
On 9/7/08 22:32, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:
> The attached patch adds a new Xen boot option "softtsc" that
> causes all hvm domains to trap and emulate all rdtsc instructions
> and fetch Xen system time instead of the hardware tsc. As
> a result, the processor will appear to be running at 1000.xyz MHz
> (where xyz indicates some fraction that seems to vary slightly
> across different boots). I've also added a line of output to
> "xm debug-key t" to report softsc and tsc-related CPU features.
>
> (Keir, though 3.3 functionality freeze is past, this is more of a
> diagnostic aid and defaults off, so I don't know if you would
> consider it for 3.3.)
Yes, I will take it, but have the following comments.
1. Why do you define new boolean 'constant_tsc'? Can you just use
test_bit(X86_FEATURE_CONSTANT_TSC)?
2. Your change in common/keyhandler.c breaks ia64. :-)
3. Your change to arch/x86/time.c looks unnecessary.
4. Should you catch SVM's RDTSCP vmexit as well as RDTSC?
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- RE: [Xen-devel] Guest TSC and Xen (Intel and AMD feedback please), (continued)
- RE: [Xen-devel] Guest TSC and Xen (Intel and AMD feedback please), Dan Magenheimer
- RE: [Xen-devel] Guest TSC and Xen (Intel and AMD feedback please), Tian, Kevin
- RE: [Xen-devel] Guest TSC and Xen (Intel and AMD feedback please), Zhang, Li
- RE: [Xen-devel] Guest TSC and Xen (Intel and AMD feedback please), Zhang, Li
- RE: [Xen-devel] Guest TSC and Xen (Intel and AMD feedback please), Zhang, Li
- Re: [Xen-devel] Guest TSC and Xen (Intel and AMD feedback please), Dave Winchell
- Re: [Xen-devel] Guest TSC and Xen (Intel and AMD feedback please), Keir Fraser
- RE: [Xen-devel] Guest TSC and Xen (Intel and AMD feedback please), Dan Magenheimer
- [PATCH] softtsc (was RE: [Xen-devel] Guest TSC and Xen (Intel and AMD feedback please)), Dan Magenheimer
- RE: [PATCH] softtsc (was RE: [Xen-devel] Guest TSC and Xen (Intel and AMD feedback please)), Zhang, Li
- Re: [PATCH] softtsc (was RE: [Xen-devel] Guest TSC and Xen (Intel and AMD feedback please)),
Keir Fraser <=
- RE: [PATCH] softtsc (was RE: [Xen-devel] Guest TSC and Xen (Intel and AMD feedback please)), Dan Magenheimer
- Re: [PATCH] softtsc (was RE: [Xen-devel] Guest TSC and Xen (Intel and AMD feedback please)), Keir Fraser
|
|
|
|
|