diff --git a/modules/cnf-running-the-performance-creator-profile-offline.adoc b/modules/cnf-running-the-performance-creator-profile-offline.adoc index e7fe46d8758..65566bec7b4 100644 --- a/modules/cnf-running-the-performance-creator-profile-offline.adoc +++ b/modules/cnf-running-the-performance-creator-profile-offline.adoc @@ -218,11 +218,11 @@ level=info msg=--- + [source,terminal] ---- -$ ./run-perf-profile-creator.sh -t /path-to-must-gather/must-gather.tar.gz -- --mcp-name=worker-cnf --reserved-cpu-count=1 --rt-kernel=true --split-reserved-cpus-across-numa=false --power-consumption-mode=ultra-low-latency --offlined-cpu-count=1 > my-performance-profile.yaml +$ ./run-perf-profile-creator.sh -t /path-to-must-gather/must-gather.tar.gz -- --mcp-name=worker-cnf --reserved-cpu-count=2 --rt-kernel=true --split-reserved-cpus-across-numa=false --power-consumption-mode=ultra-low-latency > my-performance-profile.yaml ---- + * `--mcp-name=worker-cnf` specifies the `worker-cnf` machine config pool. -* `--reserved-cpu-count=1` specifies one reserved CPU. +* `--reserved-cpu-count=2` specifies two reserved CPUs. * `--rt-kernel=true` enables the real-time kernel. * `--split-reserved-cpus-across-numa=false` disables reserved CPUs splitting across NUMA nodes. * `--power-consumption-mode=ultra-low-latency` specifies minimal latency at the cost of increased power consumption. @@ -250,8 +250,7 @@ metadata: spec: cpu: isolated: 2-3 - offlined: "1" - reserved: "0" + reserved: "0-1" machineConfigPoolSelector: machineconfiguration.openshift.io/role: worker-cnf nodeSelector: diff --git a/modules/cnf-running-the-performance-creator-profile.adoc b/modules/cnf-running-the-performance-creator-profile.adoc index b62ad8f12d3..dc3747db113 100644 --- a/modules/cnf-running-the-performance-creator-profile.adoc +++ b/modules/cnf-running-the-performance-creator-profile.adoc @@ -136,18 +136,17 @@ level=info msg=--- + [source,terminal,subs="attributes+"] ---- -$ podman run --entrypoint performance-profile-creator -v :/must-gather:z registry.redhat.io/openshift4/ose-cluster-node-tuning-rhel9-operator:v{product-version} --mcp-name=worker-cnf --reserved-cpu-count=1 --rt-kernel=true --split-reserved-cpus-across-numa=false --must-gather-dir-path /must-gather --power-consumption-mode=ultra-low-latency --offlined-cpu-count=1 > my-performance-profile.yaml +$ podman run --entrypoint performance-profile-creator -v :/must-gather:z registry.redhat.io/openshift4/ose-cluster-node-tuning-rhel9-operator:v{product-version} --mcp-name=worker-cnf --reserved-cpu-count=2 --rt-kernel=true --split-reserved-cpus-across-numa=false --must-gather-dir-path /must-gather --power-consumption-mode=ultra-low-latency > my-performance-profile.yaml ---- + * `-v ` specifies the path to either of the following components: ** The directory containing the `must-gather` data. ** The directory containing the `must-gather` decompressed .tar file. * `--mcp-name=worker-cnf` specifies the `worker-cnf` machine config pool. -* `--reserved-cpu-count=1` specifies one reserved CPU. +* `--reserved-cpu-count=2` specifies two reserved CPUs. * `--rt-kernel=true` enables the real-time kernel. * `--split-reserved-cpus-across-numa=false` disables reserved CPUs splitting across NUMA nodes. * `--power-consumption-mode=ultra-low-latency` specifies minimal latency at the cost of increased power consumption. -* `--offlined-cpu-count=1` specifies one offlined CPU. + [NOTE] ==== @@ -161,7 +160,7 @@ level=info msg="Nodes targeted by worker-cnf MCP are: [worker-2]" level=info msg="NUMA cell(s): 1" level=info msg="NUMA cell 0 : [0 1 2 3]" level=info msg="CPU(s): 4" -level=info msg="1 reserved CPUs allocated: 0 " +level=info msg="2 reserved CPUs allocated: 0-1 " level=info msg="2 isolated CPUs allocated: 2-3" level=info msg="Additional Kernel Args based on configuration: []" ---- @@ -184,8 +183,7 @@ metadata: spec: cpu: isolated: 2-3 - offlined: "1" - reserved: "0" + reserved: "0-1" machineConfigPoolSelector: machineconfiguration.openshift.io/role: worker-cnf net: