ceph数据同步recovery时的性能参数调节

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

主要需要调节的参数有三个

osd recovery max active = 3 (default : 15)
osd recovery op priority = 3 (default : 10)
osd max backfills = 1 (default : 10)

调节的方法

#查看配置的方法
ceph daemon  mon.0 config show
#调节mon
ceph tell mon.0 injectargs --osd_recovery_max_active   3
ceph tell mon.0 injectargs --osd_recovery_op_priority  3    
ceph tell mon.0 injectargs --osd_max_backfills  1
#调节osd
ceph tell osd.* injectargs --osd_recovery_max_active   3
ceph tell osd.* injectargs --osd_recovery_op_priority  3    
ceph tell osd.* injectargs --osd_max_backfills  1

mon和osd的配置都需要调节 相关的资料传送门

转载于:https://my.oschina.net/xueyi28/blog/988633

你可能感兴趣的:(ceph数据同步recovery时的性能参数调节)