HomeFreeBSD

ARC: Notify dbuf cache about target size reduction

Description

ARC: Notify dbuf cache about target size reduction

ARC target size might drop significantly under memory pressure,
especially if current ARC size was much smaller than the target.
Since dbuf cache size is a fraction of the target ARC size, it
might need eviction too. Aside of memory from the dbuf eviction
itself, it might help ARC by making more buffers evictable.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Ameer Hamza <ahamza@ixsystems.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #17314

Details

Provenance
mavAuthored on May 14 2025, 2:34 PM
GitHub <noreply@github.com>Committed on May 14 2025, 2:34 PM
Parents
rG0aa83dce99e4: Linux: Stop using NR_FILE_PAGES for ARC scaling
Branches
Unknown
Tags
Unknown