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

[Xen-users] Re: [Xen-devel] What's the different for "dom0_max_vcpus=4 d

To: Pasi Kärkkäinen <pasik@xxxxxx>, lei yang <yanglei.fage@xxxxxxxxx>
Subject: [Xen-users] Re: [Xen-devel] What's the different for "dom0_max_vcpus=4 dom0_vcpus_pin" and "dom0_max_vcpus=4" ?
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 21 May 2010 17:09:19 +0100
Cc: Xen Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 21 May 2010 09:19:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100521155545.GU17817@xxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acr4/hJ3sNDJvMYlTIG4pVh/+V1ZpAAAeVDO
Thread-topic: [Xen-devel] What's the different for "dom0_max_vcpus=4 dom0_vcpus_pin" and "dom0_max_vcpus=4" ?
User-agent: Microsoft-Entourage/12.24.0.100205
On 21/05/2010 16:55, "Pasi Kärkkäinen" <pasik@xxxxxx> wrote:

>>    if I don't use "xm vcpu-pin" does it will use core 0 1 2 3 by default not
>>    can use 3 4 5 6?
>> 
> 
> Yes, it'll use 0 1 2 3 as a default. It cannot be changed, unless you do
> custom pinning after the system has started.

It will only stick to 0 1 2 3 if you specify dom0_vcpus_pin on the Xen
command line. And if you do that, then the pinning canno tbe changed by
xm/xl vcpu-pin.

If you do not specify dom0_vcpus_pin then dom0 VCPUs will execute on
arbitrary physical CPUs until you restrict each VCPU's affinity using xm/xl
vcpu-pin.

By default, any VCPU (whether dom0's or a domU's) can be executed at any
time on any physical CPU. If there are CPUs you specifically want to
restrict a given VCPU or domain to, then you have to get busy with xm/xl
vcpu-pin.

Anyway, I think that is this particular horse flogged to death. No more on
xen-devel please.

 K.



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