aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_init.c
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-01-08 11:45:33 +0100
committerJohn Högberg <[email protected]>2018-01-08 12:38:28 +0100
commit2e601a2efc19d64ed0628a5973596e6331ddcc7c (patch)
tree69fd042b12888225e9770e479f12231e883333fa /erts/emulator/beam/erl_init.c
parent68a0f569410f7375c44a9d806930b1172c1d92a8 (diff)
downloadotp-2e601a2efc19d64ed0628a5973596e6331ddcc7c.tar.gz
otp-2e601a2efc19d64ed0628a5973596e6331ddcc7c.tar.bz2
otp-2e601a2efc19d64ed0628a5973596e6331ddcc7c.zip
Remove sender punishment
The reduction cost of sending messages is now constant and will no longer scale according to the length of the receiving process' message queue.
Diffstat (limited to 'erts/emulator/beam/erl_init.c')
-rw-r--r--erts/emulator/beam/erl_init.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/erts/emulator/beam/erl_init.c b/erts/emulator/beam/erl_init.c
index f52eed41d5..4846ccd2d3 100644
--- a/erts/emulator/beam/erl_init.c
+++ b/erts/emulator/beam/erl_init.c
@@ -155,9 +155,6 @@ erts_atomic32_t erts_writing_erl_crash_dump;
erts_tsd_key_t erts_is_crash_dumping_key;
int erts_initialized = 0;
-
-int erts_use_sender_punish;
-
/*
* Configurable parameters.
*/
@@ -758,8 +755,6 @@ early_init(int *argc, char **argv) /*
erts_initialized = 0;
- erts_use_sender_punish = 1;
-
erts_pre_early_init_cpu_topology(&max_reader_groups,
&ncpu,
&ncpuonln,
@@ -1765,8 +1760,6 @@ erl_start(int argc, char **argv)
erts_usage();
}
}
- else if (sys_strcmp("nsp", sub_param) == 0)
- erts_use_sender_punish = 0;
else if (has_prefix("tbt", sub_param)) {
arg = get_arg(sub_param+3, argv[i+1], &i);
res = erts_init_scheduler_bind_type_string(arg);