docs: Add boot time metrics documentation

This PR adds boot time metrics documentation for kata metrics tests.

Fixes #7170

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2023-06-26 16:19:28 +00:00
parent ce8e3cc091
commit 28130d3cef

View File

@ -0,0 +1,16 @@
# 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
```