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

Re: [Xen-users] xen only shows only ONE "cpu core"


  • To: Paul Choi <paulchoi@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.