Skip to content

Commit e493961

Browse files
authored
Merge pull request #30639 from kquinn1204/CNF-792
Cnf 792
2 parents 7633f72 + 7842d61 commit e493961

7 files changed

+640
-0
lines changed

_topic_map.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1921,6 +1921,10 @@ Topics:
19211921
- Name: Performance Addon Operator for low latency nodes
19221922
File: cnf-performance-addon-operator-for-low-latency-nodes
19231923
Distros: openshift-origin,openshift-enterprise
1924+
Distros: openshift-origin,openshift-enterprise
1925+
- Name: Creating a performance profile
1926+
File: cnf-create-performance-profiles
1927+
Distros: openshift-origin,openshift-enterprise
19241928
- Name: Provisioning and deploying a distributed unit (DU)
19251929
File: cnf-provisioning-and-deploying-a-distributed-unit
19261930
Distros: openshift-webscale
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Module included in the following assemblies:
2+
// Epic CNF-792 (4.8)
3+
// * scalability_and_performance/cnf-create-performance-profiles.adoc
4+
5+
[id="cnf-about-the-profile-creator-tool_{context}"]
6+
= About the Performance Profile Creator
7+
8+
The Performance Profile Creator (PPC) is a command-line tool, delivered with the Performance Addon Operator, used to create the performance profile.
9+
The tool consumes `must-gather` data from the cluster and several user-supplied profile arguments. The PPC generates a performance profile that is appropriate for your hardware and topology.
10+
11+
The tool is run by one of the following methods:
12+
13+
.. Invoking `podman`
14+
15+
.. Calling a wrapper script
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// Module included in the following assemblies:
2+
// Epic CNF-792 (4.8)
3+
// * scalability_and_performance/cnf-create-performance-profiles.adoc
4+
5+
[id="gathering-data-about-your-cluster-using-must-gather_{context}"]
6+
= Gathering data about your cluster using `must-gather`
7+
8+
The Performance Profile Creator (PPC) tool requires `must-gather` data. As a cluster administrator, run `must-gather` to capture information about your cluster .
9+
10+
.Prerequisites
11+
12+
* Access to the cluster as a user with the `cluster-admin` role.
13+
* Access to the Performance Addon Operator image.
14+
* The OpenShift Container Platform CLI (`oc`) installed.
15+
16+
.Procedure
17+
18+
. Navigate to the directory where you want to store the `must-gather` data.
19+
20+
. Run `must-gather` on your cluster:
21+
+
22+
[source,terminal]
23+
24+
----
25+
$ oc adm must-gather --image=<PAO image> --dest-dir=<dir>
26+
----
27+
+
28+
[NOTE]
29+
====
30+
`must-gather` must be run with the `performance-addon-operator-must-gather` image. The output can optionally be compressed. Compressed output is required if you are running the Performance Profile Creator wrapper script.
31+
====
32+
33+
+
34+
.Example
35+
+
36+
[source,terminal]
37+
----
38+
$ oc adm must-gather --image=quay.io/openshift-kni/performance-addon-operator-must-gather:4.8-snapshot --dest-dir=must-gather
39+
----
40+
. Create a compressed file from the `must-gather` directory:
41+
+
42+
[source,terminal]
43+
----
44+
$ tar cvaf must-gather.tar.gz must-gather/
45+
----
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
// Module included in the following assemblies:
2+
// Epic CNF-792 (4.8)
3+
// * scalability_and_performance/cnf-create-performance-profiles.adoc
4+
5+
6+
[id="performance-profile-creator-arguments_{context}"]
7+
= Performance Profile Creator arguments
8+
9+
.Performance Profile Creator arguments
10+
["cols="30%,70%",options="header"]
11+
|===
12+
| Argument | Description
13+
14+
| `disable-ht`
15+
a|Disable hyperthreading.
16+
17+
Possible values: `true` or `false`.
18+
19+
Default: `false`.
20+
21+
[WARNING]
22+
====
23+
If this argument is set to `true` you should not disable hyperthreading in the BIOS. Disabling hyperthreading is accomplished with a kernel command line argument.
24+
====
25+
26+
| `info`
27+
a| This captures cluster information and is used in discovery mode only. Discovery mode also requires the `must-gather-dir-path`. If any other arguments are set they are ignored.
28+
29+
Possible values:
30+
31+
* `log`
32+
* `JSON`
33+
34+
+
35+
[NOTE]
36+
====
37+
These options define the output format with the JSON format being reserved for debugging.
38+
====
39+
40+
Default: `log`.
41+
42+
| `mcp-name`
43+
|MCP name for example `worker-cnf` corresponding to the target machines. This parameter is required.
44+
45+
| `must-gather-dir-path`
46+
| Must gather directory path. This parameter is required.
47+
48+
When the user runs the tool with the wrapper script `must-gather` is supplied by the script itself and the user must not specify it.
49+
50+
| `power-consumption-mode`
51+
a|The power consumption mode.
52+
53+
Possible values:
54+
55+
* `default`
56+
* `low-latency`
57+
* `ultra-low-latency`
58+
59+
Default: `default`.
60+
61+
| `profile-name`
62+
| Name of the performance profile to create.
63+
Default: `performance`.
64+
65+
| `reserved-cpu-count`
66+
a| Number of reserved CPUs. This parameter is required.
67+
68+
[NOTE]
69+
====
70+
This must be a natural number. A value of 0 is not allowed.
71+
====
72+
73+
| `rt-kernel`
74+
| Enable real-time kernel. This parameter is required.
75+
76+
Possible values: `true` or `false`.
77+
78+
| `split-reserved-cpus-across-numa`
79+
| Split the reserved CPUs across NUMA nodes.
80+
81+
Possible values: `true` or `false`.
82+
83+
Default: `false`.
84+
85+
| `topology-manager-policy`
86+
a| Kubelet Topology Manager policy of the performance profile to be created.
87+
88+
Possible values:
89+
90+
* `single-numa-node`
91+
* `best-effort`
92+
* `restricted`
93+
94+
Default: `restricted`.
95+
96+
| `user-level-networking`
97+
| Run with user level networking (DPDK) enabled.
98+
99+
Possible values: `true` or `false`.
100+
101+
Default: `false`.
102+
|===

0 commit comments

Comments
 (0)