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: Brock Palen <brockp@xxxxxxxxx>
Date: Sat, 01 Oct 2005 13:48:32 -0400
Delivery-date: Sat, 01 Oct 2005 17:46:11 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.44.0510011035470.6236-100000@xxxxxxxxxxxxxxxxxx>
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: <Pine.LNX.4.44.0510011035470.6236-100000@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) H3 (4.0.3)
Quoting Tom Brown <tbrown@xxxxxxxxxxxxx>:

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

I have from xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      123    0  r----   7543.7
mls                1      499    1  -b---   4764.2    9601

Its a duel P3 so no hyperthreading, and xm info shoes only 1 hypterthread per
cpu, and 2 cores,  so domain mls (domU) is using the second cpu, thats great
thankyou!


 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






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

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