Re: [RFC PATCH v2 0/7] DAMON based 2-tier memory management for CXL memory
From: SeongJae Park
Date: Wed Mar 06 2024 - 22:05:59 EST
Hello,
On Tue, 27 Feb 2024 15:51:20 -0800 SeongJae Park <sj@xxxxxxxxxx> wrote:
> On Mon, 26 Feb 2024 23:05:46 +0900 Honggyu Kim <honggyu.kim@xxxxxx> wrote:
>
> > There was an RFC IDEA "DAMOS-based Tiered-Memory Management" previously
> > posted at [1].
> >
> > It says there is no implementation of the demote/promote DAMOS action
> > are made. This RFC is about its implementation for physical address
> > space.
[...]
> Honggyu joined DAMON Beer/Coffee/Tea Chat[1] yesterday, and we discussed about
> this patchset in high level. Sharing the summary here for open discussion. As
> also discussed on the first version of this patchset[2], we want to make single
> action for general page migration with minimum changes, but would like to keep
> page level access re-check. We also agreed the previously proposed DAMOS
> filter-based approach could make sense for the purpose.
>
> Because I was anyway planning making such DAMOS filter for not only
> promotion/demotion but other types of DAMOS action, I will start developing the
> page level access re-check results based DAMOS filter. Once the implementation
> of the prototype is done, I will share the early implementation. Then, Honggyu
> will adjust their implementation based on the filter, and run their tests again
> and share the results.
I just posted an RFC patchset for the page level access re-check DAMOS filter:
https://lore.kernel.org/r/20240307030013.47041-1-sj@xxxxxxxxxx
I hope it to help you better understanding and testing the idea.
>
> [1] https://lore.kernel.org/damon/20220810225102.124459-1-sj@xxxxxxxxxx/
> [2] https://lore.kernel.org/damon/20240118171756.80356-1-sj@xxxxxxxxxx
Thanks,
SJ
[...]