Tcache: Tweak nslots_max tuning parameter.
In making these settings configurable, 634afc4124
unintentially changed a tuning parameter (reducing the "goal" max by a factor of
4). This commit undoes that change.
This commit is contained in:
parent
ae541d3fab
commit
f1f4ec315a
@ -25,12 +25,12 @@ unsigned opt_tcache_nslots_large = 20;
|
|||||||
/*
|
/*
|
||||||
* We attempt to make the number of slots in a tcache bin for a given size class
|
* We attempt to make the number of slots in a tcache bin for a given size class
|
||||||
* equal to the number of objects in a slab times some multiplier. By default,
|
* equal to the number of objects in a slab times some multiplier. By default,
|
||||||
* the multiplier is 1/2 (i.e. we set the maximum number of objects in the
|
* the multiplier is 2 (i.e. we set the maximum number of objects in the tcache
|
||||||
* tcache to half the number of objects in a slab).
|
* to twice the number of objects in a slab).
|
||||||
* This is bounded by some other constraints as well, like the fact that it
|
* This is bounded by some other constraints as well, like the fact that it
|
||||||
* must be even, must be less than opt_tcache_nslots_small_max, etc..
|
* must be even, must be less than opt_tcache_nslots_small_max, etc..
|
||||||
*/
|
*/
|
||||||
ssize_t opt_lg_tcache_nslots_mul = -1;
|
ssize_t opt_lg_tcache_nslots_mul = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Number of allocation bytes between tcache incremental GCs. Again, this
|
* Number of allocation bytes between tcache incremental GCs. Again, this
|
||||||
|
Loading…
Reference in New Issue
Block a user