问题描述
该笔记将记录:对 Ceph Cluster 进行基准测试的方法,以及性能调优的方法;
第三步、服务参数调优配置
针对参数调优配置,从如下方向入手:
1)服务端参数优化;
2)客户端参数优化;
内存分析
通常用于内存泄漏等等 BUG 排查的场景中;
ceph tell osd.0 heap start_profiler
…(经过一段时间运行,或者手动产生一些负载)
ceph tell osd.0 heap stats
# 导出文件,并通过google-perftools 查看
ceph tell osd.0 heap dump
pprof –text /usr/bin/ceph-osd /var/log/ceph/osd.0.profile.001.heap
相关文章
1)YourcmcWiki/Ceph performance
参考文献
BENCHMARK CEPH CLUSTER PERFORMANCE