From: lei yang <yanglei.fage@gmail.com>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Keir Fraser <keir.fraser@eu.citrix.com>,
Xen Mailing List <xen-users@lists.xensource.com>
Subject: Re: What's the different for "dom0_max_vcpus=4 dom0_vcpus_pin" and "dom0_max_vcpus=4" ?
Date: Fri, 21 May 2010 23:51:34 +0800 [thread overview]
Message-ID: <AANLkTilLhBHkQ196OeO1lyqS64t5djrntC3i4IwFQv38@mail.gmail.com> (raw)
In-Reply-To: <20100521154600.GT17817@reaktio.net>
[-- Attachment #1.1: Type: text/plain, Size: 2688 bytes --]
On Fri, May 21, 2010 at 11:46 PM, Pasi Kärkkäinen <pasik@iki.fi> 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@eu.citrix.com> wrote:
> >
> > On 21/05/2010 04:09, "lei yang" <[2]yanglei.fage@gmail.com> 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@eu.citrix.com
> > 2. mailto:yanglei.fage@gmail.com
>
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > http://lists.xensource.com/xen-devel
>
>
--
"We learn from failure, not from success!"
[-- Attachment #1.2: Type: text/html, Size: 4260 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2010-05-21 15:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-21 3:09 What's the different for "dom0_max_vcpus=4 dom0_vcpus_pin" and "dom0_max_vcpus=4" ? lei yang
2010-05-21 6:57 ` Keir Fraser
2010-05-21 15:39 ` lei yang
2010-05-21 15:46 ` Pasi Kärkkäinen
2010-05-21 15:51 ` lei yang [this message]
2010-05-21 15:55 ` Pasi Kärkkäinen
2010-05-21 15:59 ` [Xen-devel] " Keir Fraser
2010-05-21 12:02 ` What's the different for "dom0_max_vcpus=4dom0_vcpus_pin" " Robert Dunkley
2010-05-21 15:38 ` lei yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTilLhBHkQ196OeO1lyqS64t5djrntC3i4IwFQv38@mail.gmail.com \
--to=yanglei.fage@gmail.com \
--cc=keir.fraser@eu.citrix.com \
--cc=pasik@iki.fi \
--cc=xen-devel@lists.xensource.com \
--cc=xen-users@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).