git: test - Add lockmgr1, lockmgr2, lockmgr3 tests

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Oct 31 10:49:59 PDT 2017


commit 367612aa80b4fde9fb3dfd4922a93d0547222a7a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Oct 27 18:59:18 2017 -0700

    test - Add lockmgr1, lockmgr2, lockmgr3 tests
    
    * Add tests which perform various system calls intended to exercise
      lockmgr() locks.
    
    * Generally shows a roughly 40% improvement in SMP performance
      from the recent lockmgr changes when shared locks have high
      collision rates.

Summary of changes:
 test/sysperf/Makefile                   | 10 +++++
 test/sysperf/{syscall1.c => lockmgr1.c} | 27 ++++++-------
 test/sysperf/lockmgr2.c                 | 66 ++++++++++++++++++++++++++++++++
 test/sysperf/lockmgr3.c                 | 68 +++++++++++++++++++++++++++++++++
 4 files changed, 158 insertions(+), 13 deletions(-)
 copy test/sysperf/{syscall1.c => lockmgr1.c} (51%)
 create mode 100644 test/sysperf/lockmgr2.c
 create mode 100644 test/sysperf/lockmgr3.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/367612aa80b4fde9fb3dfd4922a93d0547222a7a


-- 
DragonFly BSD source repository



More information about the Commits mailing list