summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-08-10 20:14:26 (GMT)
committerQi Wang <interwq@gmail.com>2017-08-11 21:51:20 (GMT)
commit8fdd9a579779b84d6af27f94c295f82a4df8e5be (patch)
tree69816fe49c5e134f176020f05390df0cb82afccc /doc
parentd157864027562dc17475edfd1bc6dce559b7ac4b (diff)
downloadjemalloc-8fdd9a579779b84d6af27f94c295f82a4df8e5be.zip
jemalloc-8fdd9a579779b84d6af27f94c295f82a4df8e5be.tar.gz
jemalloc-8fdd9a579779b84d6af27f94c295f82a4df8e5be.tar.bz2
Implement opt.metadata_thp
This option enables transparent huge page for base allocators (require MADV_HUGEPAGE support).
Diffstat (limited to 'doc')
-rw-r--r--doc/jemalloc.xml.in17
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/jemalloc.xml.in b/doc/jemalloc.xml.in
index 21e401a..f1712f0 100644
--- a/doc/jemalloc.xml.in
+++ b/doc/jemalloc.xml.in
@@ -916,6 +916,18 @@ mallctl("arena." STRINGIFY(MALLCTL_ARENAS_ALL) ".decay",
</para></listitem>
</varlistentry>
+ <varlistentry id="opt.metadata_thp">
+ <term>
+ <mallctl>opt.metadata_thp</mallctl>
+ (<type>bool</type>)
+ <literal>r-</literal>
+ </term>
+ <listitem><para>If true, allow jemalloc to use transparent huge page
+ (THP) for internal metadata (see <link
+ linkend="stats.metadata">stats.metadata</link> for details). This
+ option is disabled by default.</para></listitem>
+ </varlistentry>
+
<varlistentry id="opt.retain">
<term>
<mallctl>opt.retain</mallctl>
@@ -2187,7 +2199,10 @@ struct extent_hooks_s {
metadata structures (see <link
linkend="stats.arenas.i.base"><mallctl>stats.arenas.&lt;i&gt;.base</mallctl></link>)
and internal allocations (see <link
- linkend="stats.arenas.i.internal"><mallctl>stats.arenas.&lt;i&gt;.internal</mallctl></link>).</para></listitem>
+ linkend="stats.arenas.i.internal"><mallctl>stats.arenas.&lt;i&gt;.internal</mallctl></link>).
+ Transparent huge page (enabled with <link
+ linkend="opt.metadata_thp">opt.metadata_thp</link>) usage is not
+ considered.</para></listitem>
</varlistentry>
<varlistentry id="stats.resident">