mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-10-28 08:46:36 +08:00
timer_scale multiplies the tcache GC interval, dirty/muzzy decay epochs, HPA min purge interval and hugify delay, and the background thread minimum sleep. Set it with MALLOC_CONF=timer_scale:N (1..1000, default 1; opt.timer_scale) or at run time via the "timer_scale" mallctl. Useful when the whole process runs uniformly slower, e.g. under heavy profiling or instrumentation. Decay samples timer_scale once per epoch; reported decay_ms values are unscaled.