HomeFreeBSD

Pack dmu_buf_impl_t by 16 bytes

Description

Pack dmu_buf_impl_t by 16 bytes

On 64bit FreeBSD this reduces one from 296 to 280 bytes. On small
block workloads dbufs may consume gigabytes of ARC, and this saves
5% of it.

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #16684

Details

Provenance
mavAuthored on Oct 25 2024, 4:03 PM
Tony Hutter <hutter2@llnl.gov>Committed on Nov 26 2024, 5:55 PM
Parents
rG384b53be8e5c: FreeBSD: Add missing memory reclamation accounting
Branches
Unknown
Tags
Unknown