[PATCH 1/5] benchtests: Add malloc microbenchmark
Siddhesh Poyarekar
siddhesh@redhat.com
Wed Nov 5 09:25:00 GMT 2014
On Fri, Oct 17, 2014 at 04:31:18PM +0100, Will Newton wrote:
> Add a microbenchmark for measuring malloc and free performance with
> varying numbers of threads. The benchmark allocates and frees buffers
> of random sizes in a random order and measures the overall execution
> time and RSS. Variants of the benchmark are run with 1, 8, 16 and
> 32 threads.
>
> The random block sizes used follow an inverse square distribution
> which is intended to mimic the behaviour of real applications which
> tend to allocate many more small blocks than large ones.
>
> ChangeLog:
>
> 2014-06-19 Will Newton <will.newton@linaro.org>
>
> * benchtests/Makefile: (bench-malloc): Add malloc thread
> scalability benchmark.
> * benchtests/bench-malloc-threads.c: New file.
Looks good to me. Please commit this first even if you have any
changes in mind for it; it's easier to review it in smaller
increments.
Siddhesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20141105/408a36a9/attachment.sig>
More information about the Libc-alpha
mailing list