aboutsummaryrefslogtreecommitdiffstats
path: root/man/man4/spl.4
diff options
context:
space:
mode:
authorAlexander Motin <[email protected]>2023-11-07 14:35:40 -0500
committerBrian Behlendorf <[email protected]>2024-01-08 16:11:39 -0800
commitf13593619b074dff63f6940d32033d2f147166e3 (patch)
treeb000340fed3f6b3b179d6d98a00df87336bcf938 /man/man4/spl.4
parentc34fe8dcbcb710081d8927b76bab06dd43c20c8c (diff)
FreeBSD: Optimize large kstat outputs
- Use sbuf_new_for_sysctl() to reduce double-buffering on sysctl output. - Use much faster sbuf_cat() instead of sbuf_printf("%s"). Together it reduces `sysctl kstat.zfs.misc.dbufs` time from minutes to seconds, making dbufstat almost usable. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Alexander Motin <[email protected]> Sponsored by: iXsystems, Inc. Closes #15495
Diffstat (limited to 'man/man4/spl.4')
0 files changed, 0 insertions, 0 deletions