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

Re: [Xen-users] compiler options for xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] compiler options for xen
From: Ernst Bachmann <e.bachmann@xxxxxxxx>
Date: Sat, 11 Mar 2006 22:50:52 +0100
Delivery-date: Sat, 11 Mar 2006 21:51:36 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060311163447.htr9qhwq8sc4cgg0@xxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20060311163447.htr9qhwq8sc4cgg0@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
On Saturday 11 March 2006 22:34, Brock Palen wrote:
> I use gentoo on xen, in the gentoo docs (gentoo compiles everything
> almost)  they have options like '-march=pentium3'  should i be using
> the gcc option for the cpu im using (pentium3),  I understand that
> domU's and even dom0's speak the "XEN" arch,  so could using cpu
> specific flags like this cause problems?  what are other xen+gentoo
> users using and have you had any problems?
> Brock

The gcc mcpu / mtune options only define which instruction set is available, 
and give hints on how to order intructions for speed. Since xen doesn't 
emulate the cpu, but just "shares" the real one between multiple domains, you 
can use all cpu-specific optimization options.
(I'm running several domains with -march=nocona, for example)

Only exception would be the -mno-tls-direct-segrefs option, which should be 
enabled in all domains, but I think the gentoo-xen-howto covers that.

/Ernst

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

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