Re: [RFC] autonuma: Support to scan page table asynchronously

From: Huang\, Ying
Date: Sun Apr 19 2020 - 22:33:06 EST


SeongJae Park <sj38.park@xxxxxxxxx> writes:
>
> DAMON allows users to know which address ranges have which access frequency.
> Thus, I think DAMON could be used for detection of hot pages, which will be
> good migration candidates, instead of the NUMA hinting fault based referenced
> pages detection.
>
> The benefits I expect from this change are better accuracy and less overhead.
> As we can know not only referenced pages but hot pages, migration will be more
> effective.

The purpose of AutoNUMA scanning isn't to find the hot pages, but the
pages that are accessed across NUMA node. PTE accessed bit cannot
provide information of accessing CPU, so it's not enough for AutoNUMA.

Best Regards,
Huang, Ying