glibc enables a per-thread cache for malloc()

Andreas Schneider asn at
Fri Jul 7 14:01:21 UTC 2017

"A per-thread cache has been added to malloc. Access to the cache requires no 
locks and therefore significantly accelerates the fast path to allocate and 
free small amounts of memory. Refilling an empty cache requires locking the 
underlying arena. Performance measurements show significant gains in a wide 
variety of user workloads. Workloads were captured using a special 
instrumented malloc and analyzed with a malloc simulator."

Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at

More information about the samba-technical mailing list