Re: [RFC] mm: activate access-more-than-once page via NUMA balancing

2021-04-12 Thread Huang, Ying
Yu Zhao writes: > On Fri, Mar 26, 2021 at 12:21 AM Huang, Ying wrote: >> >> Mel Gorman writes: >> >> > On Thu, Mar 25, 2021 at 12:33:45PM +0800, Huang, Ying wrote: >> >> > I caution against this patch. >> >> > >> >> > It's non-deterministic for a number of reasons. As it requires NUMA >> >> >

Re: [RFC] mm: activate access-more-than-once page via NUMA balancing

2021-04-10 Thread Yu Zhao
On Fri, Mar 26, 2021 at 12:21 AM Huang, Ying wrote: > > Mel Gorman writes: > > > On Thu, Mar 25, 2021 at 12:33:45PM +0800, Huang, Ying wrote: > >> > I caution against this patch. > >> > > >> > It's non-deterministic for a number of reasons. As it requires NUMA > >> > balancing to be enabled, the

Re: [RFC] mm: activate access-more-than-once page via NUMA balancing

2021-03-26 Thread Huang, Ying
Mel Gorman writes: > On Thu, Mar 25, 2021 at 12:33:45PM +0800, Huang, Ying wrote: >> > I caution against this patch. >> > >> > It's non-deterministic for a number of reasons. As it requires NUMA >> > balancing to be enabled, the pageout behaviour of a system changes when >> > NUMA balancing is

Re: [RFC] mm: activate access-more-than-once page via NUMA balancing

2021-03-25 Thread Mel Gorman
On Thu, Mar 25, 2021 at 12:33:45PM +0800, Huang, Ying wrote: > > I caution against this patch. > > > > It's non-deterministic for a number of reasons. As it requires NUMA > > balancing to be enabled, the pageout behaviour of a system changes when > > NUMA balancing is active. If this led to pages

Re: [RFC] mm: activate access-more-than-once page via NUMA balancing

2021-03-24 Thread Huang, Ying
Hi, Mel, Thanks for comment! Mel Gorman writes: > On Wed, Mar 24, 2021 at 04:32:09PM +0800, Huang Ying wrote: >> One idea behind the LRU page reclaiming algorithm is to put the >> access-once pages in the inactive list and access-more-than-once pages >> in the active list. This is true for

Re: [RFC] mm: activate access-more-than-once page via NUMA balancing

2021-03-24 Thread Mel Gorman
On Wed, Mar 24, 2021 at 04:32:09PM +0800, Huang Ying wrote: > One idea behind the LRU page reclaiming algorithm is to put the > access-once pages in the inactive list and access-more-than-once pages > in the active list. This is true for the file pages that are accessed > via syscall