[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250701085417.1734-1-yunjeong.mun@sk.com>
Date: Tue, 1 Jul 2025 17:54:15 +0900
From: Yunjeong Mun <yunjeong.mun@...com>
To: sj@...nel.org
Cc: akpm@...ux-foundation.org,
damon@...ts.linux.dev,
linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
kernel_team@...ynix.com,
honggyu.kim@...com
Subject: [RFC PATCH 0/2] samples/damon: improve expression of target region in mtier
`mtier` module is a static module for migrating pages using
damos_action: DAMOS_MIGRATE_HOT and DAMOS_MIGRATE_COLD. Currently,
this module is built on the assumption that the system has two NUMA
nodes, where node0 is the fast-tier and node1 is slow-tier. This
patchset aims to make the expression of the migration target region
more user-friendly by : 1) allowing users to specify just the node id,
instead of physical address, and 2) adding two new knobs.
Patch 1 removes four knobs, `node#_start_addr` and `node#_end_addr`, which
previously required users to input the physical address of the region.
It introduces logic to conver NUMA node ids to physical address.
Patch 2 introduces two new knobs `migrate_hot` and `migrate_cold`, which
specify the source and destination node ids in a comma-separated format.
Yunjeong Mun (2):
samples/damon: convert node id to physical address
samples/damon: add `migrate_hot` and `migrate_cold` knobs
samples/damon/mtier.c | 108 ++++++++++++++++++++++++++++++++++++------
1 file changed, 93 insertions(+), 15 deletions(-)
base-commit: db16fe88cdf83a1e7fdf75de282025b6ad61d08f
--
2.34.1
Powered by blists - more mailing lists