← Back to team overview

maria-discuss team mailing list archive

Re: Benchmark with jemalloc

 

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)

Regards,
Sergei


Follow ups

References