Bug 1825850 - Add powerpc-utils package in RHCOS
Summary: Add powerpc-utils package in RHCOS
Keywords:
Status: CLOSED DUPLICATE of bug 1814335
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RHCOS
Version: 4.3.z
Hardware: ppc64le
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Micah Abbott
QA Contact: Michael Nguyen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-20 12:10 UTC by Pradipta Kumar
Modified: 2020-04-20 13:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-20 13:16:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.