jemalloc option in addition to tcmalloc
Bug #1712522 reported by
Nobuto Murata
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph OSD Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Ceph package has an option to use jemalloc through /etc/default/ceph. It would be nice if ceph-osd charm exposes the option through charm config.
Basically, install libjemalloc1 package, rewrite /etc/default/ceph and restart OSD are requried.
[/etc/default/ceph]
# /etc/default/ceph
#
# Environment file for ceph daemon systemd unit files.
#
# Increase tcmalloc cache size
TCMALLOC_
## use jemalloc instead of tcmalloc
#
# jemalloc is generally faster for small IO workloads and when
# ceph-osd is backed by SSDs. However, memory usage is usually
# higher by 200-300mb.
#
#LD_PRELOAD=
Changed in charm-ceph-osd: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
tags: | added: cpe-onsite |
To post a comment you must log in.
This bug is dependent on https:/ /bugs.launchpad .net/ubuntu/ +source/ ceph/+bug/ 1702777
The ceph-osd is not build with the --with-jemalloc option, so adding the above option to /etc/ceph/default has no effect.