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-users] How to run DomUs on more CPUs?

To: dbareiro@xxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to run DomUs on more CPUs?
From: Robert Valik <xen@xxxxxxxxxxxxxxx>
Date: Tue, 24 Oct 2006 09:06:57 +0200
Delivery-date: Tue, 24 Oct 2006 00:06:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061023103247.GA31427@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <453C69DD.20306@xxxxxxxxxxxxxxx> <20061023103247.GA31427@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0a1 (X11/20060724)
Hi Daniel,

thanks for your answer. And thanks to all recomandations to read the fine manual. I did it and I wouldn't ask if it would help me :) I relied on default values...

# the number of cpus guest platform has, default=1
vcpus=1

# List of which CPUS this domain is allowed to use, default Xen picks
cpus = ""         # leave to Xen to pick

After using xm vcpu-list I got something like this:

Name                        ID  VCPU  CPU  State  Time(s)  CPU Affinity
Datamaster                  42     0    1   -b-     546.6  any cpu
Domain-0                     0     0    0   r--    3099.1  any cpu
Domain-0                     0     1    1   -b-     453.5  any cpu
Domain-0                     0     2    2   -b-     141.7  any cpu
Domain-0                     0     3    3   -b-      56.0  any cpu
Merkur                      22     0    3   -b-   14696.0  any cpu
Testoo                      48     0    3   -b-      15.5  any cpu

So Xen uses every CPU. Top (under Dom0) says still something different - only one CPU is not 100% idle.

Pleas correct me if I am wrong.

When I use top on Dom0 - it sees only own load on CPUs and doesn't see DomUs load. So it seems to it like the CPUs are idle. In fact they are not. So to see real load I *must* use xentop and I must not use top. Correct?

If yes than my question was just small misunderstanding :)

Daniel Bareiro wrote:
El lunes 23 de octubre del 2006 a las 09:06:05,
Robert Valik escribió:

Hello!

Hi Robert.

Is there som way to tell Xen to distribute the load to other cores? Or
to tell what DomU should use what CPU? I tried this with different
setting of cpus variable (including cpus="") in the configuration of
DomUs but with no effect.

You must to use cpu and vcpu variables. vcpu tell to Xen how much vcpus
going to use. Then, xm vcpu-list will list vcpu information for a
specific domain and its affinity with physical cpus.

For more information: man xm(8), man xmdomain.cfg(5).

Regards,
Daniel


------------------------------------------------------------------------

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

--
Best regards!

Robert Valík
Research & Development Dept.

VisionMedia s.r.o.
Kopčianska 20
851 01 Bratislava


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

<Prev in Thread] Current Thread [Next in Thread>