diff options
author | Rickard Green <[email protected]> | 2013-01-21 22:11:27 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-01-21 22:11:27 +0100 |
commit | 4189c03b99acb29ad6665eb655cb20cce7a67380 (patch) | |
tree | c9f3c423509ed9cd42cd95cc7636deec6405d8e2 /erts | |
parent | bdcc3a41d5d6ba82bb50850261a352c13104d3fc (diff) | |
download | otp-4189c03b99acb29ad6665eb655cb20cce7a67380.tar.gz otp-4189c03b99acb29ad6665eb655cb20cce7a67380.tar.bz2 otp-4189c03b99acb29ad6665eb655cb20cce7a67380.zip |
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 99f2466d79..fe7024b185 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 3f90f34736..113c4a6a68 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. |