]> www.infradead.org Git - users/dwmw2/linux.git/commit
mm/damon/core: implement PSI metric DAMOS quota goal
authorSeongJae Park <sj@kernel.org>
Mon, 19 Feb 2024 19:44:24 +0000 (11:44 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 24 Feb 2024 01:48:28 +0000 (17:48 -0800)
commit2dbb60f789cbb5c0000a4664f40f9358b3a62ba2
treedad57b29d31de1d2996159a3a3abe69e4c2e0123
parentbcce9bc16f56fbc254857fcb31674ab868b824d7
mm/damon/core: implement PSI metric DAMOS quota goal

Extend DAMOS quota goal metric with system wide memory pressure stall
time.  Specifically, the system level 'some' PSI for memory is used.  The
target value can be set in microseconds.  DAMOS measures the increased
amount of the PSI metric in last quota_reset_interval and use the ratio of
it versus the user-specified target PSI value as the score for the
auto-tuning feedback loop.

Link: https://lkml.kernel.org/r/20240219194431.159606-14-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/damon.h
mm/damon/core.c