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

Re: [Xen-users] Xen shows single processor on a dual core system



The output of "xm info" is useful here.

dom0 usually only gets one virtual CPU, so reading /proc/cpuinfo won't 
necessarily give you meaningful results.  xm info will tell you how many CPUs 
Xen thinks it has to give to other guests.

Cheers,
Mark

On Tuesday 17 June 2008, Saravana Kumar K, Bangalore wrote:
> Hi all,
>
>
>
>      On dual core processor machine, I installed ubuntu-8.04 in which I
> installed xen-3.2.
>
>    In ubuntu:
>
>    # cat /proc/cpuinfo --> Shows two processors information.
>
>
>
>   But in Xen on the same machine:
>
>   # cat /proc/cpuinfo --> Shows only one processor information.
>
>
>
> Can anyone please explain what could be the reason behind this?
>
>
>
> I have a dual-core, single processor system (two cores on a single
> chip).
>
> Xen-3.2 build from source. Kernel version is: 2.6.18.8-xen
>
>
>
> Please find the /proc/cpuinfo for ubuntu and xen
>
>
>
> Cat  /proc/cpuinfo --> In ubuntu
>
> processor       : 0
>
> vendor_id       : GenuineIntel
>
> cpu family      : 6
>
> model           : 15
>
> model name      : Intel(R) Core(TM)2 Duo CPU     E6750  @ 2.66GHz
>
> stepping        : 11
>
> cpu MHz         : 1998.000
>
> cache size      : 4096 KB
>
> physical id     : 0
>
> siblings        : 2
>
> core id         : 0
>
> cpu cores       : 2
>
> fdiv_bug        : no
>
> hlt_bug         : no
>
> f00f_bug        : no
>
> coma_bug        : no
>
> fpu             : yes
>
> fpu_exception   : yes
>
> cpuid level     : 10
>
> wp              : yes
>
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
> constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2
> ssse3 cx16 xtpr lahf_lm
>
> bogomips        : 5336.77
>
> clflush size    : 64
>
>
>
> processor       : 1
>
> vendor_id       : GenuineIntel
>
> cpu family      : 6
>
> model           : 15
>
> model name      : Intel(R) Core(TM)2 Duo CPU     E6750  @ 2.66GHz
>
> stepping        : 11
>
> cpu MHz         : 1998.000
>
> cache size      : 4096 KB
>
> physical id     : 0
>
> siblings        : 2
>
> core id         : 1
>
> cpu cores       : 2
>
> fdiv_bug        : no
>
> hlt_bug         : no
>
> f00f_bug        : no
>
> coma_bug        : no
>
> fpu             : yes
>
> fpu_exception   : yes
>
> cpuid level     : 10
>
> wp              : yes
>
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
> constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2
> ssse3 cx16 xtpr lahf_lm
>
> bogomips        : 5333.09
>
> clflush size    : 64
>
>
>
>
>
> cat  /proc/cpuinfo --> In Xen
>
>
>
> processor       : 0
>
> vendor_id       : GenuineIntel
>
> cpu family      : 6
>
> model           : 15
>
> model name      : Intel(R) Core(TM)2 Duo CPU     E6750  @ 2.66GHz
>
> stepping        : 11
>
> cpu MHz         : 2666.418
>
> cache size      : 4096 KB
>
> fdiv_bug        : no
>
> hlt_bug         : no
>
> f00f_bug        : no
>
> coma_bug        : no
>
> fpu             : yes
>
> fpu_exception   : yes
>
> cpuid level     : 10
>
> wp              : yes
>
> flags           : fpu de tsc msr pae cx8 apic mtrr cmov pat clflush acpi
> mmx fxsr sse sse2 ss ht constant_tsc up pni
>
> bogomips        : 5423.10
>
>
>
>
>
> Thanks
>
> Saravana
>
>
>
> DISCLAIMER:
> ---------------------------------------------------------------------------
>--------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only. It shall not attach any liability
> on the originator or HCL or its affiliates. Any views or opinions presented
> in this email are solely those of the author and may not necessarily
> reflect the opinions of HCL or its affiliates. Any form of reproduction,
> dissemination, copying, disclosure, modification, distribution and / or
> publication of this message without the prior written consent of the author
> of this e-mail is strictly prohibited. If you have received this email in
> error please delete it and notify the sender immediately. Before opening
> any mail and attachments please check them for viruses and defect.
>
> ---------------------------------------------------------------------------
>--------------------------------------------



-- 
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)

_______________________________________________
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®.