aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorAlexander Motin <[email protected]>2023-11-07 14:35:40 -0500
committerGitHub <[email protected]>2023-11-07 11:35:40 -0800
commit58398cbd035116ba1d5756bae338664573e60d21 (patch)
tree37641313dbf5ec007835e9d284f3488234b66410 /.editorconfig
parente36ff84c338d2f7b15aef2538f6a9507115bbf4a (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 '.editorconfig')
0 files changed, 0 insertions, 0 deletions