HomeFreeBSD

Use wmsum for arc, abd, dbuf and zfetch statistics. (#12172)

Description

Use wmsum for arc, abd, dbuf and zfetch statistics. (#12172)

wmsum was designed exactly for cases like these with many updates
and rare reads. It allows to completely avoid atomic operations on
congested global variables.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Mark Maybee <mark.maybee@delphix.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored-By: iXsystems, Inc.
Closes #12172

Details

Provenance
mavAuthored on Jun 17 2021, 12:19 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 24 2021, 8:10 PM
Parents
rG9a865b7fb70f: libspl: implement atomics in terms of atomics
Branches
Unknown
Tags
Unknown