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: [patch] Make the mmap/brk threshold in malloc dynamic to improve performance


Steve Munroe wrote:


libc-alpha-owner@sourceware.org wrote on 03/02/2006 01:16:56 PM:

> Hi,
>
> We've been investigating a performance issue that in the end turns out
> to be best fixed in glibc.
>
> The test case can best be described as a threaded application that has a
> pool of worker threads that, for a transaction, allocate a piece of
> memory (of around 1 to 8Mb, depending on the configuration), use that
> for the transaction and then free it again, and return to the pool.
>
A oprofile of the application before and after your proposed patch would help demonstrate the problem and how the proposal improves the situation.



I have the kernel profiles to show it; I just need to organize them in a presentable way ;)


Also you may want to look the existing bugzilla http://sources.redhat.com/bugzilla/show_bug.cgi?id=1541 and see if the problem you found was similar and if the test case attached to the this bugzilla shows similar improvement.

I suspect it will from having looked at it on a high level



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