[Bug 1174365] Re: virsh nodeinfo shows only 1 of 2 sockets

blackbeardrrr pdigioia at gmail.com
Tue Jul 23 21:00:52 UTC 2013


I'm also seeing this.

----------------------------------------------------------------
lscpu
----------------------------------------------------------------
# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                24
On-line CPU(s) list:   0-23
Thread(s) per core:    2
Core(s) per socket:    6
Socket(s):             2               <-----------------------------------
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 44
Stepping:              2
CPU MHz:               1600.000
BogoMIPS:              5333.20
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              12288K
NUMA node0 CPU(s):     0-5,12-17
NUMA node1 CPU(s):     6-11,18-23
----------------------------------------------------------------
virsh
----------------------------------------------------------------
# virsh nodeinfo
CPU model:           x86_64
CPU(s):              24
CPU frequency:       1600 MHz
CPU socket(s):       1               <-----------------------------------
Core(s) per socket:  6
Thread(s) per core:  2
NUMA cell(s):        2
Memory size:         198416624 KiB
----------------------------------------------------------------
Serge Hallyn's script:
----------------------------------------------------------------
# for d in `find /sys/devices/system/cpu -name topology`; do
>  echo $d
>  cat $d/physical_package_id
> done
/sys/devices/system/cpu/cpu0/topology
0
/sys/devices/system/cpu/cpu1/topology
0
/sys/devices/system/cpu/cpu2/topology
0
/sys/devices/system/cpu/cpu3/topology
0
/sys/devices/system/cpu/cpu4/topology
0
/sys/devices/system/cpu/cpu5/topology
0
/sys/devices/system/cpu/cpu6/topology
1
/sys/devices/system/cpu/cpu7/topology
1
/sys/devices/system/cpu/cpu8/topology
1
/sys/devices/system/cpu/cpu9/topology
1
/sys/devices/system/cpu/cpu10/topology
1
/sys/devices/system/cpu/cpu11/topology
1
/sys/devices/system/cpu/cpu12/topology
0
/sys/devices/system/cpu/cpu13/topology
0
/sys/devices/system/cpu/cpu14/topology
0
/sys/devices/system/cpu/cpu15/topology
0
/sys/devices/system/cpu/cpu16/topology
0
/sys/devices/system/cpu/cpu17/topology
0
/sys/devices/system/cpu/cpu18/topology
1
/sys/devices/system/cpu/cpu19/topology
1
/sys/devices/system/cpu/cpu20/topology
1
/sys/devices/system/cpu/cpu21/topology
1
/sys/devices/system/cpu/cpu22/topology
1
/sys/devices/system/cpu/cpu23/topology
1
# 

** Changed in: libvirt (Ubuntu)
       Status: Expired => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1174365

Title:
  virsh nodeinfo shows only 1 of 2 sockets

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1174365/+subscriptions



More information about the Ubuntu-server-bugs mailing list