summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2015-09-04 04:21:38 +0200
committerSage Weil <sage@redhat.com>2015-09-11 17:38:26 +0200
commitc8bfc354e108a159f6c9a79086c6dbd2fde0c9aa (patch)
tree326a8cb666ebe623ff266cd2fc02acb2996133fa /etc
parentMerge pull request #5869 from ceph/wip-rpm-dirs (diff)
downloadceph-c8bfc354e108a159f6c9a79086c6dbd2fde0c9aa.tar.xz
ceph-c8bfc354e108a159f6c9a79086c6dbd2fde0c9aa.zip
ceph.spec: install /etc/sysconfig/ceph
Make it easy to enable jemalloc, too. Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'etc')
-rw-r--r--etc/sysconfig/ceph12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/sysconfig/ceph b/etc/sysconfig/ceph
new file mode 100644
index 00000000000..19584dbbbee
--- /dev/null
+++ b/etc/sysconfig/ceph
@@ -0,0 +1,12 @@
+# /etc/sysconfig/ceph
+#
+# Environment file for ceph daemon systemd unit files.
+#
+
+## 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=/usr/lib64/libjemalloc.so.1