diff options
author | Rickard Green <rickard@erlang.org> | 2013-01-23 15:27:17 +0100 |
---|---|---|
committer | Rickard Green <rickard@erlang.org> | 2013-01-23 15:27:17 +0100 |
commit | 2e54bba4f0bc6bce8381dc2fcce72a965d152b1e (patch) | |
tree | 7d342ec8e7aaba63194023737b9d2608f9682563 /erts | |
parent | 6141db8f76d310f648cc8e278cf9b62bf1417ca8 (diff) | |
parent | 4189c03b99acb29ad6665eb655cb20cce7a67380 (diff) | |
download | otp-2e54bba4f0bc6bce8381dc2fcce72a965d152b1e.tar.gz otp-2e54bba4f0bc6bce8381dc2fcce72a965d152b1e.tar.bz2 otp-2e54bba4f0bc6bce8381dc2fcce72a965d152b1e.zip |
Merge branch 'rickard/rg-default/OTP-10737'
* rickard/rg-default/OTP-10737:
Raise default reader group limit to 64
Diffstat (limited to 'erts')
-rw-r--r-- | erts/doc/src/erl.xml | 2 | ||||
-rw-r--r-- | erts/emulator/beam/erl_cpu_topology.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml index 064030ad3e..37c7f3466b 100644 --- a/erts/doc/src/erl.xml +++ b/erts/doc/src/erl.xml @@ -672,7 +672,7 @@ <item> <p>Limits the amount of reader groups used by read/write locks optimized for read operations in the Erlang runtime system. By - default the reader groups limit equals 8.</p> + default the reader groups limit equals 64.</p> <p>When the amount of schedulers is less than or equal to the reader groups limit, each scheduler has its own reader group. When the amount of schedulers is larger than the reader groups limit, diff --git a/erts/emulator/beam/erl_cpu_topology.c b/erts/emulator/beam/erl_cpu_topology.c index 93ef09a677..88456a85f3 100644 --- a/erts/emulator/beam/erl_cpu_topology.c +++ b/erts/emulator/beam/erl_cpu_topology.c @@ -34,7 +34,7 @@ #include "bif.h" #include "erl_cpu_topology.h" -#define ERTS_MAX_READER_GROUPS 8 +#define ERTS_MAX_READER_GROUPS 64 /* * Cpu topology hierarchy. |