lkml.org 
[lkml]   [2022]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH v1 0/3] Rebase DAMON_RECALIM for NUMA system
Date

Current DAMON_RECALIM is not compatible with the NUMA memory system. To
proactively reclaim memory, DAMON_RECLAIM kernel thread(kdamond) has to wake up
before kswapd does reclaim memory. However, the current watermark for proactive
reclamation is based on entire system free memory. So, though the one memory
node is fully used, kdamond is not waked up.

These patches clarify watermarks of DAMOS and enable monitoring per NUMA node
proactive reclamation on DAMON_RECLAIM.

Jonghyeon Kim (3):
mm/damon: Rebase damos watermarks for NUMA systems
mm/damon/core: Add damon_start_one()
mm/damon/reclaim: Add per NUMA node proactive reclamation by
DAMON_RECLAIM.

include/linux/damon.h | 3 +
mm/damon/core.c | 39 +++++++++--
mm/damon/reclaim.c | 147 ++++++++++++++++++++++++++++++------------
3 files changed, 140 insertions(+), 49 deletions(-)

--
2.17.1

\
 
 \ /
  Last update: 2022-02-18 11:27    [W:0.111 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site