主要需要调节的参数有三个
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的配置都需要调节 相关的资料传送门