-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.16, 4.17, 4.18
-
None
-
False
-
-
Description of problem:
Example output of PPC tool in https://docs.openshift.com/container-platform/4.17/scalability_and_performance/low_latency_tuning/cnf-tuning-low-latency-nodes-with-perf-profile.html#running-the-performance-profile-profile-cluster-using-podman_cnf-low-latency-perf-profile should include new option -enable-hardware-tuning:
Flags:
--disable-ht Disable Hyperthreading
--enable-hardware-tuning Enable setting maximum cpu frequencies
-h, --help help for performance-profile-creator
--mcp-name string MCP name corresponding to the target machines (required)
--must-gather-dir-path string Must gather directory path (default "must-gather")
This should also be reflected in the created perf profile for example:
apiVersion: performance.openshift.io/v2
kind: PerformanceProfile
metadata:
name: performance
spec:
cpu:
isolated: 1,3-23
reserved: 0,2
machineConfigPoolSelector:
pools.operator.machineconfiguration.openshift.io/master: ""
net:
userLevelNetworking: false
nodeSelector:
node-role.kubernetes.io/master: ""
numa:
topologyPolicy: single-numa-node
realTimeKernel:
enabled: true
workloadHints:
highPowerConsumption: true
perPodPowerManagement: false
realTime: true
# HardwareTuning is an advanced feature, and only intended to be used if
# user is aware of the vendor recommendation on maximum cpu frequency.
# The structure must follow
#
# hardwareTuning:
# isolatedCpuFreq: <Maximum frequency for applications running on isolated cpus>
# reservedCpuFreq: <Maximum frequency for platform software running on reserved cpus>