]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFV r331400: 8484 Implement aggregate sum and use for arc counters
authormav <mav@FreeBSD.org>
Fri, 23 Mar 2018 02:15:05 +0000 (02:15 +0000)
committermav <mav@FreeBSD.org>
Fri, 23 Mar 2018 02:15:05 +0000 (02:15 +0000)
commita2335dfaf9e084e84f75e36a7c7953922c497e06
tree9184d979828aed075445ec572fc275bb446c0e98
parente969264bab4d0f30d0c4ee0d1bb410a078fe230b
parent555f9563c9dc217341d4bb5129f5d233cf1f92b8
MFV r331400: 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.

Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Author: Paul Dagnelie <pcd@delphix.com>
12 files changed:
cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h
sys/cddl/contrib/opensolaris/uts/common/Makefile.files
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/THIRDPARTYLICENSE.cityhash
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/THIRDPARTYLICENSE.cityhash.descrip
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/aggsum.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/cityhash.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/aggsum.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/cityhash.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_context.h
sys/conf/files