HomeFreeBSD

zvol_os.c: Increase optimal IO size

Description

zvol_os.c: Increase optimal IO size

Since zvol read and write can process up to (DMU_MAX_ACCESS / 2) bytes
in a single operation, the current optimal I/O size is too low. SCST
directly reports this value as the optimal transfer length for the
target SCSI device. Increasing it from the previous volblocksize results
in performance improvement for large block parallel I/O workloads.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #16750

Details

Provenance
Ameer Hamza <ahamza@ixsystems.com>Authored on Thu, Nov 14, 10:14 PM
GitHub <noreply@github.com>Committed on Thu, Nov 14, 10:14 PM
Parents
rG8dc452d90783: Fix some nits in zfs_getpages()
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG3462f3bd5039: zvol_os.c: Increase optimal IO size (authored by Ameer Hamza <ahamza@ixsystems.com>).Thu, Nov 14, 10:14 PM