Page MenuHomeFreeBSD

Reduce ARC fragmentaion threshold
ClosedPublic

Authored by smh on Mar 15 2017, 12:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 21 2024, 5:46 AM
Unknown Object (File)
Feb 14 2024, 2:51 PM
Unknown Object (File)
Jan 14 2024, 6:09 AM
Unknown Object (File)
Dec 22 2023, 9:45 PM
Unknown Object (File)
Nov 28 2023, 10:17 PM
Unknown Object (File)
Nov 7 2023, 1:53 AM
Unknown Object (File)
Nov 6 2023, 1:45 PM
Unknown Object (File)
Nov 5 2023, 9:28 PM
Subscribers

Details

Summary

As ZFS can request up to SPA_MAXBLOCKSIZE memory block e.g. during zfs recv, update the threshold at which we start agressive reclamation to use SPA_MAXBLOCKSIZE (16M) instead of the lower zfs_max_recordsize which defaults to 1M.

This was reported here:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194513

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mav accepted this revision.EditedMar 15 2017, 12:45 PM

I have no objections. It may be too aggressive if fragmentation was somehow caused not by ZFS, but any way I don't know any other place in system which would bother to do this, while I know other places that suffer quietly from fragmentation.

This revision is now accepted and ready to land.Mar 15 2017, 12:45 PM
This revision was automatically updated to reflect the committed changes.