There was an error while loading. Please reload this page.
Pre-requisites for enabling Tendrl profiler on a storage node:
yum install python-devel python-pip
yum group install "Development Tools"
pip install GreenletProfiler
About Tendrl profiler:
with_internal_profiler: True
Eg: to enable profiling for tendrl-node-agent
/etc/tendrl/node-agent/node-agent.conf.yaml
systemctl restart tendrl-node-agent
systemctl stop tendrl-node-agent
/var/lib/tendrl/profiling/node_agent/last_run_func_stat.pstat
Note: profiling is available for all tendrl services except the tendrl-api, the profiling output can be visualized via https://github.com/ymichael/cprofilev (for *.pstat) and via http://valgrind.org/docs/manual/cl-manual.html (for *.callgrind)