Tag

tcache

1 views collected around this technical thread.

ByteDance SYS Tech
ByteDance SYS Tech
May 26, 2023 · Fundamentals

Unlock Faster C++ Performance: Practical Jemalloc Optimization Techniques

This article explains the fundamentals of Linux memory allocation, introduces Jemalloc’s core algorithms and data structures, and provides concrete optimization steps—including arena tuning, tcache configuration, and slab size adjustments—to achieve measurable CPU savings in high‑concurrency C++ services.

CMemory AllocationPerformance Optimization
0 likes · 19 min read
Unlock Faster C++ Performance: Practical Jemalloc Optimization Techniques