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

Re: [Xen-users] xl cpupool


  • To: Linux Hack <linuxhack2012@xxxxxxxxx>
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Mon, 04 Feb 2013 08:21:09 +0100
  • Cc: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • Delivery-date: Mon, 04 Feb 2013 07:22:37 +0000
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=biwKZwHHTsJVkz1cEXMljVbvnvzQpKEjIBzCUTJtaIeqrpI7vaM/x79L SYdX01sh8hNDkmirkBeOxN0MXVNgO7dBlLz8wyfKMWE5gqtpy3mlPFtTV AiG5hcof8qDuYWLEYYh+qLbUWsA32vfUrIGG2g92HMp0DEtvgsVfQQSYT pPTju7t2SukDRXLDAY06NOiI9GJv6QoDBxRPU4jP+Wui5Zaz8IR1BoP7W Ydpt/zOtGBT9RlCnN9DbIk6Sni+je;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

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@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®.