HomeFreeBSD

Make rewrite use Uncached I/O

Description

Make rewrite use Uncached I/O

Rewrite is a one-time/rare bulk administrative operation, which
should minimally affect payload caching. Plus some avoided memory
copies in its data path allow to significantly increase its speed.

My tests show reduction of time to rewrite 28GB of uncompressed
files on NVMe pool from 17 to 9 seconds and minimal ARC usage.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #17407

Details

Provenance
mavAuthored on May 31 2025, 1:13 AM
GitHub <noreply@github.com>Committed on May 31 2025, 1:13 AM
Parents
rGf03f9c9bde70: ZTS: Enable io_uring support on el9/el10
Branches
Unknown
Tags
Unknown