linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ppc: RECLAIM_DISTANCE 10?
@ 2014-02-18  9:06 Michal Hocko
  2014-02-18 22:27 ` David Rientjes
  2014-02-18 23:34 ` Nishanth Aravamudan
  0 siblings, 2 replies; 16+ messages in thread
From: Michal Hocko @ 2014-02-18  9:06 UTC (permalink / raw)
  To: Anton Blanchard; +Cc: linuxppc-dev, LKML, linux-mm

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 reclaim is more often harmful than
helpful and leads to performance problems. The default RECLAIM_DISTANCE
for generic case has been increased from 20 to 30 around 3.0
(32e45ff43eaf mm: increase RECLAIM_DISTANCE to 30).

I strongly suspect that the patch is incorrect and it should be
reverted. Before I will send a revert I would like to understand what
led to the patch in the first place. I do not see why would PPC use only
LOCAL_DISTANCE and REMOTE_DISTANCE distances and in fact machines I have
seen use different values.

Anton, could you comment please?
-- 
Michal Hocko
SUSE Labs

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-02-20  9:55 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18  9:06 ppc: RECLAIM_DISTANCE 10? Michal Hocko
2014-02-18 22:27 ` David Rientjes
2014-02-19  8:16   ` Michal Hocko
2014-02-19  8:20     ` David Rientjes
2014-02-19  9:19       ` Michal Hocko
2014-02-19 21:45         ` David Rientjes
2014-02-18 23:34 ` Nishanth Aravamudan
2014-02-18 23:58   ` Nishanth Aravamudan
2014-02-19  0:40     ` Nishanth Aravamudan
2014-02-19  1:43     ` David Rientjes
2014-02-19  8:33       ` Michal Hocko
2014-02-19 16:24       ` Nishanth Aravamudan
2014-02-19 16:33         ` Nishanth Aravamudan
2014-02-20  9:55           ` Michal Hocko
2014-02-19  8:23   ` Michal Hocko
2014-02-19 16:26     ` Nishanth Aravamudan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).