On Tue, May 12, 2015 at 1:11 AM, Chen, Xiaoxi <xiaoxi.chen@xxxxxxxxx> wrote: > Hi Neo, > Did you hit the error when doing configure? The error message looks like > configure: error: --with-jemalloc called with --with-librocksdb_static, turn off > --with-librocksdb-static or --with-jemalloc Yes, this is what I am talking about. > This is because RocksDB use tcmalloc so we cannot build it with jemalloc. Thats not true ? RocksDB can be made to build with jemalloc. I will send a PR soon. > But if you manually clone RocksDB from facebook , compile it and install, then use ./configure --with-librocksdb --with-jemalloc, seems we can pass the build. > I tried this, build succeeds, however newstore keeps crashing with this approach, I havent got around to why it crashes. -Neo > Xiaoxi > >> -----Original Message----- >> From: ceph-devel-owner@xxxxxxxxxxxxxxx [mailto:ceph-devel- >> owner@xxxxxxxxxxxxxxx] On Behalf Of Mark Nelson >> Sent: Tuesday, May 12, 2015 10:56 AM >> To: kernel neophyte; ceph-devel@xxxxxxxxxxxxxxx >> Subject: Re: rocksdb with jemalloc >> >> On 05/11/2015 08:41 PM, kernel neophyte wrote: >> > Hi, >> > >> > >> > I am trying to use newstore + rocksdb + jemalloc. Currently rocksdb in >> > ceph compiles only with tcmalloc and not with jemalloc. >> > >> > Is there any reason for this limitation ? >> >> Heya, I'm guessing it's not by design, simply no one's tried doing it yet. What >> are you running into? >> >> > >> > -Neo >> > -- >> > To unsubscribe from this list: send the line "unsubscribe ceph-devel" >> > in the body of a message to majordomo@xxxxxxxxxxxxxxx More >> majordomo >> > info at http://vger.kernel.org/majordomo-info.html >> > >> -- >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the >> body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at >> http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html