maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #04622
Re: memory allocators and MariaDB
Am 20.06.2017 um 18:36 schrieb Sergei Golubchik:
Hi, MARK!
On Jun 20, MARK CALLAGHAN wrote:
Do MariaDB 10.2 binaries use glibc malloc or get built with one of tcmalloc
or jemalloc? Sorry for being lazy, as I have yet to install it.
glibc malloc.
Only ha_tokudb.so gets linked with jemalloc
really and why?
the mariadb build below is built without tokudb
[harry@srv-rhsoft:~]$ ldd /usr/libexec/mysqld
linux-vdso.so.1 (0x00007ffc3896e000)
libaio.so.1 => /lib64/libaio.so.1 (0x00007f28ce556000)
libz.so.1 => /lib64/libz.so.1 (0x00007f28ce340000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f28ce0cd000)
libjemalloc.so.2 => /lib64/libjemalloc.so.2 (0x00007f28cde86000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f28cdc50000)
libssl.so.10 => /lib64/libssl.so.10 (0x00007f28cd9dc000)
libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f28cd57b000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f28cd377000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f28ccfef000)
libm.so.6 => /lib64/libm.so.6 (0x00007f28ccce6000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f28ccac8000)
libc.so.6 => /lib64/libc.so.6 (0x00007f28cc700000)
/lib64/ld-linux-x86-64.so.2 (0x00005616ed062000)
libgomp.so.1 => /lib64/libgomp.so.1 (0x00007f28cc4d2000)
libfreebl3.so => /lib64/libfreebl3.so (0x00007f28cc2cf000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2
(0x00007f28cc082000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f28cbd9c000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f28cbb98000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f28cb965000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f28cb74e000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0
(0x00007f28cb53f000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f28cb33b000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f28cb120000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f28caef7000)
Follow ups
References