:_mod-docs-content-type: ASSEMBLY
[id="cnf-performing-platform-verification-latency-tests"]
= Performing latency tests for platform verification
include::_attributes/common-attributes.adoc[]
:context: cnf-latency-tests

toc::[]

[role="_abstract"]
You can use the Cloud-native Network Functions (CNF) tests image to run latency tests on a CNF-enabled {product-title} cluster, where all the components required for running CNF workloads are installed. Run the latency tests to validate node tuning for your workload.

The `cnf-tests` container image is available at `registry.redhat.io/openshift4/cnf-tests-rhel9:v{product-version}`.

[id="cnf-latency-tests-prerequisites_{context}"]
== Prerequisites for running latency tests

Your cluster must meet the following requirements before you can run the latency tests:

* 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.

* You have logged in to `registry.redhat.io` with your Customer Portal credentials by using the `podman login` command. 

[role="_additional-resources"]
.Additional resources

* xref:../scalability_and_performance/cnf-provisioning-low-latency-workloads.adoc#cnf-scheduling-workload-onto-worker-with-real-time-capabilities_cnf-provisioning-low-latency[Scheduling a workload onto a worker with real-time capabilities]

include::modules/cnf-measuring-latency.adoc[leveloffset=+1]

include::modules/cnf-performing-end-to-end-tests-running-the-tests.adoc[leveloffset=+1]

include::modules/cnf-performing-end-to-end-tests-running-hwlatdetect.adoc[leveloffset=+2]

include::modules/cnf-performing-end-to-end-tests-example-results-hwlatdetect.adoc[leveloffset=+2]

[role="_additional-resources"]
.Additional resources

* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/9/html-single/optimizing_rhel_9_for_real_time_for_low_latency_operation/index#setting-bios-parameters-for-system-tuning_optimizing-RHEL9-for-real-time-for-low-latency-operation[Setting firmware parameters for system tuning]

include::modules/cnf-performing-end-to-end-tests-running-cyclictest.adoc[leveloffset=+2]

include::modules/cnf-performing-end-to-end-tests-example-results-cyclictest.adoc[leveloffset=+2]

include::modules/cnf-performing-end-to-end-tests-running-oslat.adoc[leveloffset=+2]

include::modules/cnf-performing-end-to-end-tests-test-failure-report.adoc[leveloffset=+1]

include::modules/cnf-performing-end-to-end-tests-junit-test-output.adoc[leveloffset=+1]

include::modules/cnf-performing-end-to-end-tests-running-in-single-node-cluster.adoc[leveloffset=+1]

include::modules/cnf-performing-end-to-end-tests-disconnected-mode.adoc[leveloffset=+1]

include::modules/cnf-performing-end-to-end-tests-mirroring-images-to-custom-registry.adoc[leveloffset=+2]

[role="_additional-resources"]
.Additional resources

* link:https://catalog.redhat.com/software/containers/explore[registry.redhat.io]

include::modules/cnf-performing-end-to-end-tests-image-parameters.adoc[leveloffset=+2]

include::modules/cnf-performing-end-to-end-tests-mirroring-to-cluster-internal-registry.adoc[leveloffset=+2]

include::modules/mirroring-different-set-of-images.adoc[leveloffset=+2]

include::modules/cnf-performing-end-to-end-tests-troubleshooting.adoc[leveloffset=+1]
