diff options
author | Rickard Green <[email protected]> | 2014-01-24 12:45:27 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2014-01-24 12:45:27 +0100 |
commit | 3ff735cc034dea43e593b5e58b91be95268cbf85 (patch) | |
tree | 13b2bf547c093d6652a72b90b669ea6b1a70918e | |
parent | e7ea832a4a3a8ba2f94ce02a47ca34b60277cb0a (diff) | |
download | otp-3ff735cc034dea43e593b5e58b91be95268cbf85.tar.gz otp-3ff735cc034dea43e593b5e58b91be95268cbf85.tar.bz2 otp-3ff735cc034dea43e593b5e58b91be95268cbf85.zip |
Disable scheduler utilization balancing if +scl true is passed
-rw-r--r-- | erts/emulator/beam/erl_init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_init.c b/erts/emulator/beam/erl_init.c index 1d4f617746..19088fd913 100644 --- a/erts/emulator/beam/erl_init.c +++ b/erts/emulator/beam/erl_init.c @@ -1439,8 +1439,10 @@ erl_start(int argc, char **argv) } else if (has_prefix("cl", sub_param)) { arg = get_arg(sub_param+2, argv[i+1], &i); - if (sys_strcmp("true", arg) == 0) + if (sys_strcmp("true", arg) == 0) { erts_sched_compact_load = 1; + erts_sched_balance_util = 0; + } else if (sys_strcmp("false", arg) == 0) erts_sched_compact_load = 0; else { |