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-users

[Xen-users] gcc optimizations inside pv_ops DomU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] gcc optimizations inside pv_ops DomU
From: Eddie Chapman <eddie@xxxxxxxx>
Date: Thu, 06 May 2010 04:07:19 +0100
Delivery-date: Wed, 05 May 2010 20:09:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Eddie Chapman <eddie@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.9) Gecko/20100317 SUSE/3.0.4-2.3 Lightning/1.0b1 Thunderbird/3.0.4
Hello folks,

dom0: Xen 4.0, pv_ops 2.6.31.13, 64 bit
domU: Centos 5.4 with vanilla pv_ops 2.6.33.2, 32 bit, paravirtualized

My question is, if I compile something from source inside the DomU, will
gcc optimize for the Dom0 CPU (in this case an Intel Core2 Quad)?  i.e.
if I were to use -mtune=native and -march=native?

And, crucially, would I then gain the benefits of the gcc optimizations
or are they somehow rendered ineffective due to the fact that the dom0
is paravitualized?

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

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