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] understanding xens use of smp

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] understanding xens use of smp
From: Tom Brown <tbrown@xxxxxxxxxxxxx>
Date: Sat, 1 Oct 2005 10:40:35 -0700 (PDT)
Delivery-date: Sat, 01 Oct 2005 17:38:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1128186522.3139.17.camel@xxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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