maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #05426
Re: MariaDB and jemalloc
Hi Sanja,
Oleksandr Byelkin wrote:
> 24.04.2013 19:00, Axel Schwenke пишет:
> [skip]
>>
>> OLTP ro transactions per second relative to glibc malloc
>> ----------------------------------------------------------------------
>> Threads jemalloc-3.3.1 glibc malloc tcmalloc jemalloc-3.1.0
>> 4 +3.2% +0.0% +11.6% +61.9%
>> 8 +0.9% +0.0% -2.3% +8.0%
>> 16 +9.6% +0.0% +4.7% +12.9%
>> 32 +1.8% +0.0% +0.9% +5.8%
>> 64 -5.1% +0.0% +2.1% +5.4%
>> 128 -4.8% +0.0% +0.2% +4.5%
>> 256 -4.2% +0.0% +0.7% +5.0%
>> 512 -13.3% +0.0% +1.8% +4.1%
>
> Strange that results jumps up and down when percona had quite smooth
> one. Is it possible that computer was doing something else? or we need
> more tests to take average?
It's not so "jumpy" when you look at the absolute numbers. The difference to
Percona is, that they tested their own server, where MariaDB tries to
minimize the number of malloc() calls.
I wouldn't give too much on the numbers for 4 threads, since this is the
buffer pool warmup phase. Also I've run each test for only 100 seconds to
get results fast. Re "jumpy" - see the attached pdf with the scatter plot.
Each point represents the tps from a 5 second interval. Numbers are in fact
rather smooth, except for 512 threads.
The main takeaway is, that I can reproduce the regression in jemalloc 3.3.
With TokuDB there is no way around jemalloc anyway.
XL
Attachment:
graph1.ro.pdf
Description: Adobe PDF document
Follow ups
References