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-devel

Re: [Xen-devel] dom0-cpus problem with Xen 3.4.1-rc6

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] dom0-cpus problem with Xen 3.4.1-rc6
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 22 Jul 2009 18:46:00 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>, Nerijus Narmontas <n.narmontas@xxxxxxxxx>
Delivery-date: Wed, 22 Jul 2009 10:46:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090722172906.GJ24960@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoK8ewY8UnDMl8pQ/OZE4ehiocu3wAAlohv
Thread-topic: [Xen-devel] dom0-cpus problem with Xen 3.4.1-rc6
User-agent: Microsoft-Entourage/12.19.0.090515
On 22/07/2009 18:29, "Pasi Kärkkäinen" <pasik@xxxxxx> wrote:

>> dom0-cpus does the same as dom0_max_vcpus -- it specifies number of VCPUs
>> which dom0 should run with. The difference is that dom0_max_vcpus=1 means
>> that is all that dom0 kernel will detect and boot with: you cannot
>> subsequently enable more. With (dom0-cpus 1), dom0 will boot with a vcpu for
>> every host cpu (by default) and then hot-unplug/offline all but one vcpu
>> when xend starts. The latter is obviously a more complex operation, but
>> could be reverted (i.e., you could online some of those vcpus at a later
>> time).
> 
> Hmm, so 'dom0-cpus' in xend-config.sxp doesn't limit on what physical CPUs
> the VCPUs of dom0 can run on?

No, there's no way to configure affinity in the xend config file. You'd have
to issue 'xm vcpu-pin' commands after xend is started.

 -- Keir



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