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 shows single processor on a dual core system

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen shows single processor on a dual core system
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 18 Jun 2008 19:14:55 +0100
Cc: "Saravana Kumar K, Bangalore" <SaravanaKumar.k@xxxxxx>
Delivery-date: Wed, 18 Jun 2008 11:15:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <31A794325181294C8F5E1C52371C37930167EF9A@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <31A794325181294C8F5E1C52371C37930167EF9A@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.9
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