HomeFreeBSD

geli: add a read-only kern.geom.eli.use_uma_bytes sysctl

Description

geli: add a read-only kern.geom.eli.use_uma_bytes sysctl

It reports the value of the g_eli_alloc_sz variable. Allocations of
this size or less will use UMA. Larger allocations will use malloc.
Since malloc is slower, it is useful for users to know this variable so
they can avoid such allocations. For example, ZFS users can set
vfs.zfs.vdev.aggregation_limit to this value.

Sponsored by: Axcient
Reviewed by: markj, imp
Differential Revision: https://reviews.freebsd.org/D44904

(cherry picked from commit 3acf3feaa8c5b15e820e86c1526c9a97fc5ad247)

Details

Provenance
asomersAuthored on Apr 22 2024, 6:03 PM
Reviewer
markj
Differential Revision
D44904: geli: add a read-only kern.geom.eli.use_uma_bytes sysctl
Parents
rG792ad4676ba9: zfsd: Use vdev prop values for fault/degrade thresholds
Branches
Unknown
Tags
Unknown