HomeFreeBSD

Switch dnode stats to wmsums

Description

Switch dnode stats to wmsums

I've noticed that some of those counters are used in hot paths like
dnode_hold_impl(), and results of this change is visible in profiler.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Closes #14198

Details

Provenance
mavAuthored on Nov 29 2022, 5:33 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 2 2023, 10:37 PM
Parents
rGeb68e3cd5655: Micro-optimize zrl_remove()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG04a6ae05850b: Switch dnode stats to wmsums (authored by mav).Mar 2 2023, 10:37 PM