You don’t (shouldn’t) need to rebuild the binary to use jemalloc. It should be possible to do something like
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 ceph-osd …
The last time we tried it segfaulted after a few minutes, so YMMV and be careful.
Jan
Hi Greg,
I've been looking at the tcmalloc issues, but did seem to affect osd's, and I do notice it in heavy read workloads (even after the patch and increasing TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=134217728). This is affecting the mon process though.
looking at perf top I'm getting most of the CPU usage in mutex lock/unlock 3.82% libsoftokn3.so [.] 0x000000000001e7cb
I could try to use jemalloc, are you aware of any built binaries? Can I mix a cluster with different malloc binaries?
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxxhttp://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
|
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com