diff options
author | Brian Behlendorf <[email protected]> | 2023-01-24 14:05:45 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2023-01-27 10:01:13 -0800 |
commit | c0aea7cf4e86fc02db8046fbb3bca21a918053a2 (patch) | |
tree | b2a11b7e47274c8690301b0c8e54f2f71dded291 /man | |
parent | dc5c8006f684b1df3f2d4b6b8c121447d2db0017 (diff) |
Increase default zfs_scan_vdev_limit to 16MB
For HDD based pools the default zfs_scan_vdev_limit of 4M
per-vdev can significantly limit the maximum scrub performance.
Increasing the default to 16M can double the scrub speed from
80 MB/s per disk to 160 MB/s per disk.
This does increase the memory footprint during scrub/resilver
but given the performance win this is a reasonable trade off.
Memory usage is capped at 1/4 of arc_c_max. Note that number
of outstanding I/Os has not changed and is still limited by
zfs_vdev_scrub_max_active.
Reviewed-by: Akash B <[email protected]>
Reviewed-by: Tony Nguyen <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #14428
Diffstat (limited to 'man')
-rw-r--r-- | man/man4/zfs.4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/man4/zfs.4 b/man/man4/zfs.4 index 6f260660e..031981f9b 100644 --- a/man/man4/zfs.4 +++ b/man/man4/zfs.4 @@ -1905,7 +1905,7 @@ When disabled, the memory limit may be exceeded by fast disks. Freezes a scrub/resilver in progress without actually pausing it. Intended for testing/debugging. . -.It Sy zfs_scan_vdev_limit Ns = Ns Sy 4194304 Ns B Po 4 MiB Pc Pq int +.It Sy zfs_scan_vdev_limit Ns = Ns Sy 16777216 Ns B Po 16 MiB Pc Pq int Maximum amount of data that can be concurrently issued at once for scrubs and resilvers per leaf device, given in bytes. . |