Re: [RFC PATCH v1 0/3] Rebase DAMON_RECALIM for NUMA system

Jonghyeon Kim
2022-02-23T07:12:41Z

On Wed, Feb 23, 2022 at 02:11:46PM +0900, Jonghyeon Kim wrote:
> On Tue, Feb 22, 2022 at 09:53:02AM +0000, SeongJae Park wrote:
> > Hello Jonghyeon,
> >
> > On Fri, 18 Feb 2022 19:26:08 +0900 Jonghyeon Kim <tome01@ajou.ac.kr> wrote:
> >
> > >
> > > 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.
> >
> > The high level concept of this patchset looks good to me. Nevertheless, maybe
> > there is some rooms for improvement. I left some comments on patches.
> >
> >
> > Thanks,
> > SJ
> >
>
> Hello SeongJae,
>
> Thanks for your patient comments about these patches. I will clean up and
> develop these patches including your suggestion and correction in next version.
>
>
> Jonghyeon