aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2010-09-04 00:21:32 +0200
committerRickard Green <[email protected]>2010-09-04 00:29:38 +0200
commit14b1091a4b09e5626aaa63e9d1ea60e829fc829b (patch)
treef0f67179c0ac46fbcdd002b174bf092b0ef5cf25 /erts
parentcac3a16a49d0ba8c4694d985b17403ac4456ade7 (diff)
downloadotp-14b1091a4b09e5626aaa63e9d1ea60e829fc829b.tar.gz
otp-14b1091a4b09e5626aaa63e9d1ea60e829fc829b.tar.bz2
otp-14b1091a4b09e5626aaa63e9d1ea60e829fc829b.zip
Lower the scheduler wakeup threshold
Lower the scheduler wakeup threshold since schedulers aren't spuriously woken as before (since commit 59ee2a593090e7d53c97ceba63cbd300d1b9657e).
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index 2609457415..6e34b25190 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -54,7 +54,7 @@
(ERTS_SCHED_SYS_SLEEP_SPINCOUNT*ERTS_SCHED_TSE_SLEEP_SPINCOUNT_FACT)
#define ERTS_SCHED_SUSPEND_SLEEP_SPINCOUNT 0
-#define ERTS_WAKEUP_OTHER_LIMIT (100*CONTEXT_REDS/2)
+#define ERTS_WAKEUP_OTHER_LIMIT (10*CONTEXT_REDS)
#define ERTS_WAKEUP_OTHER_DEC 10
#define ERTS_WAKEUP_OTHER_FIXED_INC (CONTEXT_REDS/10)