This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] malloc per-thread cache ready for review
- From: DJ Delorie <dj at redhat dot com>
- To: Markus Trippelsdorf <markus at trippelsdorf dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 01 Feb 2017 11:14:53 -0500
- Subject: Re: [patch] malloc per-thread cache ready for review
- Authentication-results: sourceware.org; auth=none
Markus Trippelsdorf <markus@trippelsdorf.de> writes:
> Thanks. It works fine now.
Excellent :-)
> But I see no speedups for a simple compile time test:
GCC is single threaded and has its own internal memory management system
it layers on top of malloc, and I've not seen it benefit from a
per-thread cache.
I posted benchmark results here so you can see what type of applications
are affected by tcache:
https://sourceware.org/ml/libc-alpha/2017-01/msg00452.html