← Back to team overview

maria-discuss team mailing list archive

Re: Benchmark with jemalloc


Am 18.09.2013 18:35, schrieb Sergei Golubchik:
> Hi, Reindl!
> On Sep 18, Reindl Harald wrote:
>> well, recent is 3.4.0
>> however, the releas enotes are not really true
>> jemalloc not linked nor loaded
>> https://mariadb.com/kb/en/mariadb-5533-release-notes/
>> Other Notable Information
>> MariaDB is now built with jemalloc by default on Linux
>> [root@testserver:~]$ rpm -q --file /usr/libexec/mysqld
>> mariadb-server-5.5.33-6.fc19.20130917.rh.x86_64
> Where did you get it from?
> In the fedora19-update repo I only see mariadb-server-5.5.32

the "20130917.rh" is builddate for easier updates an "rh" my name :-)

in doubt expect that i have my own binaries if it comes
to server software and important libraries for two reasons

a) optimize for the oldest hardware around me (-march=corei7 -mtune=corei7)
b) PIC/PIE/Full RELRO/-stack-protector-all or strong starting with F19

> 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 \

or if it exists a more recent online manual because i often
enough find things referring to ./configure and not cmake
while figure it out from the source tree is not that nice for
web-developers like which are good in rpm-building but not
in C/C++ sources and make-scripts

Attachment: signature.asc
Description: OpenPGP digital signature

Follow ups