HomeFreeBSD

Default zfs_max_recordsize to 16M

Description

Default zfs_max_recordsize to 16M

Increase the default allowed maximum recordsize from 1M to 16M.
As described in the zfs(4) man page, there are significant costs
which need to be considered before using very large blocks.
However, there are scenarios where they make good sense and
it should no longer be necessary to artificially restrict their
use behind a module option.

Note that for 32-bit platforms we continue to leave this
restriction in place due to the limited virtual address space
available (256-512MB). On these systems only a handful
of blocks could be cached at any one time severely impacting
performance and potentially stability.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #12830
Closes #13302

Details

Provenance
rincebrain_gmail.comAuthored on Apr 28 2022, 10:12 PM
GitHub <noreply@github.com>Committed on Apr 28 2022, 10:12 PM
Parents
rG63b18e4097cd: Fix O_APPEND for Linux 3.15 and older kernels
Branches
Unknown
Tags
Unknown