David Erickson
2011-Jan-03 05:57 UTC
[Xen-users] XenServer adding additional CPUs to the control domain?
Hi all, I have a large pool and when it syncs up the load on the control domain of my pool is pretty high (I''ve seen up to 77..), I''d like to add more than 1 cpu to it, is that possible? I tried the suggestion "echo 1 > /sys/devices/system/cpu/cpu1/online" followed by a reboot but this didn''t take, upon reboot all the cpus are back off. Thanks in advance- David _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2011-Jan-03 07:06 UTC
Re: [Xen-users] XenServer adding additional CPUs to the control domain?
On Mon, Jan 3, 2011 at 12:57 PM, David Erickson <halcyon1981@gmail.com> wrote:> Hi all, > I have a large pool and when it syncs up the load on the control > domain of my pool is pretty high (I''ve seen up to 77..), I''d like to > add more than 1 cpu to it, is that possible? I tried the suggestion > "echo 1 > /sys/devices/system/cpu/cpu1/online" followed by a reboot > but this didn''t take, upon reboot all the cpus are back off.On "good" xen+dom0 kernel versions (like the one bundled in RHEL5), a simple "xm vcpu-set 0 4" (to assign 4 cpus to dom0) will do the trick just fine. On some "bad" xen+dom0 combinations, you might need to run "echo 1 > /sys/devices/system/cpu/cpu1/online" (no reboot needed) in addition to xm vcpu-set. On REALLY bad combination, even the above command won''t work. So my suggestion is try "xm vcpu-set" route, and if doesn''t work, you should seriously consider changing xen/dom0 kernel combination. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2011-Jan-05 10:01 UTC
Re: [Xen-users] XenServer adding additional CPUs to the control domain?
On Mon, Jan 03, 2011 at 02:06:13PM +0700, Fajar A. Nugraha wrote:> On Mon, Jan 3, 2011 at 12:57 PM, David Erickson <halcyon1981@gmail.com> wrote: > > Hi all, > > I have a large pool and when it syncs up the load on the control > > domain of my pool is pretty high (I''ve seen up to 77..), I''d like to > > add more than 1 cpu to it, is that possible? I tried the suggestion > > "echo 1 > /sys/devices/system/cpu/cpu1/online" followed by a reboot > > but this didn''t take, upon reboot all the cpus are back off. > > On "good" xen+dom0 kernel versions (like the one bundled in RHEL5), a > simple "xm vcpu-set 0 4" (to assign 4 cpus to dom0) will do the trick > just fine. > > On some "bad" xen+dom0 combinations, you might need to run "echo 1 > > /sys/devices/system/cpu/cpu1/online" (no reboot needed) in addition to > xm vcpu-set. On REALLY bad combination, even the above command won''t > work. > > So my suggestion is try "xm vcpu-set" route, and if doesn''t work, you > should seriously consider changing xen/dom0 kernel combination. >I think he''s using Citrix XenServer, so "xm" tricks won''t do it. I''m not sure if XenServer has switched to multi-vcpu dom0 yet.. maybe in 5.6 FP1 ? I know in earlier versions there were some bugs if you enabled>1 vcpus manually..Anyway, XenServer/XCP is planning to move to multi-vcpu dom0 at some point.. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pekka.Panula@sofor.fi
2011-Jan-05 10:55 UTC
Re: [Xen-users] XenServer adding additional CPUs to the control domain?
Hi I just checked that on my 5.6.0 FP1 dom0 has 4 CPU:s available (it has total 24 cores, 2*6+HT cores), so i guess FP1 has switched to multi-vcpu, v5.6.0 i have only 1 cpu.> I''m not sure if XenServer has switched to multi-vcpu dom0 yet.. > maybe in 5.6 FP1 ? > > I know in earlier versions there were some bugs if you enabled > >1 vcpus manually.. > > Anyway, XenServer/XCP is planning to move to multi-vcpu dom0 > at some point.. >Terveisin/Regards, Pekka Panula, Sofor Oy - Jatkuvat palvelut _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2011-Jan-05 13:21 UTC
Re: [Xen-users] XenServer adding additional CPUs to the control domain?
On Wed, Jan 05, 2011 at 12:55:48PM +0200, Pekka.Panula@sofor.fi wrote:> Hi > > I just checked that on my 5.6.0 FP1 dom0 has 4 CPU:s available (it has > total 24 cores, 2*6+HT cores), so i guess FP1 has switched to multi-vcpu, > v5.6.0 i have only 1 cpu. >Ok, thanks for confirming. That means (upcoming) XCP 1.0 will be multi-vcpu dom0 aswell. -- Pasi> > I''m not sure if XenServer has switched to multi-vcpu dom0 yet.. > > maybe in 5.6 FP1 ? > > > > I know in earlier versions there were some bugs if you enabled > > >1 vcpus manually.. > > > > Anyway, XenServer/XCP is planning to move to multi-vcpu dom0 > > at some point.. > > > > Terveisin/Regards, > Pekka Panula, Sofor Oy - Jatkuvat palvelut> _______________________________________________ > 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