From ffbd1fe3fe4fdd1657f98d650eb3b40139e4b115 Mon Sep 17 00:00:00 2001
From: Rickard Green
Date: Tue, 10 Sep 2013 15:33:33 +0200
Subject: erts: Add documentation for +MMsc* system flags
---
erts/doc/src/erts_alloc.xml | 59 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
(limited to 'erts/doc')
diff --git a/erts/doc/src/erts_alloc.xml b/erts/doc/src/erts_alloc.xml
index 6ce2261430..9dab5b3876 100644
--- a/erts/doc/src/erts_alloc.xml
+++ b/erts/doc/src/erts_alloc.xml
@@ -271,6 +271,65 @@
memory segment cache is not reused if its size exceeds the
requested size with more than relative max cache bad fit
percent of the requested size. Default value is 20.
+ ]]>
+ -
+ Set super carrier max guaranteed
+ no of carriers. This parameter defaults to 65536. This
+ parameter determines an amount of pre-allocated structures that is
+ needed in order to keep track of different areas in the super carrier.
+ When the system runs out of such structures it may crash due to an
+ out of memory condition.
+
+
+ -
+ Set super carrier only flag. This
+ flag defaults to true. When a super carrier is used and this
+ flag is true, the system will crash when a carrier request
+ cannot be satisfied by the super carrier. When the flag is false
+ the system will try to create requested carrier by other means.
+
+ NOTE: Setting this flag to false may not be supported
+ on all systems. This flag will in that case be ignored.
+
+ NOTE: The super carrier cannot be enabled nor
+ disabled on halfword heap systems. This flag will be
+ ignored on halfword heap systems.
+
+
+ -
+ Set super carrier reserve physical
+ memory flag. This flag defaults to true. When this flag is
+ true, physical memory will be reserved for the whole super
+ carrier at once when it is created. The reservation will after that
+ be left unchanged. When this flag is set to false only virtual
+ address space will be reserved for the super carrier upon creation.
+ The system will attempt to reserve physical memory upon carrier
+ creations in the super carrier, and attempt to unreserve physical
+ memory upon carrier destructions in the super carrier.
+
+ NOTE: What reservation of physical memory actually means
+ highly depends on the operating system, and how it is configured. For
+ example, different memory overcommit settings on Linux drastically
+ change the behaviour. Also note, setting this flag to false
+ may not be supported on all systems. This flag will in that case
+ be ignored.
+
+ NOTE: The super carrier cannot be enabled nor
+ disabled on halfword heap systems. This flag will be
+ ignored on halfword heap systems.
+
+ ]]>
+ -
+ Set super carrier size (in MB). The super carrier size defaults to
+ zero; i.e, the super carrier is by default disabled. The super
+ carrier is a large continuous area in the virtual address space.
+ The system will always try to create new carriers in the super
+ carrier.
+
+ NOTE: The super carrier cannot be enabled nor
+ disabled on halfword heap systems. This flag will be
+ ignored on halfword heap systems.
+
]]>
-
Max cached segments. The maximum number of memory segments
--
cgit v1.2.3
From 41e340fb37d0e660fca70486dc715383df9ba026 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20H=C3=A4ssler?=
Date: Thu, 2 May 2013 20:52:30 +0200
Subject: Fix erts erlang.xml doc typo
badargif -> badarg if
---
erts/doc/src/erlang.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'erts/doc')
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index d3b21de8cf..bc38055b62 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -2467,7 +2467,7 @@ os_prompt%
fails, a nodedown message is delivered.
Nodes connected through hidden connections can be monitored
as any other node.
- Failure: badargif the local node is not alive.
+ Failure: badarg if the local node is not alive.
--
cgit v1.2.3