← Back to team overview

maria-discuss team mailing list archive

Re: Benchmark with jemalloc

 


Am 18.09.2013 19:16, schrieb Sergei Golubchik:
> Hi, Reindl!
> 
> On Sep 18, Reindl Harald wrote:
>>
>>> Anyway, jemalloc is bundled with the mariadb sources and is linked in
>>> statically:
>>>
>>> $ ldd sql/mysqld|grep jemalloc
>>> $ grep jemalloc sql/mysqld
>>> Binary file sql/mysqld matches
>>
>> oh no - please no static libraries that is a very bad style
>> and explicitly forbidden by most distributions and patched
>> around whereever upstreams insists on it
>>
>> so we really need soemthing like
>>
>>  -DWITH_SSL=system \
>>  -DWITH_ZLIB=system \
> 
> Yes. https://mariadb.atlassian.net/browse/MDEV-5026
> I'll fix it for 5.5.34
> At the moment you can try a workaround
> 
>   -DWITH_JEMALLOC=no -DLIBJEMALLOC=jemalloc
> 
> (or only the first one, to disable jemalloc completely)

that works - thank you, also for clean this up in 5.5.34!

currently my plan to replace MySQL with MariaDB is on 2013-10-15
while it was planned two weeks earlier before MDEV-4978 started
to hit me - so now i use the system-jemalloc with your workaround
on test-systems and hopefully 5.5.34 will make it out soon

i am about delay the migration to 5.5.34 + 2 weeks testing

[root@testserver:~]$ ldd /usr/libexec/mysqld
        linux-vdso.so.1 =>  (0x00007fff15bd9000)
        libaio.so.1 => /lib64/libaio.so.1 (0x00007f55540c1000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f5553ea9000)
        libjemalloc.so.1 => /lib64/libjemalloc.so.1 (0x00007f5553c64000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f5553a2d000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f5553829000)
        libssl.so.10 => /lib64/libssl.so.10 (0x00007f55535c0000)
        libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f55531ef000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f5552eeb000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f5552be8000)
        libgomp.so.1 => /lib64/libgomp.so.1 (0x00007f55529d9000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f55527bd000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f55523fb000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5555a0d000)
        libfreebl3.so => /lib64/libfreebl3.so (0x00007f555218f000)
        libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f5551f46000)
        libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f5551c67000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f5551a63000)
        libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f555182e000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f5551617000)
        libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f5551409000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f5551205000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f5550fea000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f5550dc7000)
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f5550b62000)

Attachment: signature.asc
Description: OpenPGP digital signature


References