metrics: Add scaling system footprint in metrics report

This PR adds scaling system footprint in metrics report.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2023-08-29 17:51:27 +00:00
parent 8e6d4e6f3d
commit 79fbb9d243

View File

@ -7,9 +7,23 @@
# Introduction
This report compares the metrics between multiple sets of data generated from
the [Kata Containers report generation scripts](https://github.com/kata-containers/tests/tree/main/metrics/report/README.md).
the [Kata Containers report generation scripts](https://github.com/kata-containers/kata-containers/tree/main/metrics/report/README.md).
This report was generated using the data from the **`r resultdirs`** results directories.
\pagebreak
# Container scaling system footprint
This [test](https://github.com/kata-containers/kata-containers/blob/main/metrics/density/footprint_data.sh)
measures the system memory footprint impact whilst running an increasing number
of containers. For this test, [KSM](https://en.wikipedia.org/wiki/Kernel_same-page_merging)
is enabled. The results show how system memory is consumed for different sized
containers, and their average system memory footprint cost and density (how many
containers you can fit per Gb) is calculated.
```{r footprint-density, echo=FALSE, fig.cap="System Memory density"}
test_name_extra="-ksm"
source('footprint-density.R')
rm(test_name_extra)
```
\pagebreak