aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc
diff options
context:
space:
mode:
authorKjell Winblad <[email protected]>2019-04-10 15:50:54 +0200
committerKjell Winblad <[email protected]>2019-04-10 15:50:54 +0200
commit3d712ffc9d08dad3a42ea988869eaef8cd99b53b (patch)
tree25ce2b16b9f847088997b0d4e77af46dbb6d2d66 /erts/doc
parent326c3cb70c1b37c794b781a42c50725766098810 (diff)
parentc5e9766712436bea2b91bccd062f66a3ad1841bb (diff)
downloadotp-3d712ffc9d08dad3a42ea988869eaef8cd99b53b.tar.gz
otp-3d712ffc9d08dad3a42ea988869eaef8cd99b53b.tar.bz2
otp-3d712ffc9d08dad3a42ea988869eaef8cd99b53b.zip
Merge branch 'kjell/stdlib/ets_decentralized_counters/PR-2190/OTP-15623'
* kjell/stdlib/ets_decentralized_counters/PR-2190/OTP-15623: Decentralized counters for ETS ordered_set with write_concurrency
Diffstat (limited to 'erts/doc')
-rw-r--r--erts/doc/src/erl.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml
index 88ddb03e97..471d7caa5a 100644
--- a/erts/doc/src/erl.xml
+++ b/erts/doc/src/erl.xml
@@ -636,6 +636,29 @@
produces a crash dump. On Unix systems, sending an emulator process
a <c>SIGUSR1</c> signal also forces a crash dump.</p>
</item>
+ <tag><marker id="+dcg"/><c><![CDATA[+rg DecentralizedCounterGroupsLimit]]></c></tag>
+ <item>
+ <p>Limits the number of decentralized counter groups used by
+ decentralized counters optimized for update operations in the
+ Erlang runtime system. By default, the limit is 256.</p>
+ <p>When the number of schedulers is less than or equal to the
+ limit, each scheduler has its own group. When the
+ number of schedulers is larger than the groups limit,
+ schedulers share groups. Shared groups degrade
+ the performance for updating counters while many reader groups
+ degrade the performance for reading counters. So, the limit is a tradeoff
+ between performance for update operations and performance for
+ read operations. Each group consumes 64 bytes in each
+ counter.</p>
+ <p>Notice that a runtime system using decentralized
+ counter groups benefits from <seealso marker="#+sbt">binding
+ schedulers to logical processors</seealso>, as the groups are
+ distributed better between schedulers with this option.</p>
+ <p>This option only affects decentralized counters used for
+ the counters that are keeping track of the memory consumption
+ and the number of terms in ETS tables of type ordered_set with
+ the write_concurrency option activated.</p>
+ </item>
<tag><marker id="+e"/><c><![CDATA[+e Number]]></c></tag>
<item>
<p>Sets the maximum number of ETS tables. This limit is