Back when we were first setting up our xen systems, it was recommended practice to pin the cpu''s on your DomUs instead of allowing xen to manage them. Is this still the suggested practice? - Nathan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Brian Krusic
2011-Jan-18 01:04 UTC
Re: [Xen-users] Pinning cpu''s still suggested practice?
Well, in my humble opinion; yes. I also prevent ballooning by specifying mem for my dom0 in grub. While not on a massive scale, all my Xen boxes have been extremely reliable and fast. - Brian On Jan 17, 2011, at 4:48 PM, Nathan March wrote:> Back when we were first setting up our xen systems, it was > recommended practice to pin the cpu''s on your DomUs instead of > allowing xen to manage them. > > Is this still the suggested practice? > > - Nathan > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2011-Jan-18 02:35 UTC
Re: [Xen-users] Pinning cpu''s still suggested practice?
On Tue, Jan 18, 2011 at 7:48 AM, Nathan March <nathan@gt.net> wrote:> Back when we were first setting up our xen systems, it was recommended > practice to pin the cpu''s on your DomUs instead of allowing xen to manage > them. > > Is this still the suggested practice?IIRC the recommendation was not to pin domU to a certain CPU, but rather give dom0 a dedicated cpu/core, by: - set dom0 cpu to 1 - pin dom0 cpu to cpu0 - set domUs to use cpus other than cpu0 So in essence let Xen manage which cpu domU will run on, as long as it''s not cpu0. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steven Timm
2011-Jan-18 03:50 UTC
Re: [Xen-users] Pinning cpu''s still suggested practice?
A related question--it seems that the xen hypervisor kernel (as shipped with redhat) doesn''t recognize any NUMA structure that the machine may have. so if you pin, which we do sometimes, how to ensure that you get memory bank closest to your cpu? Steve On Mon, 17 Jan 2011, Nathan March wrote:> Back when we were first setting up our xen systems, it was recommended > practice to pin the cpu''s on your DomUs instead of allowing xen to manage > them. > > Is this still the suggested practice? > > - Nathan > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- ------------------------------------------------------------------ Steven C. Timm, Ph.D (630) 840-8525 timm@fnal.gov http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Group Leader. Lead of FermiCloud project. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Jan 17, 2011 at 7:50 PM, Steven Timm <timm@fnal.gov> wrote:> A related question--it seems that the xen hypervisor kernel (as shipped > with redhat) doesn''t recognize > any NUMA structure that the machine may have. so if you pin, which > we do sometimes, how to ensure that you get memory bank closest to your > cpu? > > Steve > >I think the NUMA structure is hidden from the VM as of xen 4.1. I don''t understand this choice either. I''d much prefer to have the same level of control as on bare metal and older Xen versions. -Bruce> > > On Mon, 17 Jan 2011, Nathan March wrote: > > Back when we were first setting up our xen systems, it was recommended >> practice to pin the cpu''s on your DomUs instead of allowing xen to manage >> them. >> >> Is this still the suggested practice? >> >> - Nathan >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > -- > ------------------------------------------------------------------ > Steven C. Timm, Ph.D (630) 840-8525 > timm@fnal.gov http://home.fnal.gov/~timm/ <http://home.fnal.gov/%7Etimm/> > Fermilab Computing Division, Scientific Computing Facilities, > Grid Facilities Department, FermiGrid Services Group, Group Leader. > Lead of FermiCloud project. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users