From 51e2d4c481feb6203b3bebc6c4904f127e6e085a Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Mon, 10 Dec 2018 17:55:36 -0600 Subject: [PATCH] doc/install: Add note about default do_cmake.sh debug builds. Signed-off-by: Mark Nelson --- doc/install/build-ceph.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/install/build-ceph.rst b/doc/install/build-ceph.rst index 3010909878ebb..147986e4c7d0c 100644 --- a/doc/install/build-ceph.rst +++ b/doc/install/build-ceph.rst @@ -32,6 +32,11 @@ repository and execute the following:: cd build make +.. note:: By default do_cmake.sh will build a debug version of ceph that may + perform up to 5 times slower with certain workloads. Pass + '-DCMAKE_BUILD_TYPE=RelWithDebInfo' to do_cmake.sh if you would like to + build a release version of the ceph executables instead. + .. topic:: Hyperthreading You can use ``make -j`` to execute multiple jobs depending upon your system. For -- 2.39.5