Re: ppc: RECLAIM_DISTANCE 10?

2014-02-20 Thread Michal Hocko
On Wed 19-02-14 08:33:45, Nishanth Aravamudan wrote: On 19.02.2014 [08:24:38 -0800], Nishanth Aravamudan wrote: On 18.02.2014 [17:43:38 -0800], David Rientjes wrote: On Tue, 18 Feb 2014, Nishanth Aravamudan wrote: How about the following? diff --git a/mm/page_alloc.c

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-19 Thread Michal Hocko
On Tue 18-02-14 14:27:11, David Rientjes wrote: On Tue, 18 Feb 2014, Michal Hocko wrote: Hi, I have just noticed that ppc has RECLAIM_DISTANCE reduced to 10 set by 56608209d34b (powerpc/numa: Set a smaller value for RECLAIM_DISTANCE to enable zone reclaim). The commit message suggests

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-19 Thread Michal Hocko
On Tue 18-02-14 15:34:05, Nishanth Aravamudan wrote: Hi Michal, On 18.02.2014 [10:06:58 +0100], Michal Hocko wrote: Hi, I have just noticed that ppc has RECLAIM_DISTANCE reduced to 10 set by 56608209d34b (powerpc/numa: Set a smaller value for RECLAIM_DISTANCE to enable zone reclaim).

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-19 Thread Michal Hocko
On Tue 18-02-14 17:43:38, David Rientjes wrote: On Tue, 18 Feb 2014, Nishanth Aravamudan wrote: How about the following? diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 5de4337..1a0eced 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1854,7 +1854,8 @@ static void

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-19 Thread Michal Hocko
On Wed 19-02-14 00:20:21, David Rientjes wrote: On Wed, 19 Feb 2014, Michal Hocko wrote: I strongly suspect that the patch is correct since powerpc node distances are different than the architectures you're talking about and get doubled for every NUMA domain that the hardware

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-19 Thread Nishanth Aravamudan
On 19.02.2014 [08:24:38 -0800], Nishanth Aravamudan wrote: On 18.02.2014 [17:43:38 -0800], David Rientjes wrote: On Tue, 18 Feb 2014, Nishanth Aravamudan wrote: How about the following? diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 5de4337..1a0eced 100644 ---

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-19 Thread Nishanth Aravamudan
On 18.02.2014 [17:43:38 -0800], David Rientjes wrote: On Tue, 18 Feb 2014, Nishanth Aravamudan wrote: How about the following? diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 5de4337..1a0eced 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1854,7 +1854,8 @@ static

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-19 Thread Nishanth Aravamudan
On 19.02.2014 [09:23:13 +0100], Michal Hocko wrote: On Tue 18-02-14 15:34:05, Nishanth Aravamudan wrote: Hi Michal, On 18.02.2014 [10:06:58 +0100], Michal Hocko wrote: Hi, I have just noticed that ppc has RECLAIM_DISTANCE reduced to 10 set by 56608209d34b (powerpc/numa: Set a

ppc: RECLAIM_DISTANCE 10?

2014-02-18 Thread Michal Hocko
Hi, I have just noticed that ppc has RECLAIM_DISTANCE reduced to 10 set by 56608209d34b (powerpc/numa: Set a smaller value for RECLAIM_DISTANCE to enable zone reclaim). The commit message suggests that the zone reclaim is desirable for all NUMA configurations. History has shown that the zone

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-18 Thread Nishanth Aravamudan
Hi Michal, On 18.02.2014 [10:06:58 +0100], Michal Hocko wrote: Hi, I have just noticed that ppc has RECLAIM_DISTANCE reduced to 10 set by 56608209d34b (powerpc/numa: Set a smaller value for RECLAIM_DISTANCE to enable zone reclaim). The commit message suggests that the zone reclaim is

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-18 Thread Nishanth Aravamudan
On 18.02.2014 [15:34:05 -0800], Nishanth Aravamudan wrote: Hi Michal, On 18.02.2014 [10:06:58 +0100], Michal Hocko wrote: Hi, I have just noticed that ppc has RECLAIM_DISTANCE reduced to 10 set by 56608209d34b (powerpc/numa: Set a smaller value for RECLAIM_DISTANCE to enable zone

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-18 Thread Nishanth Aravamudan
On 18.02.2014 [15:58:00 -0800], Nishanth Aravamudan wrote: On 18.02.2014 [15:34:05 -0800], Nishanth Aravamudan wrote: Hi Michal, On 18.02.2014 [10:06:58 +0100], Michal Hocko wrote: Hi, I have just noticed that ppc has RECLAIM_DISTANCE reduced to 10 set by 56608209d34b