All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Mohit Dhingra <mohitdhingras@gmail.com>
Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com
Subject: Re: Query regarding Xen - Assigning more than 1 VCPUs to Dom0
Date: Fri, 16 Mar 2012 11:47:51 -0400	[thread overview]
Message-ID: <20120316154751.GA31099@phenom.dumpdata.com> (raw)
In-Reply-To: <CAGkgU9U7GSe8byYtbZtNVW8KDuZfbKeD4NJB9PVFutpfa2YtBw@mail.gmail.com>

On Thu, Mar 08, 2012 at 07:16:25PM +0530, Mohit Dhingra wrote:
> *Hi Xen-users,*
> 
> I have a doubt regarding assigning VCPUs to Dom0 and DomUs, Please give me
> some pointers to sort them out.
> 
> 1. I have assigned one VCPU to Dom0 ( by (dom0-cpus 1) in xend-config.sxp
> ), it works fine.
> cadlab:/srv/cloud/one # xm list
> Name                                        ID   Mem VCPUs      State
> Time(s)
> Domain-0                                     0  3964     1     r-----
> 203993.1
> one-5                                        2  1024     1     -b----
> 10241.9
> one-6                                        4  1024     1     -b----
> 3970.8
> one-7                                        1  1024     1     -b----
> 4052.7
> one-8                                        3  1024     1     --p---
> 2246.7
> 
> cadlab:/srv/cloud/one # xm vcpu-list
> Name                                ID  VCPU   CPU State   Time(s) CPU
> Affinity
> Domain-0                             0     0     6   r--  203985.6 6
> Domain-0                             0     1     -   --p       1.7 7
> Domain-0                             0     2     -   --p       1.6 any cpu
> Domain-0                             0     3     -   --p       2.3 any cpu
> Domain-0                             0     4     -   --p       1.3 any cpu
> Domain-0                             0     5     -   --p       1.2 any cpu
> Domain-0                             0     6     -   --p       1.5 any cpu
> Domain-0                             0     7     -   --p       1.7 any cpu
> one-5                                2     0     2   -b-   10241.9 2
> one-6                                4     0     4   -b-    3970.8 4
> one-7                                1     0     5   -b-    4052.7 5
> one-8                                3     0     3   ---    2246.7 3
> 
> 
> But when I assign 2 VCPUs to Dom0, it gives me following error: ( by
> (dom0-cpus 2) in xend-config.sxp )
> cadlab:/srv/cloud/one # xm list
> Error: Unable to connect to xend: Connection refused. Is xend running?

What version of Xen? What version of Linux? Have you tried 'xl' instead?
> 
> I want to pin Dom0 to 2 VCPUs. When I do that by providing (dom0-cpus 0 )
> and pinning 2 of the cores to 2 VCPUs ( by xm vcpu-pin), it doesn't seem to
> use the other core.
> 
> Also, My system is Intel i7 950, which is quad core, but it shows 8 CPUs
> probably because of hyperthreading. How should I disable it?

> 
> *
> ----------------------------
> Thanks & Regards
> Mohit Dhingra
> +919611190435*

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  reply	other threads:[~2012-03-16 15:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-08 13:46 Query regarding Xen - Assigning more than 1 VCPUs to Dom0 Mohit Dhingra
2012-03-16 15:47 ` Konrad Rzeszutek Wilk [this message]
2012-03-27  9:12   ` [Xen-devel] " Mohit Dhingra

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=20120316154751.GA31099@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=mohitdhingras@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.