Skip to content

Commit 437a8a6

Browse files
authored
Merge pull request #95862 from openshift-cherrypick-robot/cherry-pick-95721-to-enterprise-4.19
[enterprise-4.19] OCPBUGS-48242#Updated output examples in this section
2 parents e9a3290 + e539f12 commit 437a8a6

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

modules/cnf-running-the-performance-creator-profile.adoc

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,19 @@ $ podman run --rm --entrypoint performance-profile-creator registry.redhat.io/op
6868
----
6969
A tool that automates creation of Performance Profiles
7070
71+
Available Commands:
72+
completion Generate the autocompletion script for the specified shell
73+
help Help about any command
74+
info requires --must-gather-dir-path, ignores other arguments. [Valid values: log,json]
75+
7176
Usage:
7277
performance-profile-creator [flags]
78+
performance-profile-creator [command]
7379
7480
Flags:
7581
--disable-ht Disable Hyperthreading
82+
--enable-hardware-tuning Enable setting maximum cpu frequencies
7683
-h, --help help for performance-profile-creator
77-
--info string Show cluster information; requires --must-gather-dir-path, ignore the other arguments. [Valid values: log, json] (default "log")
7884
--mcp-name string MCP name corresponding to the target machines (required)
7985
--must-gather-dir-path string Must gather directory path (default "must-gather")
8086
--offlined-cpu-count int Number of offlined CPUs
@@ -86,24 +92,28 @@ Flags:
8692
--split-reserved-cpus-across-numa Split the Reserved CPUs across NUMA nodes
8793
--topology-manager-policy string Kubelet Topology Manager Policy of the performance profile to be created. [Valid values: single-numa-node, best-effort, restricted] (default "restricted")
8894
--user-level-networking Run with User level Networking(DPDK) enabled
95+
96+
Use "performance-profile-creator [command] --help" for more information about a command.
8997
----
9098

9199
. To display information about the cluster, run the PPC tool with the `log` argument by running the following command:
92100
+
93101
[source,terminal,subs="attributes+"]
94102
----
95-
$ 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} --info log --must-gather-dir-path /must-gather
103+
$ 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} info --must-gather-dir-path /must-gather
96104
----
97105
+
98106
* `--entrypoint performance-profile-creator` defines the performance profile creator as a new entry point to `podman`.
99107
* `-v <path_to_must_gather>` specifies the path to either of the following components:
100108
** The directory containing the `must-gather` data.
101109
** An existing directory containing the `must-gather` decompressed .tar file.
102-
* `--info log` specifies a value for the output format.
103110
+
104111
.Example output
105112
[source,terminal]
106113
----
114+
level=info msg="Nodes names targeted by master pool are: "
115+
level=info msg="Nodes names targeted by worker-cnf pool are: host2.example.com "
116+
level=info msg="Nodes names targeted by worker pool are: host.example.com host1.example.com "
107117
level=info msg="Cluster info:"
108118
level=info msg="MCP 'master' nodes:"
109119
level=info msg=---
@@ -179,6 +189,8 @@ spec:
179189
reserved: "0"
180190
machineConfigPoolSelector:
181191
machineconfiguration.openshift.io/role: worker-cnf
192+
net:
193+
userLevelNetworking: false
182194
nodeSelector:
183195
node-role.kubernetes.io/worker-cnf: ""
184196
numa:

0 commit comments

Comments
 (0)