Srikar Dronamraju
305c1fac32
sched/numa: Evaluate move once per node
...
task_numa_compare() helps choose the best CPU to move or swap the
selected task. To achieve this task_numa_compare() is called for every
CPU in the node. Currently it evaluates if the task can be moved/swapped
for each of the CPUs. However the move evaluation is mostly independent
of the CPU. Evaluating the move logic once per node, provides scope for
simplifying task_numa_compare().
Running SPECjbb2005 on a 4 node machine and comparing bops/JVM
JVMS LAST_PATCH WITH_PATCH %CHANGE
16 25705.2 25058.2 -2.51
1 74433 72950 -1.99
Running SPECjbb2005 on a 16 node machine and comparing bops/JVM
JVMS LAST_PATCH WITH_PATCH %CHANGE
8 96589.6 105930 9.670
1 181830 178624 -1.76
(numbers from v1 based on v4.17-rc5)
Testcase Time: Min Max Avg StdDev
numa01.sh Real: 440.65 941.32 758.98 189.17
numa01.sh Sys: 183.48 320.07 258.42 50.09
numa01.sh User: 37384.65 71818.14 60302.51 13798.96
numa02.sh Real: 61.24 65.35 62.49 1.49
numa02.sh Sys: 16.83 24.18 21.40 2.60
numa02.sh User: 5219.59 5356.34 5264.03 49.07
numa03.sh Real: 822.04 912.40 873.55 37.35
numa03.sh Sys: 118.80 140.94 132.90 7.60
numa03.sh User: 62485.19 70025.01 67208.33 2967.10
numa04.sh Real: 690.66 872.12 778.49 65.44
numa04.sh Sys: 459.26 563.03 494.03 42.39
numa04.sh User: 51116.44 70527.20 58849.44 8461.28
numa05.sh Real: 418.37 562.28 525.77 54.27
numa05.sh Sys: 299.45 481.00 392.49 64.27
numa05.sh User: 34115.09 41324.02 39105.30 2627.68
Testcase Time: Min Max Avg StdDev %Change
numa01.sh Real: 516.14 892.41 739.84 151.32 2.587%
numa01.sh Sys: 153.16 192.99 177.70 14.58 45.42%
numa01.sh User: 39821.04 69528.92 57193.87 10989.48 5.435%
numa02.sh Real: 60.91 62.35 61.58 0.63 1.477%
numa02.sh Sys: 16.47 26.16 21.20 3.85 0.943%
numa02.sh User: 5227.58 5309.61 5265.17 31.04 -0.02%
numa03.sh Real: 739.07 917.73 795.75 64.45 9.776%
numa03.sh Sys: 94.46 136.08 109.48 14.58 21.39%
numa03.sh User: 57478.56 72014.09 61764.48 5343.69 8.813%
numa04.sh Real: 442.61 715.43 530.31 96.12 46.79%
numa04.sh Sys: 224.90 348.63 285.61 48.83 72.97%
numa04.sh User: 35836.84 47522.47 40235.41 3985.26 46.26%
numa05.sh Real: 386.13 489.17 434.94 43.59 20.88%
numa05.sh Sys: 144.29 438.56 278.80 105.78 40.77%
numa05.sh User: 33255.86 36890.82 34879.31 1641.98 12.11%
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@surriel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1529514181-9842-3-git-send-email-srikar@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2018-07-25 11:41:06 +02:00
..
2018-07-12 14:00:54 -07:00
2018-06-15 18:10:01 -03:00
2018-06-15 07:15:28 +09:00
2018-06-12 16:19:22 -07:00
2018-06-28 14:00:40 +02:00
2018-06-27 09:55:58 +02:00
2018-06-08 18:56:02 +09:00
2018-06-22 14:22:00 +02:00
2018-04-17 13:42:48 +02:00
2018-06-24 19:36:16 +08:00
2018-06-20 11:35:56 +02:00
2018-06-06 16:04:55 -07:00
2018-06-20 11:35:56 +02:00
2018-07-25 11:41:06 +02:00
2018-07-10 22:12:47 +02:00
2018-07-12 19:56:25 -04:00
2018-01-04 16:45:09 -08:00
2018-02-06 18:32:44 -08:00
2018-05-18 14:58:22 +02:00
2018-05-18 14:58:22 +02:00
2018-06-17 05:06:18 +09:00
2018-05-14 17:24:18 -04:00
2018-02-23 11:22:22 -05:00
2018-05-18 15:47:54 -04:00
2018-05-21 14:27:43 -04:00
2018-06-04 20:27:54 -07:00
2018-07-03 09:20:43 +02:00
2018-06-07 17:34:37 -07:00
2018-04-27 14:34:51 +02:00
2018-05-16 07:23:35 +02:00
2018-05-16 07:23:35 +02:00
2018-04-02 20:14:51 +02:00
2018-02-21 16:54:06 +01:00
2018-06-12 16:19:22 -07:00
2018-07-21 15:24:03 -07:00
2018-02-06 18:32:46 -08:00
2017-12-14 16:00:49 -08:00
2018-06-07 17:34:39 -07:00
2018-05-15 23:08:33 -07:00
2018-01-08 19:43:15 +01:00
2018-03-20 08:57:17 +01:00
2018-02-01 13:36:15 -08:00
2018-06-15 07:55:24 +09:00
2018-06-15 07:55:24 +09:00
2018-06-12 16:19:22 -07:00
2018-04-02 20:15:01 +02:00
2018-04-25 10:27:56 -04:00
2018-07-03 09:20:44 +02:00
2018-06-14 08:50:37 +02:00
2018-05-22 06:59:39 -07:00
2018-06-16 07:36:39 +09:00
2018-01-05 18:43:00 +11:00
2018-06-14 12:21:18 +09:00
2018-04-11 10:28:37 -07:00
2018-04-03 19:15:32 -07:00
2018-04-11 10:28:39 -07:00
2018-02-06 18:32:46 -08:00
2017-11-17 16:10:04 -08:00
2018-06-15 07:55:24 +09:00
2018-06-08 17:21:52 -07:00
2018-07-10 22:18:52 +02:00
2018-06-06 16:34:00 -07:00
2018-06-10 06:14:01 +02:00
2018-07-03 09:20:44 +02:00
2018-07-17 11:12:43 -07:00
2018-07-25 11:25:08 +02:00
2018-06-10 10:17:09 -07:00
2018-06-07 17:34:34 -07:00
2018-04-16 11:26:49 +02:00
2018-07-16 00:16:29 +02:00
2017-12-17 13:57:15 +01:00
2018-02-06 18:32:46 -08:00
2018-05-15 10:27:29 -07:00
2018-05-28 12:49:51 -04:00
2018-04-05 21:36:27 -07:00
2018-04-02 20:15:59 +02:00
2018-04-02 20:15:30 +02:00
2018-06-07 16:56:28 -04:00
2018-06-12 16:19:22 -07:00
2018-02-22 10:21:02 -08:00
2018-04-11 10:28:35 -07:00
2018-07-15 23:51:19 +02:00
2018-05-18 08:47:13 -07:00
2018-06-12 16:19:22 -07:00