WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [semi-urgent Xen CS question] Re: git commit 9fd67b4ed07

To: Andrew Lutomirski <luto@xxxxxxx>
Subject: Re: [Xen-devel] [semi-urgent Xen CS question] Re: git commit 9fd67b4ed0714ab718f1f9bd14c344af336a6df7 (x86-64: Give vvars their own page) breaks Xen PV guests (64-bit).
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Wed, 27 Jul 2011 23:07:42 -0700
Cc: Keir Fraser <keir.xen@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Wed, 27 Jul 2011 23:09:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAObL_7H9LVaXrXu_-2zOgri2XEVzJaE2VywciG1EJF56NJL0jA@xxxxxxxxxxxxxx>
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>
References: <CAObL_7HYJLN3Eq2Q4ESuU4=4230Xs37C6Jqn1OYApr2LXTvo3Q@xxxxxxxxxxxxxx> <CA54E6A4.1E91B%keir.xen@xxxxxxxxx> <CAObL_7G31QbwkRdmzf8ABFTmsKbmca=KPkQNM2J_jgT6VG6JqQ@xxxxxxxxxxxxxx> <CAObL_7Emqw0wg1pkvgYQBF7uPm5xCjFUpWsTso61-WRSoCtFzQ@xxxxxxxxxxxxxx> <1093cd3a-acfe-49ab-b410-9fb49b139816@xxxxxxxxxxxxxxxxx> <CAObL_7E1g_PqongTRm-Hve7ERurPtUh+JAj+1JGOTeOLK9mz4A@xxxxxxxxxxxxxx> <4E30317E.30706@xxxxxxxx> <CAObL_7FWi-kK0rK2m8OwTUEQtPZQZ0iP88A8WSkb4CNdu2YqLQ@xxxxxxxxxxxxxx> <4E3048B4.6020805@xxxxxxxx> <CAObL_7H9LVaXrXu_-2zOgri2XEVzJaE2VywciG1EJF56NJL0jA@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0
On 07/27/2011 09:33 PM, Andrew Lutomirski wrote:
> On Sandy Bridge, a null vsyscall takes 373 ns. Without
> VCGF_in_syscall, it's 457 ns. The change causes my little test app to
> get cs == __USER_CS.

Hm, 20% is more noticable than I would hope.  What about a regular syscall?

> I suspect that Sandy Bridge is just about the worst case.  syscall and
> sysret are amazingly fast on Sandy Bridge.
>

Yes, and one presumes it would only get worse.

    J

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>