mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 06:52:13 +00:00
Merge pull request #7171 from GabyCT/topic/enabletimedoc
docs: Add boot time metrics documentation
This commit is contained in:
commit
c76583a08f
@ -48,6 +48,8 @@ boot into a workload or kill a container.
|
|||||||
This directory does *not* contain "speed" tests that measure network or storage
|
This directory does *not* contain "speed" tests that measure network or storage
|
||||||
for instance.
|
for instance.
|
||||||
|
|
||||||
|
For further details see the [time tests documentation](time).
|
||||||
|
|
||||||
### Density
|
### Density
|
||||||
|
|
||||||
Tests that measure the size and overheads of the runtime. Generally this is looking at
|
Tests that measure the size and overheads of the runtime. Generally this is looking at
|
||||||
|
16
tests/metrics/time/README.md
Normal file
16
tests/metrics/time/README.md
Normal 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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user