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

Re: [Xen-users] Only one CPU available to Xen? (nr_cpus : 1)



On Sat, Mar 3, 2018 at 11:19 AM, John Naggets <hostingnuggets@xxxxxxxxx> wrote:
> Hello,
>
> I am running Xen 4.9.0 on Ubuntu 17.10 on a new Lenovo ThinkSystem
> SR630 server and have noticed that Xen reports only one CPU available.
> Is this normal? or is something wrong in my setup?

No, that's distinctly not normal. Assuming your ThinkSystem server has
more than one logical cpu of course. :-)

Would you mind attaching the output of `xl dmesg` as well?

Thanks,
 -George

>
> Here is the output of "xl info":
>
> release                : 4.13.0-32-generic
> version                : #35-Ubuntu SMP Thu Jan 25 09:13:46 UTC 2018
> machine                : x86_64
> nr_cpus                : 1
> max_cpu_id             : 0
> nr_nodes               : 1
> cores_per_socket       : 1
> threads_per_core       : 1
> cpu_mhz                : 2095
> hw_caps                :
> bfebfbff:77fef3f7:2c100800:00000121:0000000f:d19ffffb:00000008:00000100
> virt_caps              : hvm
> total_memory           : 32308
> free_memory            : 15534
> sharing_freed_memory   : 0
> sharing_used_memory    : 0
> outstanding_claims     : 0
> free_cpus              : 0
> xen_major              : 4
> xen_minor              : 9
> xen_extra              : .0
> xen_version            : 4.9.0
> xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
> hvm-3.0-x86_32p hvm-3.0-x86_64
> xen_scheduler          : credit
> xen_pagesize           : 4096
> platform_params        : virt_start=0xffff800000000000
> xen_changeset          :
> xen_commandline        : placeholder dom0_mem=4G,max:4G
> dom0_max_vcpus=2 dom0_vcpus_pin no-real-mode edd=off
> cc_compiler            : gcc (Ubuntu 7.2.0-8ubuntu2) 7.2.0
> cc_compile_by          : stefan.bader
> cc_compile_domain      : canonical.com
> cc_compile_date        : Fri Oct 13 15:58:41 UTC 2017
> build_id               : 889e50dffcb9ab064c376b1278be0a259e95dd43
> xend_config_format     : 4
>
> See under nr_cpus only "1" is available. Also have a look at the
> output of "xl vcpu-list" where I have VM1 with 4 vCPUs and VM2 with 1
> vCPU:
>
> Name                                ID  VCPU   CPU State   Time(s)
> Affinity (Hard / Soft)
> Domain-0                             0     0    0   r--  125665.8  all / all
> Domain-0                             0     1    -   --p       0.0  all / all
> vm2.somefancydomaintest.co          10     0    0   -b-   17377.2  all / all
> vm1.somefancydomaintest.co          11     0    0   -b-     617.9  all / all
> vm1.somefancydomaintest.co          11     1    0   -b-     630.7  all / all
> vm1.somefancydomaintest.co          11     2    0   -b-    1065.0  all / all
> vm1.somefancydomaintest.co          11     3    0   -b-     590.2  all / all
>
> Finally here is the output of "lscpu":
>
> Architecture:        x86_64
> CPU op-mode(s):      32-bit, 64-bit
> Byte Order:          Little Endian
> CPU(s):              1
> On-line CPU(s) list: 0
> Thread(s) per core:  1
> Core(s) per socket:  1
> Socket(s):           1
> NUMA node(s):        1
> Vendor ID:           GenuineIntel
> CPU family:          6
> Model:               85
> Model name:          Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz
> Stepping:            4
> CPU MHz:             2095.140
> BogoMIPS:            4190.17
> Hypervisor vendor:   Xen
> Virtualization type: none
> L1d cache:           32K
> L1i cache:           32K
> L2 cache:            1024K
> L3 cache:            11264K
> NUMA node0 CPU(s):   0
> Flags:               fpu de tsc msr pae mce cx8 apic sep mca cmov pat
> clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc
> rep_good nopl nonstop_tsc cpuid pni pclmulqdq est ssse3 fma cx16
> sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor
> lahf_lm abm 3dnowprefetch intel_ppin fsgsbase bmi1 hle avx2 bmi2 erms
> rtm avx512f avx512dq rdseed adx clflushopt clwb avx512cd avx512bw
> avx512vl xsaveopt xsavec xgetbv1
>
> Here I should be seeing 2 CPUs as I am using the "dom0_max_vcpus=2
> kernel parameter but the output only shows 1.
>
> Any ideas what could be wrong in my setup? or is this normal? I have
> the feeling my whole dom0 and domUs are running on a single core...
>
> Best regards,
> John
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxxx
> https://lists.xenproject.org/mailman/listinfo/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

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