This document is for a development version of Ceph.
The easiest way to profile Ceph’s CPU consumption is to use the oprofile system-wide profiler.
If you are using a Debian/Ubuntu distribution, you can install
executing the following:
sudo apt-get install oprofile oprofile-gui
Compiling Ceph for Profiling¶
To compile Ceph for profiling, first clean everything.
Then, export the following settings so that you can see callgraph output.
export CFLAGS="-fno-omit-frame-pointer -O2 -g"
Finally, compile Ceph.
./autogen.sh ./configure make
You can use
make -j to execute multiple jobs depending upon your system. For