Speed up resilver

A:

do we have any standard higher than higher-than-normal priority numbers to use for resilvering?

in other words:
# echo zfs_resilver_delay/W1 |mdb -kw
# echo zfs_resilver_min_time_ms/W0t4000|mdb -kw
what is safe beyond this?


B:

Could set to 0 & 5000....

# echo zfs_resilver_delay/W0 |mdb -kw
# echo zfs_resilver_min_time_ms/W0t5000|mdb -kw

Will increase resilver performance dramatically, however this will also effect the overall performance by consuming more CPU/memory & increasing IO to disks. This should only be done "out of business hours" to minimize impact.


------------------------------------------------------------------------------------

The tuneables are as as follows

zfs_resilver_min_time_ms
zfs_resilver_delay

From NMC you can view the current settings using

show appliance nms property sys_zfs_resilver_min_time #default is 3000
show appliance nms property sys_zfs_resilver_delay #default is 2

These can be amended to 5000 for sys_zfs_resilver_min_time, and either 1 or 0 for sys_zfs_resilver_delay. It may be best to set to 1 initially, and if there is no effect on I/O then it can be set to 0 (ie no delay).

setup appliance nms property sys_zfs_resilver_min_time
setup appliance nms property sys_zfs_resilver_delay

Once the resilver is finished i would recommend setting these back to the default again. Once the resilver has finished, please provide an updated zpool status output

發佈了44 篇原創文章 · 獲贊 0 · 訪問量 11萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章