diff options
author | Fenghua Yu <fenghua.yu@intel.com> | 2020-01-16 13:32:40 -0800 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-02-10 18:42:46 -0700 |
commit | 01fee6b4d1f93247e806dddb0065b88317949085 (patch) | |
tree | ea8469cb32e4d0fc2cbd539f4f2a9968a57d9990 /tools/testing/selftests/resctrl/fill_buf.c | |
parent | ecdbb911f22d6cc5d422571dedf048b889d71417 (diff) |
selftests/resctrl: Add MBA test
MBA (Memory Bandwidth Allocation) test starts a stressful memory
bandwidth benchmark and allocates memory bandwidth from 100% down
to 10% for the benchmark process. For each allocation, compare
perf IMC counter and mbm total bytes from resctrl. The difference
between the two values should be within a threshold to pass the test.
Default benchmark is built-in fill_buf. But users can specify their
own benchmark by option "-b".
We can add memory bandwidth allocation for multiple processes in the
future.
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>
Diffstat (limited to 'tools/testing/selftests/resctrl/fill_buf.c')
0 files changed, 0 insertions, 0 deletions