osd max backfills

ceph version

# ceph -v
ceph version 13.2.10 mimic (stable)

osd max backfills

# ceph daemon osd.0 config show | grep osd_max_backfills	一个OSD允许的最大backfills数
    "osd_max_backfills": "1",	
# ceph daemon osd.0 config show | grep osd_recovery_max_active	同一时间内活跃的恢复请求数
    "osd_recovery_max_active": "3",
# ceph daemon osd.0 config show | grep osd_recovery_sleep_hdd	下次恢复或回填HDD之前,以秒为单位的睡眠时间
    "osd_recovery_sleep_hdd": "0.100000",
# ceph daemon osd.0 config show | grep osd_backfill_scan_min	每次回填扫描的最小对象数
    "osd_backfill_scan_min": "64",    
# ceph daemon osd.0 config show | grep osd_recovery_op_priority	恢复操作优先级,取值1-63,值越高占用资源越高
    "osd_recovery_op_priority": "3",

设置

# ceph tell osd.* injectargs --osd_max_backfills=4
  • --osd_max_backfills=1
recovery: 70 MiB/s, 17 objects/s
  • --osd_max_backfills=4
recovery: 205 MiB/s, 51 objects/s

参考:

  1. ceph-mimic版
  2. 查看运行时配置
  3. 华为 Ceph调优
  4. ceph数据同步recovery时的性能参数调节
  5. How to speed up or slow down osd recovery
  6. ceph回填速度调整参数
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值