HomeFreeBSD

Fix memory allocation for the checksum benchmark

Description

Fix memory allocation for the checksum benchmark

Allocation via kmem_cache_alloc() is limited to less then 4m for
some architectures.

This commit limits the benchmarks with the linear abd cache to 1m
on all architectures and adds 4m + 16m benchmarks via non-linear
abd_alloc().

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Co-authored-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
Closes #13669
Closes #13670

Details

Provenance
Tino Reichardt <milky-zfs@mcmilk.de>Authored on Jul 21 2022, 12:01 AM
GitHub <noreply@github.com>Committed on Jul 21 2022, 12:01 AM
Parents
rGf371cc18f811: Expose ZFS dataset case sensitivity setting via sb_opts
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG97fd1ea42a59: Fix memory allocation for the checksum benchmark (authored by Tino Reichardt <milky-zfs@mcmilk.de>).Jul 21 2022, 12:01 AM