]> granicus.if.org Git - zfs/commit
OpenZFS 8484 - Implement aggregate sum and use for arc counters
authorPaul Dagnelie <pcd@delphix.com>
Thu, 25 May 2017 18:32:40 +0000 (11:32 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 6 Jun 2018 16:35:59 +0000 (09:35 -0700)
commit37fb3e431845b934df9771d7bcca5fbef79f4c1e
tree352e34819910486a9a5ff9cb8870f4256c90afff
parentf0ed6c744872ec6dc4838947ffc597f4d141864a
OpenZFS 8484 - Implement aggregate sum and use for arc counters

In pursuit of improving performance on multi-core systems, we should
implements fanned out counters and use them to improve the performance of
some of the arc statistics. These stats are updated extremely frequently,
and can consume a significant amount of CPU time.

Authored by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Ported-by: Paul Dagnelie <pcd@delphix.com>
OpenZFS-issue: https://www.illumos.org/issues/8484
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/7028a8b92b7
Issue #3752
Closes #7462
12 files changed:
include/sys/Makefile.am
include/sys/aggsum.h [new file with mode: 0644]
include/sys/cityhash.h [new file with mode: 0644]
include/sys/zfs_context.h
lib/libzpool/Makefile.am
module/zfs/Makefile.in
module/zfs/THIRDPARTYLICENSE.cityhash [new file with mode: 0644]
module/zfs/THIRDPARTYLICENSE.cityhash.descrip [new file with mode: 0644]
module/zfs/aggsum.c [new file with mode: 0644]
module/zfs/arc.c
module/zfs/cityhash.c [new file with mode: 0644]
module/zfs/dbuf.c