From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [Xen-devel] What's the different for "dom0_max_vcpus=4 dom0_vcpus_pin" and "dom0_max_vcpus=4" ? Date: Fri, 21 May 2010 16:59:27 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: lei yang Cc: "xen-devel@lists.xensource.com" , Xen Mailing List List-Id: xen-devel@lists.xenproject.org On 21/05/2010 16:39, "lei yang" wrote: >> The former restricts Xen to only run Dom0 VCPUs 0-3 on physical CPUs 0-3= . > =A0 > dom0_max_vcpus=3D4 dom0_vcpus_pin will just to core0-3? can it be 3 4 5 6? > if remove "dom0_vcpus_pin" just use "=A0=A0dom0_max_vcpus=3D4 " can it be 3 4 5= 6 ? No, but you can set whatever affinity you like after dom0 has booted. For example, to pin Dom0 VCPUs 0-3 to CPUs 3-6 respectively: xl vcpu-pin 0 0 3 xl vcpu-pin 0 1 4 xl vcpu-pin 0 2 5 xl vcpu-pin 0 3 6 (or use xm vcpu-pin if you are not using the new xl command). -- Keir