Add the S/s JEMALLOC_OPTIONS flags to enable/disable tcache bin sorting.
This commit is contained 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
|
||||
|
Reference in New Issue
Block a user