kata-containers/tests/metrics/time
Gabriela Cervantes a96ff49060 metrics: Use function definition to have uniformity
This PR uses the function definition to have uniformity across
all the launch times script.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
2024-06-11 17:36:08 +00:00
..
launch_times.sh metrics: Use function definition to have uniformity 2024-06-11 17:36:08 +00: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