[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xl cpupool



Hi

Can anyone give me detail how to make cpupool work with init scripts?

On Monday, February 4, 2013, Linux Hack <linuxhack2012@xxxxxxxxx> 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@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx
>>> <mailto:juergen.gross@xxxxxxxxxxxxxx>> 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@xxxxxxxxxxxxxx
>> Domagkstr. 28                           Internet: ts.fujitsu.com
>> D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html
>>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.