diff options
author | Sverker Eriksson <[email protected]> | 2016-04-12 20:51:49 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-04-15 19:00:33 +0200 |
commit | 6cbd63b281a9690b2db5fead3f756d34140f8fb5 (patch) | |
tree | bc3d4cceeffe40a3f41fbafe54ecc9c37f719015 /erts/emulator/beam | |
parent | 01ac0d2cb316b97834eb1dbbe4a86d2a6be84f04 (diff) | |
download | otp-6cbd63b281a9690b2db5fead3f756d34140f8fb5.tar.gz otp-6cbd63b281a9690b2db5fead3f756d34140f8fb5.tar.bz2 otp-6cbd63b281a9690b2db5fead3f756d34140f8fb5.zip |
erts: Tweak defaults for literal allocator
Reduce main carrier size
and number of free descriptors.
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/erl_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c index 9cbe00d719..6b5f5bd63e 100644 --- a/erts/emulator/beam/erl_alloc.c +++ b/erts/emulator/beam/erl_alloc.c @@ -307,9 +307,9 @@ set_default_literal_alloc_opts(struct au_init *ip) ip->init.util.name_prefix = "literal_"; ip->init.util.alloc_no = ERTS_ALC_A_LITERAL; #ifndef SMALL_MEMORY - ip->init.util.mmbcs = 2*1024*1024; /* Main carrier size */ + ip->init.util.mmbcs = 1024*1024; /* Main carrier size */ #else - ip->init.util.mmbcs = 1*1024*1024; /* Main carrier size */ + ip->init.util.mmbcs = 256*1024; /* Main carrier size */ #endif ip->init.util.ts = ERTS_ALC_MTA_LITERAL; ip->init.util.asbcst = 0; |