All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan Harper <ryanh@us.ibm.com>
To: Nicholas Lee <emptysands@gmail.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: config documentation for unstable?
Date: Wed, 7 Sep 2005 09:03:50 -0500	[thread overview]
Message-ID: <20050907140350.GL8187@us.ibm.com> (raw)
In-Reply-To: <2b6116b30509070237626907fa@mail.gmail.com>

* Nicholas Lee <emptysands@gmail.com> [2005-09-07 08:52]:
> Is there any documentation for the config options with unstable?
> 
> I'm interested in doing some testing and want to know how to get it
> working with SMP guests.

I believe the default kernel for domU[1] in the unstable tree already has
CONFIG_SMP=y set.

The vcpus value in the domain config file sets the number of virtual
cpus a domain will use.  Xen supports up to 32 virtual cpus, but the
current domU config max is set to 8.  Look at /etc/xen/xmexample1:

# Number of Virtual CPUS to use, default is 1
#vcpus = 1

Setting this value should increase the number of virtual cpus given to a
domain.

You should see the resulting values show up in xm list, and xm list -v

# xm list
Name              Id  Mem(MB)  CPU VCPU(s)  State  Time(s)
Domain-0           0      507    -      2   r----     83.2
debian_sarge_1     1      128    -      4   -b---     21.5
debian_sarge_2     2      128    -      4   -b---     22.7

xm list -v
Name              Id  VCPU  CPU  CPUMAP
Domain-0           0     0    0  0x3
Domain-0           0     1    1  0x3
debian_sarge_1     1     0    1  0x2
debian_sarge_1     1     1    1  0x2
debian_sarge_1     1     2    1  0x2
debian_sarge_1     1     3    1  0x2
debian_sarge_2     2     0    0  0x1
debian_sarge_2     2     1    0  0x1
debian_sarge_2     2     2    0  0x1
debian_sarge_2     2     3    0  0x1

1. xen-unstable.hg/linux-2.6-xen-sparse/arch/xen/configs/xenU_defconfig_x86_32

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@us.ibm.com

      reply	other threads:[~2005-09-07 14:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-07  9:37 config documentation for unstable? Nicholas Lee
2005-09-07 14:03 ` Ryan Harper [this message]

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=20050907140350.GL8187@us.ibm.com \
    --to=ryanh@us.ibm.com \
    --cc=emptysands@gmail.com \
    --cc=xen-devel@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.