Hi, I''m just wondering is it possible, or planned for the new future, to balloon a XEN domU''s CPU cores? i.e. If I setup a domU on a Dual Quad Core machine, but only assign 2 CPU cores to it now, can I add some more later without rebooting? -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 7/29/2010 12:08 PM, Rudi Ahlers wrote:> Hi, > > I''m just wondering is it possible, or planned for the new future, to > balloon a XEN domU''s CPU cores? i.e. If I setup a domU on a Dual Quad > Core machine, but only assign 2 CPU cores to it now, can I add some > more later without rebooting? > >Without rebooting the domu or dom0? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers wrote:>I''m just wondering is it possible, or planned for the new future, to >balloon a XEN domU''s CPU cores? i.e. If I setup a domU on a Dual Quad >Core machine, but only assign 2 CPU cores to it now, can I add some >more later without rebooting?You can remove and add processors to a running guest, and they just get hotplugged - you can''t go above the number configured. However, I''m not aware of any means to start a guest with a different number of processors to that configured in the config file. I guess you''d have to knock up a simple wrapper script that would start the guest and then reconfigure the processors allocated to it. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Good day. As this exists in XCP, you can set up cpu-max to value not higher than available on host. And you can change amount of actually used CPU in realtime without reboot. And you can even create 10 VM with 4 vCPU on each running on host with 4 cores available. (they will have concurrent access according to vCPU scheduler). В Чтв, 29/07/2010 в 19:08 +0200, Rudi Ahlers пишет:> Hi, > > I''m just wondering is it possible, or planned for the new future, to > balloon a XEN domU''s CPU cores? i.e. If I setup a domU on a Dual Quad > Core machine, but only assign 2 CPU cores to it now, can I add some > more later without rebooting? >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
This can be done in XCP (so it can be done in xen): xe vm-param-set uuid=... max-vcpu=X xe vm-param-set uuid=... vcpu-at-startup=Y (and 1<=Y<=X) В Чтв, 29/07/2010 в 18:52 +0100, Simon Hobson пишет:> Rudi Ahlers wrote: > > >I''m just wondering is it possible, or planned for the new future, to > >balloon a XEN domU''s CPU cores? i.e. If I setup a domU on a Dual Quad > >Core machine, but only assign 2 CPU cores to it now, can I add some > >more later without rebooting? > > You can remove and add processors to a running guest, and they just > get hotplugged - you can''t go above the number configured. However, > I''m not aware of any means to start a guest with a different number > of processors to that configured in the config file. I guess you''d > have to knock up a simple wrapper script that would start the guest > and then reconfigure the processors allocated to it._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users