Skip to content

selftests/damon: improve leak detection and wss estimation reliability

SeongJae Park damon linux-kselftest linux-mm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew 4 of 5 applied

Patches in v1 4 of 5 applied

#Subject and filesSizeRepliesApplied
1/5selftests/damon/sysfs_memcg_path_leak.sh: use kmemleaktools/testing/selftests/damon/sysfs_memcg_path_leak.sh+14 -120 replies
2/5selftests/damon/wss_estimation: test for up to 160 MiB working set sizetools/testing/selftests/damon/sysfs_update_schemes_tried_regions_wss_estimation.py+23 -60 repliesApplied
3/5selftests/damon/access_memory: add repeat modetools/testing/selftests/damon/access_memory.c+21 -80 repliesApplied
4/5selftests/damon/wss_estimation: ensure number of collected wsstools/testing/selftests/damon/sysfs_update_schemes_tried_regions_wss_estimation.py+4 -20 repliesApplied
5/5selftests/damon/wss_estimation: deduplicate failed samples outputtools/testing/selftests/damon/sysfs_update_schemes_tried_regions_wss_estimation.py+5 -10 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] selftests/damon: improve leak detection and wss estimation reliability

Two DAMON selftets, namely 'sysfs_memcg_leak' and 'sysfs_update_schemes_tried_regions_wss_estimation' frequently show intermittent failures due to their unreliable leak detection and working set size estimation. Make those more reliable.

SeongJae Park (5):
selftests/damon/sysfs_memcg_path_leak.sh: use kmemleak selftests/damon/wss_estimation: test for up to 160 MiB working set
size
selftests/damon/access_memory: add repeat mode selftests/damon/wss_estimation: ensure number of collected wss selftests/damon/wss_estimation: deduplicate failed samples output

 tools/testing/selftests/damon/access_memory.c | 29 +++++++++----
 .../selftests/damon/sysfs_memcg_path_leak.sh  | 26 ++++++------
 ...te_schemes_tried_regions_wss_estimation.py | 41 +++++++++++++++----
 3 files changed, 67 insertions(+), 29 deletions(-)

base-commit: 3944e89e2ad1bafac43daae60b56d2847227ab01

Signature · 1 line
2.47.3