Skip to content

mm/damon/schemes: Extend stats for better online analysis and tuning

SeongJae Park linux-mm lkml 1 version Applied

Status from this message: [merged] docs-admin-guide-mm-damon-usage-update-for-schemes-statistics.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6mm/damon/schemes: Account scheme actions that successfully appliedinclude/linux/damon.h mm/damon/core.c mm/damon/dbgfs.c +2 more+53 -330 repliesApplied
2/6mm/damon/schemes: Account how many times quota limit has exceededinclude/linux/damon.h mm/damon/core.c+4 -00 repliesApplied
3/6mm/damon/reclaim: Provide reclamation statisticsmm/damon/reclaim.c+46 -00 repliesApplied
4/6Docs/admin-guide/mm/damon/reclaim: Document statistics parametersDocumentation/admin-guide/mm/damon/reclaim.rst+25 -00 repliesApplied
5/6mm/damon/dbgfs: Support all DAMOS statsmm/damon/dbgfs.c+4 -20 repliesApplied
6/6Docs/admin-guide/mm/damon/usage: Update for schemes statisticsDocumentation/admin-guide/mm/damon/usage.rst+5 -40 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/6] mm/damon/schemes: Extend stats for better online analysis and tuning

To help online access pattern analysis and tuning of DAMON-based Operation Schemes (DAMOS), DAMOS provides simple statistics for each scheme. Introduction of DAMOS time/space quota further made the tuning easier by making the risk management easier. However, that also made understanding of the working schemes a little bit more difficult.

For an example, progress of a given scheme can now be throttled by not only the aggressiveness of the target access pattern, but also the time/space quotas. So, when a scheme is showing unexpectedly slow progress, it's difficult to know by what the progress of the scheme is throttled, with currently provided statistics.

This patchset extends the statistics to contain some metrics that can be helpful for such online schemes analysis and tuning (patches 1-2), exports those to users (patches 3 and 5), and add documents (patches 4 and 6).

SeongJae Park (6):
mm/damon/schemes: Account scheme actions that successfully applied mm/damon/schemes: Account how many times quota limit has exceeded mm/damon/reclaim: Provide reclamation statistics Docs/admin-guide/mm/damon/reclaim: Document statistics parameters mm/damon/dbgfs: Support all DAMOS stats Docs/admin-guide/mm/damon/usage: Update for schemes statistics

 .../admin-guide/mm/damon/reclaim.rst          | 25 ++++++++++
 Documentation/admin-guide/mm/damon/usage.rst  |  9 ++--
 include/linux/damon.h                         | 30 +++++++++---
 mm/damon/core.c                               | 15 ++++--
 mm/damon/dbgfs.c                              |  6 ++-
 mm/damon/paddr.c                              | 13 +++---
 mm/damon/reclaim.c                            | 46 +++++++++++++++++++
 mm/damon/vaddr.c                              | 30 ++++++------
 8 files changed, 136 insertions(+), 38 deletions(-)
Signature · 1 line
2.17.1