diff options
author | Jason Evans <je@fb.com> | 2011-03-18 20:41:33 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2011-03-18 20:41:33 (GMT) |
commit | 597632be188d2bcc135dad2145cc46ef44897aad (patch) | |
tree | fb092c04978ccd91b7e12fbd3259ffbb47c7d6a4 /jemalloc/doc | |
parent | 9c43c13a35220c10d97a886616899189daceb359 (diff) | |
download | jemalloc-597632be188d2bcc135dad2145cc46ef44897aad.zip jemalloc-597632be188d2bcc135dad2145cc46ef44897aad.tar.gz jemalloc-597632be188d2bcc135dad2145cc46ef44897aad.tar.bz2 |
Improve thread-->arena assignment.
Rather than blindly assigning threads to arenas in round-robin fashion,
choose the lowest-numbered arena that currently has the smallest number
of threads assigned to it.
Add the "stats.arenas.<i>.nthreads" mallctl.
Diffstat (limited to 'jemalloc/doc')
-rw-r--r-- | jemalloc/doc/jemalloc.xml.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/jemalloc/doc/jemalloc.xml.in b/jemalloc/doc/jemalloc.xml.in index 97893c1..2bde890 100644 --- a/jemalloc/doc/jemalloc.xml.in +++ b/jemalloc/doc/jemalloc.xml.in @@ -1644,6 +1644,16 @@ malloc_conf = "xmalloc:true";]]></programlisting> <varlistentry> <term> + <mallctl>stats.arenas.<i>.nthreads</mallctl> + (<type>unsigned</type>) + <literal>r-</literal> + </term> + <listitem><para>Number of threads currently assigned to + arena.</para></listitem> + </varlistentry> + + <varlistentry> + <term> <mallctl>stats.arenas.<i>.pactive</mallctl> (<type>size_t</type>) <literal>r-</literal> |