Files
kata-containers/tests/metrics/time
David Esparza 1e15369e59 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>
2023-08-02 17:04:55 -06: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