[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] How to run DomUs on more CPUs?



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.