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@lists.xensource.com http://lists.xensource.com/xen-users
--- On Wed, 5/5/10, Eddie Chapman <eddie@ehuk.net> wrote:> From: Eddie Chapman <eddie@ehuk.net> > Subject: [Xen-users] gcc optimizations inside pv_ops DomU > To: xen-users@lists.xensource.com > Date: Wednesday, May 5, 2010, 8:07 PM > 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 >Did you try a PV install of Centos 5.4 using a Centos repo or iso? The anaconda installer will install kernel-xen and the correct grub entries will be entered (sans hypervisor- xen.gz). Using pv_ops kernel of the day is unnecessary and might lead to all kinds of trouble. -- Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 06/05/10 06:03, Mark Pryor wrote:> Did you try a PV install of Centos 5.4 using a Centos repo or iso? The anaconda installer will install kernel-xen and the correct grub entries will be entered (sans hypervisor- xen.gz). > > Using pv_ops kernel of the day is unnecessary and might lead to all kinds of trouble. >Hi Mark, Just to clarify, there are no problems at all with the installation itself or the guest DomU, it is all running like a dream, there are no problems here. This was more of a general question about compiling an application inside the DomU and gcc optimizations. Anyone? regards, Eddie _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users