Prefer old/low extent_t structures during reuse.
Rather than using a LIFO queue to track available extent_t structures, use a red-black tree, and always choose the oldest/lowest available during reuse.
This commit is contained in:
@@ -2691,14 +2691,14 @@ struct extent_hooks_s {
|
||||
counters</link>.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="stats.arenas.i.mutexes.extent_freelist">
|
||||
<varlistentry id="stats.arenas.i.mutexes.extent_avail">
|
||||
<term>
|
||||
<mallctl>stats.arenas.<i>.mutexes.extent_freelist.{counter}</mallctl>
|
||||
<mallctl>stats.arenas.<i>.mutexes.extent_avail.{counter}</mallctl>
|
||||
(<type>counter specific type</type>) <literal>r-</literal>
|
||||
[<option>--enable-stats</option>]
|
||||
</term>
|
||||
<listitem><para>Statistics on <varname>arena.<i>.extent_freelist
|
||||
</varname> mutex (arena scope; extent freelist related).
|
||||
<listitem><para>Statistics on <varname>arena.<i>.extent_avail
|
||||
</varname> mutex (arena scope; extent avail related).
|
||||
<mallctl>{counter}</mallctl> is one of the counters in <link
|
||||
linkend="mutex_counters">mutex profiling
|
||||
counters</link>.</para></listitem>
|
||||
|
Reference in New Issue
Block a user