Hi, Would it possible to create cpupools with xl after the server boot and then assign one cpu-pool to dom0 and another one for dom-u''s? Also is there any change to make this work on server startup? _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hi, Am 02.02.2013 00:53, schrieb Linux Hack:> Hi, > > Would it possible to create cpupools with xl after the server boot and > then assign one cpu-pool to dom0 and another one for dom-u''s?Yes. You have to (assuming Xen 4.2): 1. remove cpus from Pool-0 with "xl cpupool-cpu-remove" 2. reduce number of dom0 cpus to fit to reduced Pool-0 with "xl vcpu-set" 3. create the domU cpupool with "xl cpupool-create" 4. assign the free cpus to the new cpupool ("xl cpupool-cpu-add") 5. create the domUs with "pool=<cpupool>" to start them in the new cpupool (either in the config files of the domUs or as parameter of "xl create"> Also is there any change to make this work on server startup?You would have to add an init script in dom0. Juergen -- Juergen Gross Principal Developer Operating Systems PBG PDG ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967 Fujitsu Technology Solutions e-mail: juergen.gross@ts.fujitsu.com Domagkstr. 28 Internet: ts.fujitsu.com D-80807 Muenchen Company details: ts.fujitsu.com/imprint.html
Hi That''s something interesting. Would it possible to make this work on xm or xl tool stack on xen version 3.4.4/4.1.4? On Monday, February 4, 2013, Juergen Gross <juergen.gross@ts.fujitsu.com> wrote:> Hi, > > Am 02.02.2013 00:53, schrieb Linux Hack: >> >> Hi, >> >> Would it possible to create cpupools with xl after the server boot and >> then assign one cpu-pool to dom0 and another one for dom-u''s? > > Yes. > > You have to (assuming Xen 4.2): > > 1. remove cpus from Pool-0 with "xl cpupool-cpu-remove" > 2. reduce number of dom0 cpus to fit to reduced Pool-0 with "xl vcpu-set" > 3. create the domU cpupool with "xl cpupool-create" > 4. assign the free cpus to the new cpupool ("xl cpupool-cpu-add") > 5. create the domUs with "pool=<cpupool>" to start them in the new cpupool > (either in the config files of the domUs or as parameter of "xl create" > >> Also is there any change to make this work on server startup? > > You would have to add an init script in dom0. > > > Juergen > > -- > Juergen Gross Principal Developer Operating Systems > PBG PDG ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967 > Fujitsu Technology Solutions e-mail:juergen.gross@ts.fujitsu.com> Domagkstr. 28 Internet: ts.fujitsu.com > D-80807 Muenchen Company details:ts.fujitsu.com/imprint.html>_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Am 04.02.2013 08:43, schrieb Linux Hack:> Hi > > That''s something interesting. Would it possible to make this work on xm > or xl tool stack on xen version 3.4.4/4.1.4?3.4.4: no (cpupools were introduced in 4.1) 4.1.4: yes. Please note, that xl is marked as "experimental" in 4.1. xm should work. Juergen> > On Monday, February 4, 2013, Juergen Gross <juergen.gross@ts.fujitsu.com > <mailto:juergen.gross@ts.fujitsu.com>> wrote: > > Hi, > > > > Am 02.02.2013 00:53, schrieb Linux Hack: > >> > >> Hi, > >> > >> Would it possible to create cpupools with xl after the server boot and > >> then assign one cpu-pool to dom0 and another one for dom-u''s? > > > > Yes. > > > > You have to (assuming Xen 4.2): > > > > 1. remove cpus from Pool-0 with "xl cpupool-cpu-remove" > > 2. reduce number of dom0 cpus to fit to reduced Pool-0 with "xl vcpu-set" > > 3. create the domU cpupool with "xl cpupool-create" > > 4. assign the free cpus to the new cpupool ("xl cpupool-cpu-add") > > 5. create the domUs with "pool=<cpupool>" to start them in the new > cpupool > > (either in the config files of the domUs or as parameter of "xl > create" > > > >> Also is there any change to make this work on server startup? > > > > You would have to add an init script in dom0.-- Juergen Gross Principal Developer Operating Systems PBG PDG ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967 Fujitsu Technology Solutions e-mail: juergen.gross@ts.fujitsu.com Domagkstr. 28 Internet: ts.fujitsu.com D-80807 Muenchen Company details: ts.fujitsu.com/imprint.html
Ahh ok. Can you let me know what I need to modify on init script? On Monday, February 4, 2013, Juergen Gross <juergen.gross@ts.fujitsu.com> wrote:> Am 04.02.2013 08:43, schrieb Linux Hack: >> >> Hi >> >> That''s something interesting. Would it possible to make this work on xm >> or xl tool stack on xen version 3.4.4/4.1.4? > > 3.4.4: no (cpupools were introduced in 4.1) > > 4.1.4: yes. Please note, that xl is marked as "experimental" in 4.1. xm > should work. > > > Juergen > >> >> On Monday, February 4, 2013, Juergen Gross <juergen.gross@ts.fujitsu.com >> <mailto:juergen.gross@ts.fujitsu.com>> wrote: >> > Hi, >> > >> > Am 02.02.2013 00:53, schrieb Linux Hack: >> >> >> >> Hi, >> >> >> >> Would it possible to create cpupools with xl after the server bootand>> >> then assign one cpu-pool to dom0 and another one for dom-u''s? >> > >> > Yes. >> > >> > You have to (assuming Xen 4.2): >> > >> > 1. remove cpus from Pool-0 with "xl cpupool-cpu-remove" >> > 2. reduce number of dom0 cpus to fit to reduced Pool-0 with "xlvcpu-set">> > 3. create the domU cpupool with "xl cpupool-create" >> > 4. assign the free cpus to the new cpupool ("xl cpupool-cpu-add") >> > 5. create the domUs with "pool=<cpupool>" to start them in the new >> cpupool >> > (either in the config files of the domUs or as parameter of "xl >> create" >> > >> >> Also is there any change to make this work on server startup? >> > >> > You would have to add an init script in dom0. > > > -- > Juergen Gross Principal Developer Operating Systems > PBG PDG ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967 > Fujitsu Technology Solutions e-mail:juergen.gross@ts.fujitsu.com> Domagkstr. 28 Internet: ts.fujitsu.com > D-80807 Muenchen Company details:ts.fujitsu.com/imprint.html>_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hi Can anyone give me detail how to make cpupool work with init scripts? On Monday, February 4, 2013, Linux Hack <linuxhack2012@gmail.com> wrote:> Ahh ok. Can you let me know what I need to modify on init script? > > On Monday, February 4, 2013, Juergen Gross <juergen.gross@ts.fujitsu.com>wrote:>> Am 04.02.2013 08:43, schrieb Linux Hack: >>> >>> Hi >>> >>> That''s something interesting. Would it possible to make this work on xm >>> or xl tool stack on xen version 3.4.4/4.1.4? >> >> 3.4.4: no (cpupools were introduced in 4.1) >> >> 4.1.4: yes. Please note, that xl is marked as "experimental" in 4.1. xm >> should work. >> >> >> Juergen >> >>> >>> On Monday, February 4, 2013, Juergen Gross <juergen.gross@ts.fujitsu.com >>> <mailto:juergen.gross@ts.fujitsu.com>> wrote: >>> > Hi, >>> > >>> > Am 02.02.2013 00:53, schrieb Linux Hack: >>> >> >>> >> Hi, >>> >> >>> >> Would it possible to create cpupools with xl after the server bootand>>> >> then assign one cpu-pool to dom0 and another one for dom-u''s? >>> > >>> > Yes. >>> > >>> > You have to (assuming Xen 4.2): >>> > >>> > 1. remove cpus from Pool-0 with "xl cpupool-cpu-remove" >>> > 2. reduce number of dom0 cpus to fit to reduced Pool-0 with "xlvcpu-set">>> > 3. create the domU cpupool with "xl cpupool-create" >>> > 4. assign the free cpus to the new cpupool ("xl cpupool-cpu-add") >>> > 5. create the domUs with "pool=<cpupool>" to start them in the new >>> cpupool >>> > (either in the config files of the domUs or as parameter of "xl >>> create" >>> > >>> >> Also is there any change to make this work on server startup? >>> > >>> > You would have to add an init script in dom0. >> >> >> -- >> Juergen Gross Principal Developer Operating Systems >> PBG PDG ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967 >> Fujitsu Technology Solutions e-mail:juergen.gross@ts.fujitsu.com>> Domagkstr. 28 Internet: ts.fujitsu.com >> D-80807 Muenchen Company details:ts.fujitsu.com/imprint.html>>_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users