diff options
| author | Nick Piggin <nickpiggin@yahoo.com.au> | 2004-08-23 21:08:06 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-23 21:08:06 -0700 |
| commit | b4f14b649f7c28041795cb728b71bab2fcf8cbef (patch) | |
| tree | cf39adea4522e139bdd8165ee179316c9f5bbe06 /include/linux | |
| parent | 8a78765b8a93722ddabe6ccd4884ebaae726a05c (diff) | |
[PATCH] sched: disable balance on clone
Don't balance on clone by default.
Balance on clone has a number of trivial performance failure cases, but it was
needed to get decent OpenMP performance on NUMA (Opteron) systems. Not doing
child-runs-first for new threads also solves this problem in a nicer way
(implemented in a previous patch).
Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 8abfd1111c33..4ef9e14612a3 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -627,7 +627,6 @@ struct sched_domain { .per_cpu_gain = 15, \ .flags = SD_BALANCE_NEWIDLE \ | SD_BALANCE_EXEC \ - | SD_BALANCE_CLONE \ | SD_WAKE_AFFINE \ | SD_WAKE_IDLE \ | SD_SHARE_CPUPOWER, \ @@ -650,7 +649,6 @@ struct sched_domain { .per_cpu_gain = 100, \ .flags = SD_BALANCE_NEWIDLE \ | SD_BALANCE_EXEC \ - | SD_BALANCE_CLONE \ | SD_WAKE_AFFINE \ | SD_WAKE_BALANCE, \ .last_balance = jiffies, \ @@ -672,7 +670,6 @@ struct sched_domain { .cache_nice_tries = 1, \ .per_cpu_gain = 100, \ .flags = SD_BALANCE_EXEC \ - | SD_BALANCE_CLONE \ | SD_WAKE_BALANCE, \ .last_balance = jiffies, \ .balance_interval = 1, \ |
