[PATCH] Simple malloc benchtest.
Siddhesh Poyarekar
siddhesh.poyarekar@gmail.com
Mon Dec 23 19:46:00 GMT 2013
On 23 December 2013 22:00, Ondřej Bílka <neleai@seznam.cz> wrote:
> No that would be bad first step. Tweak could look like improvement in
> simple tests but really be a regression in real world. And if you have
> real world data then simulated data are useless.
You're again talking about microbenchmarks vs system benchmarks, which
is honestly just a waste of time and in this thread, it is
contradicting your own point of introducing an initial simple
microbenchmark.
> When you want to compare alternative allocator you need to check effects of
> fragmentation, number of cache misses, RSS and virtual memory size and other
> factors on hooked applications and there is no shortcut around that.
You need all this to form a complete picture of the performance of an
allocator regardless of whether you're comparing with another
allocator or not. That is, ideally one ought to be looking at the
impact of a change in an allocator on all these parameters, but you
need to start somewhere. I thought the intention of your patch was to
make that start, so if you're saying that it's not useful then you're
essentially contradicting yourself.
Siddhesh
--
http://siddhesh.in
More information about the Libc-alpha
mailing list