[PATCH] Simple malloc benchtest.

Siddhesh Poyarekar siddhesh@redhat.com
Tue Dec 31 16:39:00 GMT 2013


On Tue, Dec 31, 2013 at 12:38:41PM +0100, Ondřej Bílka wrote:
> > I wonder how relevant the comparison in memory usage is in that blog
> > post, given that the bloated 'memory usage' may actually just be
> > address space usage due to the per-thread arenas, where most of each
> > arena is unused and doesn't even have any pages backing the address
> > space.  In other words, I believe more information is needed from that
> > test.
> > 
> Still when average user discovers that we use more memory than others it
> does not look good.

There's a very significant problem of user education here though,
especially when they're looking at address space usage and screaming
memory usage.  I've seen first hand some such users complaining about
address space usage and then upon knowing the difference between
address space and memory, going back happier with the performance.

Siddhesh



More information about the Libc-alpha mailing list