Jemalloc 4.0 quietly shipped a week or so ago:
EPEL only carries 3.6 (for awhile now)
But I found a reliable source of rpms here for many flavors of redhat:
Seems to work fine on CentOS 6 & 7.
But I am curious if it is actually faster.
Since mysql can drop in jemalloc via my.cnf
malloc-lib=/usr/lib64/libjemalloc.so
and you can always just do
echo "/usr/lib64/libjemalloc.so" >> /etc/ld.so.preload
(restart services and watch lsof -n | grep jemalloc to see them all use jemalloc)
maybe some benchmarks can be done to compare glibc vs jem 3.6 jem 4.0 ?
EPEL only carries 3.6 (for awhile now)
But I found a reliable source of rpms here for many flavors of redhat:
Seems to work fine on CentOS 6 & 7.
But I am curious if it is actually faster.
Since mysql can drop in jemalloc via my.cnf
malloc-lib=/usr/lib64/libjemalloc.so
and you can always just do
echo "/usr/lib64/libjemalloc.so" >> /etc/ld.so.preload
(restart services and watch lsof -n | grep jemalloc to see them all use jemalloc)
maybe some benchmarks can be done to compare glibc vs jem 3.6 jem 4.0 ?
Comment