]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
8484 Implement aggregate sum and use for arc counters
authorAlexander Motin <mav@FreeBSD.org>
Fri, 23 Mar 2018 00:20:42 +0000 (00:20 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Fri, 23 Mar 2018 00:20:42 +0000 (00:20 +0000)
commitba31d3992ebd86addb8ada77853f5c49a0bfcdcd
tree4d551b6e026f841b6dbcbb9e9b71623ddd6ff8ca
parent695c9b66458eb297d0ab2832533e42294f621d86
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>
uts/common/Makefile.files
uts/common/fs/zfs/THIRDPARTYLICENSE.cityhash [new file with mode: 0644]
uts/common/fs/zfs/THIRDPARTYLICENSE.cityhash.descrip [new file with mode: 0644]
uts/common/fs/zfs/aggsum.c [new file with mode: 0644]
uts/common/fs/zfs/arc.c
uts/common/fs/zfs/cityhash.c [new file with mode: 0644]
uts/common/fs/zfs/dbuf.c
uts/common/fs/zfs/sys/aggsum.h [new file with mode: 0644]
uts/common/fs/zfs/sys/cityhash.h [new file with mode: 0644]