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: Paul Choi <paulchoi@xxxxxxxxx>
Subject: Re: [Xen-users] xen only shows only ONE "cpu core"
From: Israel Garcia <igalvarez@xxxxxxxxx>
Date: Fri, 18 Dec 2009 17:22:02 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 18 Dec 2009 14:22:45 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=1RgKF+1+lqea/HUwstuqHATm73AjvD94waTktQgxsak=; b=ShxphU/2v6eHfaUCX9XlE4oMVirOoraRUZf+q9wf6l/azXrgtdMCpwTOW5hEJrKocw UG3bdAbWd0rkWQ351llt6COxXwQeVhn1JLNlTfoKkq8mL1qwBcbEccfVBCxT/rZz0m3H hvcPZg7TC8Xbms+cYSliKbE+g+B3VOOwa+WlQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XRvNoHZ4ev1Z3VcUpqU9F5N74ckv8JsJzL2VCTB4w46osuwTvTJMQIU/PfEV7RbJwa yT+RXT6bU18TugHlCDL+jW3X1hihFW4yPl/VYirIwyxCPop4BDH+Q7vcYkcdyKWjNSWt G6Znuq7csXVDLtkqACPBwi1ue6eMVgeCyZmIY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B2BFE88.9080002@xxxxxxxxx>
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>
References: <194a2c240912181105i5bd303f9w43e77a4e47f57fe4@xxxxxxxxxxxxxx> <4B2BD893.3070109@xxxxxxxxx> <sfid-+20091218-113834-+003.08-1@xxxxxxxxxxxxxxxxxxx> <194a2c240912181138g79c4ba9dt20f5d563f22218f4@xxxxxxxxxxxxxx> <4B2BFE88.9080002@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 12/18/09, Paul Choi <paulchoi@xxxxxxxxx> wrote:
> 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.
Hi paul, here's my meny.lst
default         0

timeout         5

color cyan/blue white/blue

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

title           Debian GNU/Linux, kernel 2.6.26-2-amd64
root            (hd0,0)
kernel          /vmlinuz-2.6.26-2-amd64 root=/dev/mapper/vg0-root ro quiet
initrd          /initrd.img-2.6.26-2-amd64

title           Debian GNU/Linux, kernel 2.6.26-2-amd64 (single-user mode)
root            (hd0,0)
kernel          /vmlinuz-2.6.26-2-amd64 root=/dev/mapper/vg0-root ro single
initrd          /initrd.img-2.6.26-2-amd64

title           Debian GNU/Linux, kernel 2.6.26-1-xen-amd64
root            (hd0,0)
kernel          /vmlinuz-2.6.26-1-xen-amd64 root=/dev/mapper/vg0-root ro quiet
initrd          /initrd.img-2.6.26-1-xen-amd64

title           Debian GNU/Linux, kernel 2.6.26-1-xen-amd64 (single-user mode)
root            (hd0,0)
kernel          /vmlinuz-2.6.26-1-xen-amd64 root=/dev/mapper/vg0-root ro single
initrd          /initrd.img-2.6.26-1-xen-amd64

>
> 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
>>>
>>>
>>
>>
>
>


-- 
Regards;
Israel Garcia

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