Skip to contentSkip to conversation

Bluestore and jemalloc

DISCUSSION Mike A 3 participants 3 messages Dec 15, 2017

lore
Share & tools
lore

Mike A

author
#0 lore raw

Hello!

After fix this issue http://tracker.ceph.com/issues/20557 Ceph is still working with jemalloc? Or it’s not possible right now only after will be fix a issue in rocksdb?

I have a work to create a cluster based on nvme disks with jemalloc enabled configuration. Now I'm worried jemalloc support in ceph about.

—
Mike, runs!

#1 lore raw
Quoted 8 lines · Mike A

Hello!

After fix this issue http://tracker.ceph.com/issues/20557 Ceph is still working with jemalloc? Or it’s not possible right now only after will be fix a issue in rocksdb?

I have a work to create a cluster based on nvme disks with jemalloc enabled configuration. Now I'm worried jemalloc support in ceph about.

I'm not sure about the current status of the bug: I don't know why jemalloc and rocksdb were not working together, and I'm not sure whether the fix is simple (build option?) or more complex.

It's also not clear whether jemalloc is going to be helpful or that this is important. jemalloc was much better than tcmalloc with SimpleMessenger, but the default is now AsyncMessenger and there wasn't much of a delta.

Either way, jemalloc is a runtime option, so either it works or it doesn't, but the fix is to restart the daemons--there's no risk.

sage

#2 lore raw
Quoted 10 lines · Sage Weil
Quoted 8 lines · Mike A

Hello!

After fix this issue http://tracker.ceph.com/issues/20557 Ceph is still working with jemalloc? Or it’s not possible right now only after will be fix a issue in rocksdb?

I have a work to create a cluster based on nvme disks with jemalloc enabled configuration. Now I'm worried jemalloc support in ceph about.

Quoted 8 lines

I'm not sure about the current status of the bug: I don't know why jemalloc and rocksdb were not working together, and I'm not sure whether the fix is simple (build option?) or more complex.

It's also not clear whether jemalloc is going to be helpful or that this is important. jemalloc was much better than tcmalloc with SimpleMessenger, but the default is now AsyncMessenger and there wasn't much of a delta.

For reference, here's the initial allocator tests from back then:

https://drive.google.com/open?id=0B2gTBZrkrnpZek0zWlE5aVVuRlk

And a comparison of simple vs async for tcmalloc and jemalloc under some of the worst case scenarios from that time period:

https://drive.google.com/open?id=0B2gTBZrkrnpZS1Q4VktjZkhrNHc

Quoted 6 lines

Either way, jemalloc is a runtime option, so either it works or it doesn't, but the fix is to restart the daemons--there's no risk.

sage