diff options
| author | SeongJae Park <[email protected]> | 2024-02-07 12:31:30 -0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-02-22 10:24:56 -0800 |
| commit | 51f58c9da14b1680e352f28a16365803c125af6d (patch) | |
| tree | 1754af3d7511b566a08cd53af7e7dacab0ac3b8f /tools/perf/scripts/python/bin | |
| parent | a8622625bf645bc095cb4676d36ff12b53d5d0a4 (diff) | |
selftests/damon: add a test for DAMOS quota
Add a selftest for verifying the DAMOS quota feature. The test is very
similar to sysfs_update_schemes_tried_regions_wss_estimation.py. It
starts an artificial workload of 20 MiB working set, run DAMON to find the
working set size, but with 1 MiB/100 ms size quota. Then, it collect the
DAMON-found working set size every 100 ms and check if the quota was
always applied as expected. For the confirmation, the tests shows the
stat-applied region size and the qt_exceeds stat.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions