lei yang
2010-May-28 02:29 UTC
[Xen-users] Can we know how many physical cores or ht cores run on the guestos
Hi experts Can we know how many physical cores or ht cores run on the guestos Thanks Lei -- "We learn from failure, not from success!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
lei yang
2010-May-28 02:47 UTC
[Xen-users] Re: Can we know how many physical cores or ht cores run on the guestos
Its strange, after I add "dom0_max_vcpus=16" append in the xen bootline. I run cat /proc/cpuinfo, I just see 8 cores.I''m sure my HT is enabled by bios. and "xm info" show "nr_cpus : 16 " threads_per_core : 2" Thanks Lei On Fri, May 28, 2010 at 10:29 AM, lei yang <yanglei.fage@gmail.com> wrote:> Hi experts > > Can we know how many physical cores or ht cores run on the guestos > > Thanks > Lei > > -- > "We learn from failure, not from success!" >-- "We learn from failure, not from success!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-May-28 05:52 UTC
[Xen-users] Re: Can we know how many physical cores or ht cores run on the guestos
On Fri, May 28, 2010 at 10:29:59AM +0800, lei yang wrote:> Hi experts > > Can we know how many physical cores or ht cores run on the guestos >xm vcpu-list <guest> -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
lei yang
2010-May-28 05:59 UTC
[Xen-users] Re: Can we know how many physical cores or ht cores run on the guestos
On Fri, May 28, 2010 at 1:52 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Fri, May 28, 2010 at 10:29:59AM +0800, lei yang wrote: > > Hi experts > > > > Can we know how many physical cores or ht cores run on the guestos > > > > >Name ID VCPU CPU State Time(s) CPU Affinity Domain-0 0 0 10 -b- 13.9 any cpu Domain-0 0 1 5 r-- 5.4 any cpu Domain-0 0 2 11 -b- 2.6 any cpu Domain-0 0 3 7 -b- 3.3 any cpu Domain-0 0 4 12 -b- 3.2 any cpu Domain-0 0 5 0 -b- 2.2 any cpu Domain-0 0 6 15 -b- 3.2 any cpu Domain-0 0 7 1 -b- 4.8 any cpu Domain-0 0 8 - --p 0.0 any cpu Domain-0 0 9 - --p 0.0 any cpu Domain-0 0 10 - --p 0.0 any cpu Domain-0 0 11 - --p 0.0 any cpu Domain-0 0 12 - --p 0.0 any cpu Domain-0 0 13 - --p 0.0 any cpu Domain-0 0 14 - --p 0.0 any cpu Domain-0 0 15 - --p 0.0 any cpu It shows as above an run "cat /proc/cpuinfo" just show 8 cores but I specify "dom0_max_vcpus=16" -- "We learn from failure, not from success!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-May-28 06:20 UTC
[Xen-users] Re: Can we know how many physical cores or ht cores run on the guestos
On Fri, May 28, 2010 at 01:59:19PM +0800, lei yang wrote:> On Fri, May 28, 2010 at 1:52 PM, Pasi Kärkkäinen <[1]pasik@iki.fi> wrote: > > On Fri, May 28, 2010 at 10:29:59AM +0800, lei yang wrote: > > Hi experts > > > > Can we know how many physical cores or ht cores run on the guestos > > > > Name ID VCPU CPU State Time(s) CPU > Affinity > Domain-0 0 0 10 -b- 13.9 any cpu > Domain-0 0 1 5 r-- 5.4 any cpu > Domain-0 0 2 11 -b- 2.6 any cpu > Domain-0 0 3 7 -b- 3.3 any cpu > Domain-0 0 4 12 -b- 3.2 any cpu > Domain-0 0 5 0 -b- 2.2 any cpu > Domain-0 0 6 15 -b- 3.2 any cpu > Domain-0 0 7 1 -b- 4.8 any cpu > Domain-0 0 8 - --p 0.0 any cpu > Domain-0 0 9 - --p 0.0 any cpu > Domain-0 0 10 - --p 0.0 any cpu > Domain-0 0 11 - --p 0.0 any cpu > Domain-0 0 12 - --p 0.0 any cpu > Domain-0 0 13 - --p 0.0 any cpu > Domain-0 0 14 - --p 0.0 any cpu > Domain-0 0 15 - --p 0.0 any cpu > > It shows as above an run "cat /proc/cpuinfo" just show 8 cores > but I specify "dom0_max_vcpus=16" >How many physical cores do you have? See "xm info". -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
lei yang
2010-May-28 07:14 UTC
[Xen-users] Re: Can we know how many physical cores or ht cores run on the guestos
I have 8 physical cores. host : localhost release : 2.6.33.3 version : #4 SMP PREEMPT Thu May 27 15:14:45 CST 2010 machine : i686 nr_cpus : 16 nr_nodes : 1 cores_per_socket : 4 threads_per_core : 2 cpu_mhz : 2533 hw_caps : bfebfbff:28100000:00000000:00001b40:009ce3bd:00000000:00000001:00000000 virt_caps : hvm hvm_directio total_memory : 14507 free_memory : 3158 node_to_cpu : node0:0-15 node_to_memory : node0:3158 node_to_dma32_mem : node0:1575 max_node_id : 0 xen_major : 4 xen_minor : 0 xen_extra : .0 xen_caps : xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xf5800000 xen_changeset : unavailable xen_commandline : dom0_max_vcpus=16 cc_compiler : gcc version 4.3. cc_compile_by : lyang0 -- "We learn from failure, not from success!" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2010-May-28 07:20 UTC
RE: [Xen-users] Re: Can we know how many physical cores or ht cores runon the guestos
> > I have 8 physical cores. > > > host : localhost > release : 2.6.33.3 > version : #4 SMP PREEMPT Thu May 27 15:14:45 CST 2010 > machine : i686 > nr_cpus : 16 > nr_nodes : 1 > cores_per_socket : 4 > threads_per_core : 2Would a ''threads_per_core'' of 2 mean that you have hyperthreading enabled? Admittedly I was probably using Xen 2 at the time but I found that hyperthreading was horrible for virtualisation. Someone must have some more current testing results for hyperthreading though. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users