Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Due to limitations in the POWER8 thread/virtualization model, it was necessary to run a host in SMT disabled mode to run KVM guests. Because of this the qemu-kvm-rhev package includes a script which disables SMT at boot.
However, on POWER9 these hardware limitations are eased (at least in radix MMU mode) so we don't need to disable SMT in the host. Therefore our script should not disable SMT on POWER9.
Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.9.0-3.el7.ppc64le
How reproducible:
100%
Steps to Reproduce:
1. Install the qemu-kvm-rhev package on a POWER9 radix-mode Pegas host.
2. Look at "ppc64_cpu --smt" and/or lscpu output
Actual results:
c155f1-u34:~$ ppc64_cpu --smt
SMT is off
c155f1-u34:~$ lscpu
Architecture: ppc64le
Byte Order: Little Endian
CPU(s): 16
On-line CPU(s) list: 4,8,12,20
Off-line CPU(s) list: 5-7,9-11,13-15,21-23
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 2
NUMA node(s): 2
Model: 1.0 (pvr 004e 0100)
Model name: POWER9 (raw), altivec supported
L1d cache: 32K
L1i cache: 32K
L2 cache: 512K
L3 cache: 10240K
NUMA node0 CPU(s): 4,8,12
NUMA node8 CPU(s): 20
Expected results:
SMT is on, no offline threads in host.
Additional info:
------- Comment From lagarcia.com 2017-05-16 09:10 EDT-------
David,
Would you be able to make this new qemu package available in your people's page?
------- Comment From lagarcia.com 2017-05-16 09:11 EDT-------
(In reply to comment #7)
> David,
>
> Would you be able to make this new qemu package available in your people's
> page?
Or should we leverage Sam and Suraj for that?
I built updated preliminary packages including this change as well as the other outstanding bugfixes. I've put them on people.redhat.com as well as on 10.0.0.7 in Poughkeepsie.
------- Comment From clsoto.com 2017-05-17 14:57 EDT-------
(In reply to comment #11)
> (In reply to comment #10)
> > (In reply to comment #9)
> > > I built updated preliminary packages including this change as well as the
> > > other outstanding bugfixes. I've put them on people.redhat.com as well as
> > > on 10.0.0.7 in Poughkeepsie.
> > .
> > ... which is referencing the web site at
> > http://people.redhat.com/~dgibson/.bz1368786/
> > which now contains e.g.
> > "qemu-kvm-rhev-2.9.0-5.el7.dwg201705171225.ppc64le.rpm"
> > as of 05/17/2017 ...
> .
> ... please verify as soon as possible whether this qemu-kvm update
> will resolve this bugzilla ...
Installed this qemu
rpm -qa | grep qemu
qemu-kvm-rhev-2.9.0-5.el7.dwg201705171225.ppc64le
qemu-kvm-common-rhev-2.9.0-5.el7.dwg201705171225.ppc64le
qemu-kvm-tools-rhev-2.9.0-5.el7.dwg201705171225.ppc64le
qemu-img-rhev-2.9.0-5.el7.dwg201705171225.ppc64le
qemu-kvm-rhev-debuginfo-2.9.0-5.el7.dwg201705171225.ppc64le
I can see that we are not doing smt off in P9. thanks.
Reproduced on qemu-kvm-rhev-2.9.0-4.el7:
(1) On Power9 host, enable smt:
# ppc64_cpu --smt
SMT=4
(2) Install qemu-kvm-rhev-2.9.0-4.el7
(3) After installation:
# ppc64_cpu --smt
SMT is off
SMT is disabled.
Verified pass on qemu-kvm-2.9.0-17.el7a.ppc64le for both Power8 and Power9 hosts:
Power9:
(1) Enable smt:
# ppc64_cpu --smt
SMT=4
(2) Install qemu-kvm-2.9.0-17.el7a.ppc64le package.
(3) After installation:
# ppc64_cpu --smt
SMT=4
Power8:
(1) Enable smt: (ppc64_cpu --smt=on)
# ppc64_cpu --smt
SMT=8
(2) Install qemu-kvm-2.9.0-17.el7a.ppc64le package.
(3) After installation:
# ppc64_cpu --smt
SMT is off
Based on above, this bug is VERIFIED pass.
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://access.redhat.com/errata/RHEA-2017:3169