Re: [PATCH -V6 RESEND 1/3] numa balancing: Migrate on fault among multiple bound nodes

2020-12-10 Thread Huang, Ying
"Huang, Ying" writes: > Peter Zijlstra writes: > >> On Wed, Dec 02, 2020 at 11:40:54AM +, Mel Gorman wrote: >>> On Wed, Dec 02, 2020 at 04:42:32PM +0800, Huang Ying wrote: >>> > Now, NUMA balancing can only optimize the page placement among the >>> > NUMA nodes if the default memory policy

Re: [PATCH -V6 RESEND 1/3] numa balancing: Migrate on fault among multiple bound nodes

2020-12-04 Thread Huang, Ying
Peter Zijlstra writes: > On Wed, Dec 02, 2020 at 11:40:54AM +, Mel Gorman wrote: >> On Wed, Dec 02, 2020 at 04:42:32PM +0800, Huang Ying wrote: >> > Now, NUMA balancing can only optimize the page placement among the >> > NUMA nodes if the default memory policy is used. Because the memory >>

Re: [PATCH -V6 RESEND 1/3] numa balancing: Migrate on fault among multiple bound nodes

2020-12-03 Thread Mel Gorman
On Thu, Dec 03, 2020 at 11:25:50AM +0100, Peter Zijlstra wrote: > On Wed, Dec 02, 2020 at 11:40:54AM +, Mel Gorman wrote: > > On Wed, Dec 02, 2020 at 04:42:32PM +0800, Huang Ying wrote: > > > Now, NUMA balancing can only optimize the page placement among the > > > NUMA nodes if the default

Re: [PATCH -V6 RESEND 1/3] numa balancing: Migrate on fault among multiple bound nodes

2020-12-03 Thread Peter Zijlstra
On Wed, Dec 02, 2020 at 11:40:54AM +, Mel Gorman wrote: > On Wed, Dec 02, 2020 at 04:42:32PM +0800, Huang Ying wrote: > > Now, NUMA balancing can only optimize the page placement among the > > NUMA nodes if the default memory policy is used. Because the memory > > policy specified explicitly

Re: [PATCH -V6 RESEND 1/3] numa balancing: Migrate on fault among multiple bound nodes

2020-12-02 Thread Mel Gorman
On Wed, Dec 02, 2020 at 04:42:32PM +0800, Huang Ying wrote: > Now, NUMA balancing can only optimize the page placement among the > NUMA nodes if the default memory policy is used. Because the memory > policy specified explicitly should take precedence. But this seems > too strict in some

[PATCH -V6 RESEND 1/3] numa balancing: Migrate on fault among multiple bound nodes

2020-12-02 Thread Huang Ying
Now, NUMA balancing can only optimize the page placement among the NUMA nodes if the default memory policy is used. Because the memory policy specified explicitly should take precedence. But this seems too strict in some situations. For example, on a system with 4 NUMA nodes, if the memory of