HomeFreeBSD

Adjust prefetch parameters.

Description

Adjust prefetch parameters.

  • Reduce maximum prefetch distance for 32bit platforms to 8MB as it

was previously. Those systems didn't grow much probably, so better
stay conservative there.

  • Retire array_rd_sz tunable, blocking prefetch for large requests.

We should not penalize applications trying to be more efficient. The
speculative prefetcher by itself has reasonable distance limits, and
1MB is not much at all these days.

Reviewed-by: Allan Jude <allan@klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #15072

Details

Provenance
mavAuthored on Jul 21 2023, 6:51 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 21 2023, 11:35 PM
Parents
rG8a6fde821379: Add explicit prefetches to bpobj_iterate().
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG81be809a25b8: Adjust prefetch parameters. (authored by mav).Jul 21 2023, 11:35 PM