RFC mm/damon/core: improve DAMOS quota efficiency for core layer filters
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm/damon/core: set quota-score histogram with core filtersmm/ | +2 | 0 replies | |
| 2/2 | mm/damon/core: do non-safe region walk on kdamond_apply_schemes()mm/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] mm/damon/core: improve DAMOS quota efficiency for core layer filters
Improve two below problematic behaviors of DAMOS that makes it less efficient when core layer filters are used.
DAMOS generates the under-quota regions prioritization-purpose access temperature histogram [1] with only the scheme target access pattern. The DAMOS filters are ignored on the histogram, and this can result in the scheme not applied to eligible regions. For working around this, users had to use separate DAMON contexts. The memory tiering approaches are such examples.
DAMOS splits regions that intersect with address filters, so that only filtered-out part of the region is skipped. But, the implementation is skipping the other part of the region that is not filtered out, too. As a result, DAMOS can work slower than expected.
Improve the two inefficient behaviors with two patches, respectively. Read the patches for more details about the problem and how those are fixed.
[1] "Prioritization" section of Documentation/mm/damon/design.rst
SeongJae Park (2):
mm/damon/core: set quota-score histogram with core filters mm/damon/core: do non-safe region walk on kdamond_apply_schemes()
mm/damon/core.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-)
base-commit: ae5fb88b410209639b49d5d271809fdb614df91f
Signature · 1 line
2.47.3