kata-containers/tests/metrics/time
David Esparza b2c627aac9 metrics: Improve naming testing containers in launch times test
This commit provides a new way to name the containers used
in the launch-times-test in this form:
'kata_launch_times_RANDOM_NUMBER', where RANDOM_NUMBER is
in the 0-1000 range.

Fixes: #7529

Signed-off-by: David Esparza <david.esparza.borquez@intel.com>
(cherry picked from commit 1e15369e59)
2023-09-21 13:09:16 +02:00
..
launch_times.sh metrics: Improve naming testing containers in launch times test 2023-09-21 13:09:16 +02:00
README.md docs: Add boot time metrics documentation 2023-06-26 16:19:28 +00:00

Kata Containers boot time metrics

The boot time metrics test takes a number of time measurements through the complete launch/shutdown cycle of a single container. From those measurements it derives a number of time measures, such as:

  • time to payload execution
  • time to get to VM kernel
  • time in VM kernel boot
  • time to quit
  • total time (from launch to finished)

Running the test

Boot time test can be run by hand, for example:

$ cd metrics 
$ bash time/launch_times.sh -i public.ecr.aws/ubuntu/ubuntu:latest -n 1