]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r331404: MFV r331400:
authormav <mav@FreeBSD.org>
Mon, 16 Apr 2018 03:52:54 +0000 (03:52 +0000)
committermav <mav@FreeBSD.org>
Mon, 16 Apr 2018 03:52:54 +0000 (03:52 +0000)
commit73f50c7aa870619c666b5e60922eff785de83244
treeeb43b2cc80d64d45ab11025f5b35169041f42851
parent344611a0c0fdd574f87f194b05904050dfc58faa
MFC r331404: 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 [new file with mode: 0644]
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/THIRDPARTYLICENSE.cityhash.descrip [new file with mode: 0644]
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/aggsum.c [new file with mode: 0644]
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/cityhash.c [new file with mode: 0644]
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/aggsum.h [new file with mode: 0644]
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/cityhash.h [new file with mode: 0644]
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_context.h
sys/conf/files