diff options
author | Rik van Riel <[email protected]> | 2017-07-31 15:28:47 -0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-08-10 12:18:16 +0200 |
commit | b5dd77c8bdada7b6262d0cba02a6ed525bf4e6e1 (patch) | |
tree | 1dee4ce50d9a7b61cd85232e59563952c4f51b3a /net/lapb/lapb_iface.c | |
parent | 37ec97deb3a8c68a7adfab61beb261ffeab19d09 (diff) |
sched/numa: Scale scan period with tasks in group and shared/private
Running 80 tasks in the same group, or as threads of the same process,
results in the memory getting scanned 80x as fast as it would be if a
single task was using the memory.
This really hurts some workloads.
Scale the scan period by the number of tasks in the numa group, and
the shared / private ratio, so the average rate at which memory in
the group is scanned corresponds roughly to the rate at which a single
task would scan its memory.
Signed-off-by: Rik van Riel <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions