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-devel] What's the different for "dom0_max_vcpus=4 dom0_vcpus_p

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] What's the different for "dom0_max_vcpus=4 dom0_vcpus_pin" and "dom0_max_vcpus=4" ?
From: lei yang <yanglei.fage@xxxxxxxxx>
Date: Fri, 21 May 2010 23:51:34 +0800
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Xen Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 21 May 2010 08:55:41 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=0asMIjP896aWbMdZtLzglE3Z08opRfq/9OCk6cHKhz8=; b=i///s7DSZMJwk/FCR46gdh6TcoJxzNVf4ZbMdnYT6Mpcq4n2+Flz0x2860734B9Xba 7e6tqRRCGK/K+cToU2Ot1Km+KxxMxF7x53LFY1dn+KWzrmOSwK3AsLAnqnFA7ySiIN1b IFlQbwDWwx2B3Gaa7EMtTySgHF1e9h9KB++tg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Sm3E3x2WNv+TaiKV90A8423FUaMOLGgwCVWY9SdTZ+mioWFTO8QLcK/1IysWLXCOrL W5rDgDmy7iaz3l8inQN+gtK23NixdsNe+WCWKu4P8YHtIwfTiAiIfAek6wmizUkPx1io TIXymjqVr2NQ2wnHlQ2ExwE5/h0vd/SdF17I0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100521154600.GT17817@xxxxxxxxxxx>
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>
References: <AANLkTik4TnkY-uGfhW5sbPwG5U1msw_eVt5X1j0IDdBD@xxxxxxxxxxxxxx> <C81BED7E.14B7E%keir.fraser@xxxxxxxxxxxxx> <AANLkTimn2XnISAXff8CafeivrmsRTE9LkircaN3I0vus@xxxxxxxxxxxxxx> <20100521154600.GT17817@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


On Fri, May 21, 2010 at 11:46 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Fri, May 21, 2010 at 11:39:50PM +0800, lei yang wrote:
>    On Fri, May 21, 2010 at 2:57 PM, Keir Fraser
>    <[1]keir.fraser@xxxxxxxxxxxxx> wrote:
>
>      On 21/05/2010 04:09, "lei yang" <[2]yanglei.fage@xxxxxxxxx> wrote:
>
>      > Hi experts,
>      >
>      >
>      > Q1:What's the different for "dom0_max_vcpus=4 dom0_vcpus_pin" and
>      > "dom0_max_vcpus=4" ? which will get better performance
>
>      The former restricts Xen to only run Dom0 VCPUs 0-3 on physical CPUs
>      0-3.
>
>
>    dom0_max_vcpus=4 dom0_vcpus_pin will just to core0-3?
>

Yes.

> can it be 3 4 5 6?
>

Yes, modify the pinning when the system has booted up using "xm vcpu-pin".

 
 
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?
if so, does core 0-4 just can used by dom0? domU can't use it?
 
Thanks
Lei 
 
>    if remove "dom0_vcpus_pin" just use "  dom0_max_vcpus=4 " can it be 3 4 5
>    6 ?
>

Yes, set up the pinning yourself.

 
again. if just use "dom0_max_vcpus=4" not use "dom0_vcpus_pin"  and I don't use "xm vcpu-pin", can 't be 3 4 5 6,
 
Thanks
Lei
 
-- Pasi

>
>      It's not really a performance thing, but instead is to mean that some
>      things
>      like cpufreq management can work directly from dom0. We don't really use
>      the
>      dom0_vcpus_pin option much.
>      > Q2: dom0_max_vcpus=4 means "core0-3 will be just used by dom0" or
>      means "4
>      > cores(not dedicate cores) will be used by dom0, eg: core2-5 or
>      core3-6?
>
>      Dom0's VCPUs can be scheduled on any physical CPU at any time, unles
>      dom0_vcpus_pin is specified.
>      > Q3.what does mean "nosmp" , xen, dom0,domU, will just use one
>      core????if so,
>      > can we specify the use different core. eg: dom0=core2 domU=core3? xen
>      will use
>      > just one core?
>
>      It brings Xen up on the boot CPU only. Nothing in the system will use
>      the
>      other CPUs. You don't want to use this option really.
>       -- Keir
>
>    --
>    "We learn from failure, not from success!"
>
> References
>
>    Visible links
>    1. mailto:keir.fraser@xxxxxxxxxxxxx
>    2. mailto:yanglei.fage@xxxxxxxxx

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




--
"We learn from failure, not from success!"
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel