Re: [BUG] virHostCPUGetInfoPopulateLinux statistics CPU socket inaccuracy

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

 



On Fri, Jun 28, 2019 at 10:26:49AM +0000, Yuchen wrote:
only the last numa node /sys/devices/system/node/node*/cpu*/topology/physical_package_id
nodeinfo 'CPU socket(s)' is not equal to lscpu 'Socket(s)'


See `man virsh`, an exceprt here:

 nodeinfo
   Returns basic information about the node, like number and type of CPU, and
   size of the physical memory. The output corresponds to virNodeInfo
   structure. Specifically, the "CPU socket(s)" field means number of CPU
   sockets per NUMA cell. The information libvirt displays is dependent upon
   what each architecture may provide.

For better info you should look at `virsh capabilities`, look for the
`<topology/>` XML node.  Shorthand command would be:

 virsh capabilities | xpath -e '/capabilities/host/topology' -q

HTH,
Martin

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux