WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Limiting number of CPU for Dom0.

To: "Marcin" <migor@xxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Limiting number of CPU for Dom0.
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 13 Dec 2005 02:44:30 -0000
Cc: ian.pratt@xxxxxxxxxxxx
Delivery-date: Tue, 13 Dec 2005 02:46:03 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcX/XPb1D+RqLlroQieWGWxPxJf51QAMfyLg
Thread-topic: [Xen-users] Limiting number of CPU for Dom0.
 > 1. Is is possible to limit the number of CPU available to Domain0?
> I've got Tyan 8221 motherboard, two dual core Opteron 280, 
> with xen-3.0 32bit installed and four domains.
> I'd like to make the following CPU assignment:
> Dom0: cpu=0-2
> Dom1: cpu=3
> Dom2: cpu=3
> Dom3: cpu=3.
> 
> I tried to use:
>         xm vcpu-set Domain-0 3
> command, but with no luck.

That command should work. Alternatively, just edit your xend-config.sxp
to set dom0-num-cpus

> Is there something like boot param for number of CPU?

On the linux command line you can set "maxcpus=3."

Ian

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>