Re: [PATCH 7/7] sched,numa: change scan period code to match intent

2014-06-25 Thread Mel Gorman
On Mon, Jun 23, 2014 at 11:41:35AM -0400, r...@redhat.com wrote: > From: Rik van Riel > > Reading through the scan period code and comment, it appears the > intent was to slow down NUMA scanning when a majority of accesses > are on the local node, specifically a local:remote ratio of 3:1. > > Ho

[PATCH 7/7] sched,numa: change scan period code to match intent

2014-06-23 Thread riel
From: Rik van Riel Reading through the scan period code and comment, it appears the intent was to slow down NUMA scanning when a majority of accesses are on the local node, specifically a local:remote ratio of 3:1. However, the code actually tests local / (local + remote), and the actual cut-off