[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] compiler options for xen



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.