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] xen only shows only ONE "cpu core"

To: Israel Garcia <igalvarez@xxxxxxxxx>
Subject: Re: [Xen-users] xen only shows only ONE "cpu core"
From: Paul Choi <paulchoi@xxxxxxxxx>
Date: Fri, 18 Dec 2009 14:13:28 -0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 18 Dec 2009 14:14:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <194a2c240912181138g79c4ba9dt20f5d563f22218f4@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Plaxo, Inc.
References: <194a2c240912181105i5bd303f9w43e77a4e47f57fe4@xxxxxxxxxxxxxx> <4B2BD893.3070109@xxxxxxxxx> <sfid-+20091218-113834-+003.08-1@xxxxxxxxxxxxxxxxxxx> <194a2c240912181138g79c4ba9dt20f5d563f22218f4@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b2pre Thunderbird/3.0
Check your boot loader kernel params also. If GRUB, /boot/grub/menu.lst.
I'd look for "nosmp". This was probably done for performance reasons - although I never found out exactly why. Maybe to use only one physical CPU for dom0.

I think it should be ok if xm top's showing 4 CPUs.

-Paul

On 12/18/09 11:38 AM, Israel Garcia wrote:
On 12/18/09, Paul Choi<paulchoi@xxxxxxxxx>  wrote:
What do you get when you run "xm top"?
Hi paul,
xentop - 14:35:24   Xen 3.2-1
17 domains: 2 running, 15 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown
Mem: 16775716k total, 16775512k used, 204k free    CPUs: 4 @ 2333MHz

3rd line, look for "CPUs".
I don't run Debian, but I'm wondering if there's a separate SMP kernel
for Debian and you have a non-SMP kernel installed?
I dont know, this kernel was installed by default when we setup this dom0.

regards,
Israel.
On 12/18/09 11:05 AM, Israel Garcia wrote:
Hi,
Do you know why xen kernel shows me only one "cpu cores" when there are 4?

see part of cat /proc/cpuinfo

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Xeon(R) CPU           E5410  @ 2.33GHz
stepping        : 10
cpu MHz         : 2333.430
cache size      : 6144 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1<---only ONE
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu de tsc msr pae cx8 apic sep mtrr cmov pat
clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_ts
c rep_good pni ssse3 cx16 sse4_1 lahf_lm
bogomips        : 4674.06
clflush size    : 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

I'm running XEN on debian lenny:
grub-info:
title           Xen 3.2-1-amd64 / Debian GNU/Linux, kernel
2.6.26-1-xen-amd64
root            (hd0,0)
kernel          /xen-3.2-1-amd64.gz
module          /vmlinuz-2.6.26-1-xen-amd64 root=/dev/mapper/vg0-root
ro console=tty0
module          /initrd.img-2.6.26-1-xen-amd64

uname -r:
2.6.26-1-xen-amd64

regards,
Israel.

_______________________________________________
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




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