Yes, if you are using do_autogen , use -J option. If you are using config files directly , use --with-jemalloc
-----Original Message----- From: Luis Periquito [mailto:periqu...@gmail.com] Sent: Monday, May 23, 2016 7:44 AM To: Somnath Roy Cc: Ceph Users Subject: Re: [ceph-users] using jemalloc in trusty Thanks Somnath, I expected that much. But given the hint in the config files do you know if they are built to use jemalloc? it seems not... On Mon, May 23, 2016 at 3:34 PM, Somnath Roy <somnath....@sandisk.com> wrote: > You need to build ceph code base to use jemalloc for OSDs..LD_PRELOAD won't > work.. > > Thanks & regards > Somnath > > -----Original Message----- > From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf > Of Luis Periquito > Sent: Monday, May 23, 2016 7:30 AM > To: Ceph Users > Subject: [ceph-users] using jemalloc in trusty > > I've been running some tests with jewel, and wanted to enable jemalloc. > I noticed that the new jewel release now loads properly /etc/default/ceph and > has an option to use jemalloc. > > I've installed jemalloc, enabled the LD_PRELOAD option, however doing some > tests it seems that it's still using tcmalloc: I still see the > "tcmalloc::CentralFreeList::FetchFromSpans()" and it's accompanying lines in > perf top. > > Also from a lsof I can see the tcmalloc libraries being used, but not the > jemalloc ones... > > Does anyone know what I'm doing wrong? I'm using the standard binaries from > the repo 10.2.1 and ubuntu trusty with kernel 3.13.0-52-generic. > > thanks, > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > PLEASE NOTE: The information contained in this electronic mail message is > intended only for the use of the designated recipient(s) named above. If the > reader of this message is not the intended recipient, you are hereby notified > that you have received this message in error and that any review, > dissemination, distribution, or copying of this message is strictly > prohibited. If you have received this communication in error, please notify > the sender by telephone or e-mail (as shown above) immediately and destroy > any and all copies of this message in your possession (whether hard copies or > electronically stored copies). _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com