diff options
author | Rik van Riel <[email protected]> | 2014-06-23 11:41:35 -0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-07-05 11:17:40 +0200 |
commit | a22b4b012340b988dbe7a58461d6fcc582f34aa0 (patch) | |
tree | 0a5a3427d51af5063ed0b8c174f24fa22d064e25 /fs/jbd2/commit.c | |
parent | db015daedb56251b73f956f70b3b8813f80d8ee1 (diff) |
sched/numa: Change scan period code to match intent
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 point was around 30% local accesses, well before
a task has actually converged on a node.
Changing the threshold to 7 means scanning slows down when a task
has around 70% of its accesses local, which appears to match the
intent of the code more closely.
Signed-off-by: Rik van Riel <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Linus Torvalds <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions