Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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:
Expand Down
10 changes: 4 additions & 6 deletions modules/cnf-running-the-performance-creator-profile.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,17 @@ level=info msg=---
+
[source,terminal,subs="attributes+"]
----
$ podman run --entrypoint performance-profile-creator -v <path_to_must_gather>:/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 <path_to_must_gather>:/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 <path_to_must_gather>` 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]
====
Expand All @@ -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: []"
----
Expand All @@ -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:
Expand Down