summaryrefslogtreecommitdiffstats
path: root/jemalloc/doc
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2010-01-04 00:17:52 (GMT)
committerJason Evans <jasone@canonware.com>2010-01-04 00:17:52 (GMT)
commite9db6c92ab5a7a46ed693dd22e7d9f0bf6a2c90b (patch)
treead9a7b1aa43c84da4b81d19bd55da70a3ccd8009 /jemalloc/doc
parent279e09d1ffe3ed9784259a2f964c01052c1afb91 (diff)
downloadjemalloc-e9db6c92ab5a7a46ed693dd22e7d9f0bf6a2c90b.zip
jemalloc-e9db6c92ab5a7a46ed693dd22e7d9f0bf6a2c90b.tar.gz
jemalloc-e9db6c92ab5a7a46ed693dd22e7d9f0bf6a2c90b.tar.bz2
Add the S/s JEMALLOC_OPTIONS flags to enable/disable tcache bin sorting.
Diffstat (limited to 'jemalloc/doc')
-rw-r--r--jemalloc/doc/jemalloc.3.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/jemalloc/doc/jemalloc.3.in b/jemalloc/doc/jemalloc.3.in
index efe773b..f55325e 100644
--- a/jemalloc/doc/jemalloc.3.in
+++ b/jemalloc/doc/jemalloc.3.in
@@ -312,6 +312,15 @@ Double/halve the size of the maximum size class that is a multiple of the
quantum (8 or 16 bytes, depending on architecture).
Above this size, cacheline spacing is used for size classes.
The default value is 128 bytes.
+@roff_tcache@.It S
+@roff_tcache@Sort the objects of a particular size class that are stored in a
+@roff_tcache@thread-specific cache just before flushing some of them from the
+@roff_tcache@cache, such that the objects highest in memory are preferentially
+@roff_tcache@freed.
+@roff_tcache@This tends to reduce fragmentation, but sorting is (n lg n), and in
+@roff_tcache@practice it is expensive enough to have a moderate performance
+@roff_tcache@impact.
+@roff_tcache@This option is enabled by default.
@roff_trace@.It T
@roff_trace@Write a verbose trace log to a set of files named according to the
@roff_trace@pattern