Stats, CTL: Expose new tcache settings.

This commit is contained in:
David Goldblatt
2020-05-13 10:36:27 -07:00
committed by David Goldblatt
parent ee72bf1cfd
commit 7503b5b33a
3 changed files with 37 additions and 9 deletions

View File

@@ -33,6 +33,12 @@ unsigned opt_tcache_nslots_large = 20;
*/
ssize_t opt_lg_tcache_nslots_mul = -1;
/*
* Number of allocation bytes between tcache incremental GCs. Again, this
* default just seems to work well; more tuning is possible.
*/
size_t opt_tcache_gc_incr_bytes = 65536;
/*
* With default settings, we may end up flushing small bins frequently with
* small flush amounts. To limit this tendency, we can set a number of bytes to
@@ -47,12 +53,6 @@ ssize_t opt_lg_tcache_nslots_mul = -1;
*/
size_t opt_tcache_gc_delay_bytes = 0;
/*
* Number of allocation bytes between tcache incremental GCs. Again, this
* default just seems to work well; more tuning is possible.
*/
size_t opt_tcache_gc_incr_bytes = 65536;
cache_bin_info_t *tcache_bin_info;
/* Total stack size required (per tcache). Include the padding above. */