github.com/dmaizel/tests@v0.0.0-20210728163746-cae6a2d9cee8/cmd/checkmetrics/baseline/density-CI.toml (about) 1 # This file contains current expected footprint/density figures utilised 2 # by the metrics CI system when running in a cloud instance. 3 4 # Footprint from https://github.com/kata-containers/tests/blob/master/metrics/density/docker_memory_usage.sh 5 # when KSM is *disabled* 6 [[metric]] 7 # The test name entry dictates the results file that is checked. 8 name = "memory-footprint" 9 # If no Type set, then we default to json 10 #type = "json" 11 description = "measure container average footprint" 12 checkvar = ".\"memory-footprint\".Results | .[] | .average.Result" 13 checktype = "mean" 14 midval = 137500.0 15 minpercent = 5.0 16 maxpercent = 5.0 17 18 # Footprint from https://github.com/kata-containers/tests/blob/master/metrics/density/docker_memory_usage.sh 19 # when KSM is *enabled* 20 [[metric]] 21 # The test name entry dictates the results file that is checked. 22 name = "memory-footprint-ksm" 23 type = "json" 24 description = "measure container average footprint with KSM" 25 checkvar = ".\"memory-footprint-ksm\".Results | .[] | .average.Result" 26 checktype = "mean" 27 midval = 46355.0 28 minpercent = 5.0 29 maxpercent = 5.0 30 31 # Memory footprint *inside* the container - that is, how much memory inside the container 32 # was consumed by 'the system'. 33 [[metric]] 34 # The test name entry dictates the results file that is checked. 35 name = "memory-footprint-inside-container" 36 type = "json" 37 description = "measure container footprint inside the container" 38 checkvar = ".\"memory-footprint-inside-container\".Results | .[] | .memavailable.Result" 39 checktype = "mean" 40 midval = 1991324.0 41 minpercent = 5.0 42 maxpercent = 5.0 43