You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/cnf-performing-end-to-end-tests-running-cyclictest.adoc
+3-7Lines changed: 3 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,16 +15,12 @@ The `cyclictest` tool measures the real-time kernel scheduler latency on the spe
15
15
16
16
[NOTE]
17
17
====
18
-
When executing `podman` commands as a non-root or non-privileged user, mounting paths can fail with `permission denied` errors. To make the `podman` command work, append `:Z` to the volumes creation; for example, `-v $(pwd)/:/kubeconfig:Z`. This allows `podman` to do the proper SELinux relabeling.
18
+
When executing `podman` commands as a non-root or non-privileged user, mounting paths can fail with `permission denied` errors. Depending on your local operating system and SELinux configuration, you might also experience issues running these commands from your home directory. To make the `podman` commands work, run the commands from a folder that is not your home/<username> directory, and append `:Z` to the volumes creation. For example, `-v $(pwd)/:/kubeconfig:Z`. This allows `podman` to do the proper SELinux relabeling.
19
19
====
20
20
21
21
.Prerequisites
22
22
23
-
* You have logged in to `registry.redhat.io` with your Customer Portal credentials.
24
-
25
-
* You have installed the real-time kernel in the cluster.
26
-
27
-
* You have applied a cluster performance profile by using Node Tuning Operator.
23
+
* You have reviewed the prerequisites for running latency tests.
28
24
29
25
.Procedure
30
26
@@ -45,7 +41,7 @@ If the results exceed the latency threshold, the test fails.
45
41
+
46
42
[IMPORTANT]
47
43
====
48
-
For valid results, the test should run for at least 12 hours.
44
+
During testing shorter time periods, as shown, can be used to run the tests. However, for final verification and valid results, the test should run for at least 12 hours (43200 seconds).
Copy file name to clipboardExpand all lines: modules/cnf-performing-end-to-end-tests-running-hwlatdetect.adoc
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,14 +15,12 @@ The `hwlatdetect` tool is available in the `rt-kernel` package with a regular su
15
15
16
16
[NOTE]
17
17
====
18
-
When executing `podman` commands as a non-root or non-privileged user, mounting paths can fail with `permission denied` errors. To make the `podman` command work, append `:Z` to the volumes creation; for example, `-v $(pwd)/:/kubeconfig:Z`. This allows `podman` to do the proper SELinux relabeling.
18
+
When executing `podman` commands as a non-root or non-privileged user, mounting paths can fail with `permission denied` errors. Depending on your local operating system and SELinux configuration, you might also experience issues running these commands from your home directory. To make the `podman` commands work, run the commands from a folder that is not your home/<username> directory, and append `:Z` to the volumes creation. For example, `-v $(pwd)/:/kubeconfig:Z`. This allows `podman` to do the proper SELinux relabeling.
19
19
====
20
20
21
21
.Prerequisites
22
22
23
-
* You have installed the real-time kernel in the cluster.
24
-
25
-
* You have logged in to `registry.redhat.io` with your Customer Portal credentials.
23
+
* You have reviewed the prerequisites for running latency tests.
26
24
27
25
.Procedure
28
26
@@ -43,7 +41,7 @@ If the results exceed the latency threshold, the test fails.
43
41
+
44
42
[IMPORTANT]
45
43
====
46
-
For valid results, the test should run for at least 12 hours.
44
+
During testing shorter time periods, as shown, can be used to run the tests. However, for final verification and valid results, the test should run for at least 12 hours (43200 seconds).
Copy file name to clipboardExpand all lines: modules/cnf-performing-end-to-end-tests-running-oslat.adoc
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,13 +15,12 @@ The `oslat` test simulates a CPU-intensive DPDK application and measures all the
15
15
16
16
[NOTE]
17
17
====
18
-
When executing `podman` commands as a non-root or non-privileged user, mounting paths can fail with `permission denied` errors. To make the `podman` command work, append `:Z` to the volumes creation; for example, `-v $(pwd)/:/kubeconfig:Z`. This allows `podman` to do the proper SELinux relabeling.
18
+
When executing `podman` commands as a non-root or non-privileged user, mounting paths can fail with `permission denied` errors. Depending on your local operating system and SELinux configuration, you might also experience issues running these commands from your home directory. To make the `podman` commands work, run the commands from a folder that is not your home/<username> directory, and append `:Z` to the volumes creation. For example, `-v $(pwd)/:/kubeconfig:Z`. This allows `podman` to do the proper SELinux relabeling.
19
19
====
20
20
21
21
.Prerequisites
22
22
23
-
* You have logged in to `registry.redhat.io` with your Customer Portal credentials.
24
-
* You have applied a cluster performance profile by using the Node Tuning Operator.
23
+
* You have reviewed the prerequisites for running latency tests.
25
24
26
25
.Procedure
27
26
@@ -44,7 +43,7 @@ If the results exceed the latency threshold, the test fails.
44
43
+
45
44
[IMPORTANT]
46
45
====
47
-
For valid results, the test should run for at least 12 hours.
46
+
During testing shorter time periods, as shown, can be used to run the tests. However, for final verification and valid results, the test should run for at least 12 hours (43200 seconds).
Copy file name to clipboardExpand all lines: modules/cnf-performing-end-to-end-tests-running-the-tests.adoc
+22-24Lines changed: 22 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,46 +15,44 @@ Run the cluster latency tests to validate node tuning for your Cloud-native Netw
15
15
16
16
[NOTE]
17
17
====
18
-
When executing `podman` commands as a non-root or non-privileged user, mounting paths can fail with `permission denied` errors. To make the `podman` command work, append `:Z` to the volumes creation; for example, `-v $(pwd)/:/kubeconfig:Z`. This allows `podman` to do the proper SELinux relabeling.
18
+
When executing `podman` commands as a non-root or non-privileged user, mounting paths can fail with `permission denied` errors. Depending on your local operating system and SELinux configuration, you might also experience issues running these commands from your home directory. To make the `podman` commands work, run the commands from a folder that is not your home/<username> directory, and append `:Z` to the volumes creation. For example, `-v $(pwd)/:/kubeconfig:Z`. This allows `podman` to do the proper SELinux relabeling.
19
19
====
20
20
21
+
This procedure runs the three individual tests `hwlatdetect`, `cyclictest`, and `oslat`. For details on these individual tests, see their individual sections.
22
+
21
23
.Procedure
22
24
23
25
. Open a shell prompt in the directory containing the `kubeconfig` file.
24
26
+
25
-
You provide the test image with a `kubeconfig` file in current directory and its related `$KUBECONFIG` environment variable, mounted through a volume. This allows the running container to use the `kubeconfig` file from inside the container.
26
-
27
-
. Run the latency tests by entering the following command:
27
+
You provide the test image with a `kubeconfig` file in current directory and its related `$KUBECONFIG` environment variable, mounted through a volume. This allows the running container to use the `kubeconfig` file from inside the container.
28
28
+
29
-
[source,terminal,subs="attributes+"]
30
-
----
31
-
$ podman run -v $(pwd)/:/kubeconfig:Z -e KUBECONFIG=/kubeconfig/kubeconfig \
The LATENCY_TEST_RUNTIME is shown in seconds, in this case 600 seconds (10 minutes). The test runs successfully when the maximum observed latency is lower than MAXIMUM_LATENCY (20 μs).
46
+
+
47
+
If the results exceed the latency threshold, the test fails.
51
48
+
52
-
--
53
-
<performance_profile> :: Is the name of the performance profile you want to run the latency tests against.
54
-
--
49
+
. Optional: Append `--ginkgo.dry-run` flag to run the latency tests in dry-run mode. This is useful for checking what commands the tests run.
50
+
51
+
. Optional: Append `-ginkgo.v` flag to run the tests with increased verbosity.
52
+
55
53
. Optional: Append `--ginkgo.timeout="24h"` flag to ensure the Ginkgo 2.0 test suite does not timeout before the latency tests complete.
56
54
+
57
55
[IMPORTANT]
58
56
====
59
-
For valid latency test results, run the testsfor at least 12 hours.
57
+
During testing shorter time periods, as shown, can be used to run the tests. However, for final verification and valid results, the test should run for at least 12 hours (43200 seconds).
Copy file name to clipboardExpand all lines: scalability_and_performance/low_latency_tuning/cnf-performing-platform-verification-latency-tests.adoc
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,9 @@ The `cnf-tests` image also includes several tests that are not supported by Red
20
20
21
21
Your cluster must meet the following requirements before you can run the latency tests:
22
22
23
-
. You have configured a performance profile with the Node Tuning Operator.
23
+
* You have applied all the required CNF configurations. This includes the `PerformanceProfile` cluster and other configuration according to the reference design specifications (RDS) or your specific requirements.
24
24
25
-
. You have applied all the required CNF configurations in the cluster.
26
-
27
-
. You have a pre-existing `MachineConfigPool` CR applied in the cluster. The default worker pool is `worker-cnf`.
25
+
* You have logged in to `registry.redhat.io` with your Customer Portal credentials by using the `podman login` command.
0 commit comments