Files
kata-containers/tests/metrics/network
David Esparza b2577000e7 metrics: Expose iperf3 pods over a k8s networks.
A prerequisite for measuring kata network bandwidth is
run Iperf3 tool at a the transport layer provided by a
k8s service for exposing a network where the clients
inside the cluster can use to contact Pods in the service.

Signed-off-by: David Esparza <david.esparza.borquez@intel.com>
2023-12-07 18:07:05 -06:00
..

Kata Containers network metrics

Kata Containers provides a series of network performance tests. Running these provides a basic reference for measuring network essentials like bandwidth, jitter, latency and parallel bandwidth.

Performance tools

  • iperf3 measures bandwidth, jitter, CPU usage, parallel bandwidth and the quality of a network link.

Networking tests

  • k8s-network-metrics-iperf3.sh measures bandwidth which is the speed of the data transfer.
  • latency-network.sh measures network latency.
  • nginx-network.sh is a benchmark of the lightweight Nginx HTTPS web-server and measures the HTTP requests over a fixed period of time with a configurable number of concurrent clients/connections.
  • k8s-network-metrics-iperf3-udp.sh measures UDP bandwidth and parallel bandwidth which is the speed of the data transfer.

Running the tests

Individual tests can be run by hand, for example:

$ cd metrics
$ bash network/iperf3_kubernetes/k8s-network-metrics-iperf3.sh -b