|
67 | 67 | --info string Show cluster information; requires --must-gather-dir-path, ignore the other arguments. [Valid values: log, json] (default "log") |
68 | 68 | --mcp-name string MCP name corresponding to the target machines (required) |
69 | 69 | --must-gather-dir-path string Must gather directory path (default "must-gather") |
| 70 | + --offlined-cpu-count int Number of offlined CPUs |
70 | 71 | --power-consumption-mode string The power consumption mode. [Valid values: default, low-latency, ultra-low-latency] (default "default") |
71 | 72 | --profile-name string Name of the performance profile to be created (default "performance") |
72 | 73 | --reserved-cpu-count int Number of reserved CPUs (required) |
@@ -109,7 +110,7 @@ The `info` option requires a value which specifies the output format. Possible v |
109 | 110 | + |
110 | 111 | [source,terminal,subs="attributes+"] |
111 | 112 | ---- |
112 | | -$ podman run --entrypoint performance-profile-creator -v /must-gather:/must-gather:z registry.redhat.io/openshift4/ose-cluster-node-tuning-operator:v{product-version} --mcp-name=worker-cnf --reserved-cpu-count=20 --rt-kernel=true --split-reserved-cpus-across-numa=false --topology-manager-policy=single-numa-node --must-gather-dir-path /must-gather --power-consumption-mode=ultra-low-latency > my-performance-profile.yaml |
| 113 | +$ podman run --entrypoint performance-profile-creator -v /must-gather:/must-gather:z registry.redhat.io/openshift4/ose-cluster-node-tuning-operator:vBranch Build --mcp-name=worker-cnf --reserved-cpu-count=4 --rt-kernel=true --split-reserved-cpus-across-numa=false --must-gather-dir-path /must-gather --power-consumption-mode=ultra-low-latency --offlined-cpu-count=6 > my-performance-profile.yaml |
113 | 114 | ---- |
114 | 115 | + |
115 | 116 | [NOTE] |
@@ -138,26 +139,21 @@ kind: PerformanceProfile |
138 | 139 | metadata: |
139 | 140 | name: performance |
140 | 141 | spec: |
141 | | - additionalKernelArgs: |
142 | | - - nmi_watchdog=0 |
143 | | - - audit=0 |
144 | | - - mce=off |
145 | | - - processor.max_cstate=1 |
146 | | - - intel_idle.max_cstate=0 |
147 | | - - idle=poll |
148 | 142 | cpu: |
149 | | - isolated: "1,3,5,7,9,11,13,15,17,19-39,41,43,45,47,49,51,53,55,57" |
150 | | - reserved: "0,2,4,6,8,10,12,14,16,18,40,42,44,46,48,50,52,54,56,58" |
151 | | - offlined: "59-79" |
| 143 | + isolated: 2-39,48-79 |
| 144 | + offlined: 42-47 |
| 145 | + reserved: 0-1,40-41 |
| 146 | + machineConfigPoolSelector: |
| 147 | + machineconfiguration.openshift.io/role: worker-cnf |
152 | 148 | nodeSelector: |
153 | 149 | node-role.kubernetes.io/worker-cnf: "" |
154 | 150 | numa: |
155 | | - topologyPolicy: single-numa-node |
| 151 | + topologyPolicy: restricted |
156 | 152 | realTimeKernel: |
157 | 153 | enabled: true |
158 | 154 | workloadHints: |
159 | 155 | highPowerConsumption: true |
160 | | - realtime: true |
| 156 | + realTime: true |
161 | 157 | ---- |
162 | 158 |
|
163 | 159 | . Apply the generated profile: |
|
0 commit comments