diff options
author | Rickard Green <rickard@erlang.org> | 2010-09-04 00:21:32 +0200 |
---|---|---|
committer | Rickard Green <rickard@erlang.org> | 2010-09-04 00:29:38 +0200 |
commit | 14b1091a4b09e5626aaa63e9d1ea60e829fc829b (patch) | |
tree | f0f67179c0ac46fbcdd002b174bf092b0ef5cf25 | |
parent | cac3a16a49d0ba8c4694d985b17403ac4456ade7 (diff) | |
download | otp-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).
-rw-r--r-- | erts/emulator/beam/erl_process.c | 2 |
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) |