Files
EasyTier/easytier/src
fanyang 8d200c26d7 perf: tune jemalloc RSS decay for faster memory reclamation (#2428)
The current malloc_conf only sets retain:false, which prevents jemalloc from retaining virtual memory but does not actively purge dirty/muzzy pages. On long-running EasyTier nodes this can lead to inflated RSS because freed arena pages are not returned to the OS promptly.

This tunes the jemalloc decay parameters:

background_thread:true — enables background GC threads so purge happens without blocking allocation hot paths.
dirty_decay_ms:1000 / muzzy_decay_ms:1000 — return unused pages to the OS within ~1s instead of holding them indefinitely.
2026-09-19 23:44:46 +08:00
..
2026-09-16 20:50:43 +08:00
2026-09-16 20:50:43 +08:00
2026-09-16 20:50:43 +08:00