]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/resctrl: Add Cache QoS Monitoring (CQM) selftest
authorFenghua Yu <fenghua.yu@intel.com>
Thu, 16 Jan 2020 21:32:41 +0000 (13:32 -0800)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 11 Feb 2020 01:42:57 +0000 (18:42 -0700)
commit41a0ef3b0147a7e3bd65f8ca0eb716f1633c67a4
treedd078fd0c1808fbf5db2b5ee3259626dbd1767e7
parent4ebaa14cf3e0c9b7a011c8c057649f2f87ca8ef0
selftests/resctrl: Add Cache QoS Monitoring (CQM) selftest

Cache QoS Monitoring (CQM) selftest starts stressful cache benchmark
with specified size of memory to access the cache. Last Level cache
occupancy reported by CQM should be close to the size of the memory.

Co-developed-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Co-developed-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/resctrl/cache.c [new file with mode: 0644]
tools/testing/selftests/resctrl/cqm_test.c [new file with mode: 0644]
tools/testing/selftests/resctrl/resctrl.h
tools/testing/selftests/resctrl/resctrl_tests.c
tools/testing/selftests/resctrl/resctrl_val.c
tools/testing/selftests/resctrl/resctrlfs.c