diff options
| author | SeongJae Park <[email protected]> | 2022-06-13 19:23:00 +0000 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-03 18:08:43 -0700 |
| commit | 40e983cca9274e177bd5b9379299b44d9536ac68 (patch) | |
| tree | 4b19d4d01255ce56c603b55799e0b6914d8491f7 /tools/perf/scripts/python | |
| parent | b57e39a743e4efc6945523f121691ac76f9161de (diff) | |
mm/damon: introduce DAMON-based LRU-lists Sorting
Users can do data access-aware LRU-lists sorting using 'LRU_PRIO' and
'LRU_DEPRIO' DAMOS actions. However, finding best parameters including
the hotness/coldness thresholds, CPU quota, and watermarks could be
challenging for some users. To make the scheme easy to be used without
complex tuning for common situations, this commit implements a static
kernel module called 'DAMON_LRU_SORT' using the 'LRU_PRIO' and
'LRU_DEPRIO' DAMOS actions.
It proactively sorts LRU-lists using DAMON with conservatively chosen
default values of the parameters. That is, the module under its default
parameters will make no harm for common situations but provide some level
of efficiency improvements for systems having clear hot/cold access
pattern under a level of memory pressure while consuming only a limited
small portion of CPU time.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions