Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1825850

Summary: Add powerpc-utils package in RHCOS
Product: OpenShift Container Platform Reporter: Pradipta Kumar <pradikum>
Component: RHCOSAssignee: Micah Abbott <miabbott>
Status: CLOSED DUPLICATE QA Contact: Michael Nguyen <mnguyen>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.3.zCC: bbreard, imcleod, jligon, nstielau
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-20 13:16:29 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 Pradipta Kumar 2020-04-20 12:10:46 UTC
powerpc-utils package is missing in RHCOS, which makes it little tedious to set SMT and other processor settings via Machine Config Operator (MCO).
powerpc-utils ships the ppc64_cpu binary which makes it very easy to set SMT mode (2,4,8) or online/offlining of CPUs or setting CPU frequency.

This package is already part of RHEL and is an opensource project hosted at - https://github.com/ibm-power-utilities/powerpc-utils

The processor setting binary code is the following - https://github.com/ibm-power-utilities/powerpc-utils/blob/master/src/ppc64_cpu.c

The alternate mechanism to set SMT is via direct modification of the sys entries as described here - https://access.redhat.com/solutions/rhel-smt
However please note that /sys/devices/system/cpu/smt/control is an Intel only setting.

Additionally the script method can be used but it's less than obvious for different SMT and other processor specific settings.

Including powerpc-utils will ensure suitable processor settings can be performed via MCO based on workload requirements.

Comment 1 Pradipta Kumar 2020-04-20 13:16:29 UTC
Inclusion of powerpc-utils is being handled via the following two related bugzillas

- https://bugzilla.redhat.com/show_bug.cgi?id=1814335
- https://bugzilla.redhat.com/show_bug.cgi?id=1819566

*** This bug has been marked as a duplicate of bug 1814335 ***