HomeFreeBSD

ZIL: Reduce maximum size of WR_COPIED to 7.5K

Description

ZIL: Reduce maximum size of WR_COPIED to 7.5K

Benchmarks show that at certain write sizes range lock/unlock take
not so much time as extra memory copy. The exact threshold is not
obvious due to other overheads, but it is definitely lower than
~63KB used before. Make it configurable, defaulting at 7.5KB,
that is 8KB of nearest malloc() size minus itx and lr structs.

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

Details

Provenance
mavAuthored on Oct 6 2023, 5:09 PM
GitHub <noreply@github.com>Committed on Oct 6 2023, 5:09 PM
Parents
rG74ed1ae08a16: rpm: Fix `make rpm` on Debian/Ubuntu
Branches
Unknown
Tags
Unknown