mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 11:58:41 +00:00
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>
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