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

Re: [Xen-users] understanding xens use of smp



On Sat, 1 Oct 2005, Ted Kaczmarek wrote:

>
> On Sat, 2005-10-01 at 12:58 -0400, Brock Palen wrote:
> > Im trying to find some clarification of xen-2.0.7 use of smp machines,
> > the output from 'xm dmesg'  shows cpus0 and cpu1, and the FAQ says why dom0
> > doesnt show the second cpu, how do i know that my single domU is bound to 
> > cpu1
> > ?
>
> 2.0.7 does not support SMP domU's.

That wasn't his question.

xm list will show which domains are running on which CPUs. Unfortunately,
if you have hyperthreading enabled, you need to know which cpus map to
which threads on which cores... otherwise you can easily have two doms
running on opposite threads on the same core, and the other core being
idle :(  [in fact that is the default]

I don't have the official CPU numbering in my head, but I believe a dual
CPU system with hyperthreading enabled will have cpu's 0 and 1 on the two
threads of the first core, and 2 and 3 on the threads of the second
core... so if you only have dom0 and one domU running, you would want to

  xm pincpu domUname 2

or put cpu=2 into the config file for the domU

-Tom


_______________________________________________
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®.