Bug 1181465
Summary: | too little cpu information when use virsh capabilities in ppc64 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Luyao Huang <lhuang> |
Component: | libvirt | Assignee: | Andrea Bolognani <abologna> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | dgibson, dyuan, dzheng, gsun, michen, mzhan, ngu, rbalakri, weizhan, xuhan, ypu |
Target Milestone: | rc | Keywords: | Upstream |
Target Release: | --- | ||
Hardware: | ppc64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.2.15-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-19 06:07:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Luyao Huang
2015-01-13 09:05:01 UTC
More importantly, the topology information is incorrect - it should show has having 20 cores and 8 threads, not 160 cores with 1 thread. Hi, the issue reported has been fixed by commit commit 1e911742287d964055f33ab76d53e673a9b4477f Author: Prerna Saxena <prerna.ibm.com> Date: Tue Nov 4 22:58:33 2014 +0530 PowerPC:Improve PVR handling to fall back to cpu generation. which is included in libvirt as of 1.2.11 (v1.2.10-41-g1e91174). The fact that, as David pointed out, the topology is not reported correctly, is completely unrelated and still affects libvirt as of 1.2.14. Could you please open another BZ to track that specific issue? Thanks. Actually, nevermind: RHBZ 1192360 has already been filed to track the topology issue. Have a nice day. Test on below packages: libvirt-1.2.17-2.el7.ppc64le kernel-3.10.0-292.el7.ppc64le qemu-kvm-rhev-2.3.0-9.el7.ppc64le Test 1: Pass. # virsh capabilities <capabilities> <host> <uuid>7eefcde7-086c-412b-afe1-1306a9f22b3f</uuid> <cpu> <arch>ppc64le</arch> <model>power8e</model> <vendor>IBM</vendor> <topology sockets='1' cores='160' threads='1'/> <pages unit='KiB' size='64'/> <pages unit='KiB' size='16384'/> <pages unit='KiB' size='16777216'/> </cpu> <power_management> <suspend_mem/> <suspend_disk/> <suspend_hybrid/> </power_management> <migration_features> <live/> <uri_transports> <uri_transport>tcp</uri_transport> <uri_transport>rdma</uri_transport> </uri_transports> </migration_features> <topology> <cells num='4'> <cell id='0'> <memory unit='KiB'>67108864</memory> <pages unit='KiB' size='64'>1048576</pages> <pages unit='KiB' size='16384'>256</pages> <pages unit='KiB' size='16777216'>0</pages> <distances> <sibling id='0' value='10'/> <sibling id='1' value='20'/> <sibling id='16' value='40'/> <sibling id='17' value='40'/> </distances> <cpus num='5'> <cpu id='0' socket_id='0' core_id='32' siblings='0'/> <cpu id='8' socket_id='0' core_id='48' siblings='8'/> <cpu id='16' socket_id='0' core_id='96' siblings='16'/> <cpu id='24' socket_id='0' core_id='104' siblings='24'/> <cpu id='32' socket_id='0' core_id='112' siblings='32'/> </cpus> </cell> <cell id='1'> <memory unit='KiB'>67108864</memory> <pages unit='KiB' size='64'>1048576</pages> <pages unit='KiB' size='16384'>256</pages> <pages unit='KiB' size='16777216'>0</pages> <distances> <sibling id='0' value='20'/> <sibling id='1' value='10'/> <sibling id='16' value='40'/> <sibling id='17' value='40'/> </distances> <cpus num='5'> <cpu id='40' socket_id='1' core_id='160' siblings='40'/> <cpu id='48' socket_id='1' core_id='176' siblings='48'/> <cpu id='56' socket_id='1' core_id='224' siblings='56'/> <cpu id='64' socket_id='1' core_id='232' siblings='64'/> <cpu id='72' socket_id='1' core_id='240' siblings='72'/> </cpus> </cell> <cell id='16'> <memory unit='KiB'>67108864</memory> <pages unit='KiB' size='64'>1048576</pages> <pages unit='KiB' size='16384'>256</pages> <pages unit='KiB' size='16777216'>0</pages> <distances> <sibling id='0' value='40'/> <sibling id='1' value='40'/> <sibling id='16' value='10'/> <sibling id='17' value='20'/> </distances> <cpus num='5'> <cpu id='80' socket_id='16' core_id='2080' siblings='80'/> <cpu id='88' socket_id='16' core_id='2088' siblings='88'/> <cpu id='96' socket_id='16' core_id='2096' siblings='96'/> <cpu id='104' socket_id='16' core_id='2144' siblings='104'/> <cpu id='112' socket_id='16' core_id='2160' siblings='112'/> </cpus> </cell> <cell id='17'> <memory unit='KiB'>67108864</memory> <pages unit='KiB' size='64'>1048576</pages> <pages unit='KiB' size='16384'>256</pages> <pages unit='KiB' size='16777216'>0</pages> <distances> <sibling id='0' value='40'/> <sibling id='1' value='40'/> <sibling id='16' value='20'/> <sibling id='17' value='10'/> </distances> <cpus num='5'> <cpu id='120' socket_id='17' core_id='2216' siblings='120'/> <cpu id='128' socket_id='17' core_id='2224' siblings='128'/> <cpu id='136' socket_id='17' core_id='2272' siblings='136'/> <cpu id='144' socket_id='17' core_id='2280' siblings='144'/> <cpu id='152' socket_id='17' core_id='2288' siblings='152'/> </cpus> </cell> </cells> </topology> <secmodel> <model>selinux</model> <doi>0</doi> <baselabel type='kvm'>system_u:system_r:svirt_t:s0</baselabel> <baselabel type='qemu'>system_u:system_r:svirt_tcg_t:s0</baselabel> </secmodel> <secmodel> <model>dac</model> <doi>0</doi> <baselabel type='kvm'>+107:+107</baselabel> <baselabel type='qemu'>+107:+107</baselabel> </secmodel> </host> <guest> <os_type>hvm</os_type> <arch name='ppc64le'> <wordsize>64</wordsize> <emulator>/usr/libexec/qemu-kvm</emulator> <machine maxCpus='255'>pseries-rhel7.2.0</machine> <machine canonical='pseries-rhel7.2.0' maxCpus='255'>pseries</machine> <domain type='qemu'/> <domain type='kvm'> <emulator>/usr/libexec/qemu-kvm</emulator> </domain> </arch> <features> <cpuselection/> <deviceboot/> <disksnapshot default='on' toggle='no'/> </features> </guest> </capabilities> # cat /proc/cpuinfo processor : 0 cpu : POWER8E (raw), altivec supported clock : 3690.000000MHz revision : 2.0 (pvr 004b 0200) processor : 8 cpu : POWER8E (raw), altivec supported clock : 3690.000000MHz revision : 2.0 (pvr 004b 0200) ... processor : 152 cpu : POWER8E (raw), altivec supported clock : 3690.000000MHz revision : 2.0 (pvr 004b 0200) timebase : 512000000 platform : PowerNV model : 8247-22L machine : PowerNV 8247-22L firmware : OPAL v3 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2202.html |