xen-devel
[Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL
To: |
Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx> |
Subject: |
[Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL |
From: |
Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> |
Date: |
Mon, 27 Jul 2009 07:47:51 -0700 (PDT) |
Cc: |
"Dong, Eddie" <eddie.dong@xxxxxxxxx>, John Levon <levon@xxxxxxxxxxxxxxxxx> |
Delivery-date: |
Mon, 27 Jul 2009 07:48:39 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<4FA716B1526C7C4DB0375C6DADBC4EA341740F5E68@xxxxxxxxxxxxxxxxxxxxxxxxx> |
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 |
> > Can someone at Intel confirm or deny that VMware ESX
> > always traps rdtsc? If so, it is probably not hard
> > to write an application that works on VMware ESX (on
> > certain hardware) but fails on Xen.
>
> I'd be rather surprised if VMware trapped RDTSC. From what I
> gather, ESX3 doesn't make a great deal of use of VT for 32b
> guests, so at the very least it would be tricky to do
> anything about user space use of rdtsc.
Some googling and reading provides evidence that VMware
does indeed virtualize the TSC. The timekeeping paper
http://www.vmware.com/pdf/vmware_timekeeping.pdf
tells how to turn vTSC off, but says that turning it
off is no longer recommended. The ASPLOS paper
http://www.vmware.com/pdf/asplos235_adams.pdf
uses rdtsc as an example of how binary translation
is much faster than emulation or callout (though
their BT version fetches a stale TSC which afaict
doesn't solve the ordering problem).
Also, Avi Kivity tells me that the KVM folks have
also recently come to the conclusion that it is necessary
to emulate TSC, though KVM currently does not.
Dan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, (continued)
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Zhang, Xiantao
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Ian Pratt
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL,
Dan Magenheimer <=
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Zhang, Xiantao
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
- [Xen-devel] RE: TSC scaling and softtsc reprise, and PROPOSAL, Dan Magenheimer
- [Xen-devel] Re: TSC scaling and softtsc reprise, and PROPOSAL, Keir Fraser
|
|
|