This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: malloc: performance improvements and bugfixes


On Tue, Jan 26, 2016 at 06:20:25PM +0100, Torvald Riegel wrote:
> 
> How do the allocation patterns look like?  There can be big variations
> in allocation frequency and size, lifetime of allocated regions,
> relation between allocations and locality, etc.  Some programs allocate
> most up-front, others have lots of alloc/dealloc during the lifetime of
> the program.

Lots of alloc/dealloc during the lifetime.  To give you a rough scale,
malloc consumed around 1.7% cputime in the stable state.  Now it is down
to about 0.7%.

JÃrn

--
When the people fear the government there is tyranny, when the government
fears the people there is liberty.
â Thomas Jefferson


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]