diff options
author | Sverker Eriksson <[email protected]> | 2018-05-21 14:33:27 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-06-04 16:28:48 +0200 |
commit | 29946f8628df35f000e37e5db8782decfa44876b (patch) | |
tree | 293903537e2b63018f90a28defeda7035e24328f /erts/emulator/beam/erl_db.h | |
parent | 99dfe4573a6e89eb93c5fcec523f2a76af61d859 (diff) | |
download | otp-29946f8628df35f000e37e5db8782decfa44876b.tar.gz otp-29946f8628df35f000e37e5db8782decfa44876b.tar.bz2 otp-29946f8628df35f000e37e5db8782decfa44876b.zip |
erts: Increase scalability of ets name lookup
by expanding the default size of the hash table
and increase number of locks.
Diffstat (limited to 'erts/emulator/beam/erl_db.h')
-rw-r--r-- | erts/emulator/beam/erl_db.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_db.h b/erts/emulator/beam/erl_db.h index 1664db9a41..db1dec015c 100644 --- a/erts/emulator/beam/erl_db.h +++ b/erts/emulator/beam/erl_db.h @@ -94,7 +94,7 @@ union db_table { /*TT*/ }; -#define DB_DEF_MAX_TABS 2053 /* Superseeded by environment variable +#define DB_DEF_MAX_TABS 8192 /* Superseeded by environment variable "ERL_MAX_ETS_TABLES" */ #define ERL_MAX_ETS_TABLES_ENV "ERL_MAX_ETS_TABLES" |