git: hammer - Remove global VOP counters

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Dec 4 09:41:14 PST 2016


commit e0d7dd091d45fb5179cc52f0118317607c40b91d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Dec 4 09:06:25 2016 -0800

    hammer - Remove global VOP counters
    
    * Remove global VOP counters.  These were only used for debugging.
      Removing these globals significantly improves concurrent VOP operations
      on multi-core systems, particularly multi-socket systems, by removing
      a cache ping-pong bottleneck.
    
    Discussed-with: Mateusz Guzik (mjg_)

Summary of changes:
 sbin/hammer/cmd_stats.c        | 10 ++--------
 sys/vfs/hammer/hammer.h        |  2 --
 sys/vfs/hammer/hammer_vfsops.c |  6 ------
 sys/vfs/hammer/hammer_vnops.c  | 20 --------------------
 4 files changed, 2 insertions(+), 36 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e0d7dd091d45fb5179cc52f0118317607c40b91d


-- 
DragonFly BSD source repository



More information about the Commits mailing list