All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel neophyte <neophyte.hacker001@gmail.com>
To: "Chen, Xiaoxi" <xiaoxi.chen@intel.com>
Cc: Mark Nelson <mnelson@redhat.com>,
	"ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: rocksdb with jemalloc
Date: Tue, 12 May 2015 14:09:38 -0700	[thread overview]
Message-ID: <CAFkUHxch5NDO7Fw031L=WFdzsv8zcARV_f_miVy06ByFMa6qyg@mail.gmail.com> (raw)
In-Reply-To: <6F3FA899187F0043BA1827A69DA2F7CC021EF61E@shsmsx102.ccr.corp.intel.com>

On Tue, May 12, 2015 at 1:11 AM, Chen, Xiaoxi <xiaoxi.chen@intel.com> 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@vger.kernel.org [mailto:ceph-devel-
>> owner@vger.kernel.org] On Behalf Of Mark Nelson
>> Sent: Tuesday, May 12, 2015 10:56 AM
>> To: kernel neophyte; ceph-devel@vger.kernel.org
>> 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@vger.kernel.org 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@vger.kernel.org More majordomo info at
>> http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2015-05-12 21:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-12  1:41 rocksdb with jemalloc kernel neophyte
2015-05-12  2:55 ` Mark Nelson
2015-05-12  8:11   ` Chen, Xiaoxi
2015-05-12 21:09     ` kernel neophyte [this message]
2015-05-12 21:07   ` kernel neophyte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFkUHxch5NDO7Fw031L=WFdzsv8zcARV_f_miVy06ByFMa6qyg@mail.gmail.com' \
    --to=neophyte.hacker001@gmail.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=mnelson@redhat.com \
    --cc=xiaoxi.chen@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.