ARM-software / synchronization-benchmarks

Collection of synchronization micro-benchmarks and traces from infrastructure applications
Other
38 stars 36 forks source link

Lockhammer: initial commit #2

Closed lucasclucasdo closed 6 years ago

lucasclucasdo commented 6 years ago

Commit base lockhammer benchmark code and tests suite. Additionally include some third-party algorithms which have been ported to work with lockhammer.

Fixes #1

Change-Id: Idab59148f91e944522eef3e187ec6430c03a69e9 Signed-off-by: Lucas Crowthers lucasc.qdt@qualcommdatacenter.com

zoybai commented 6 years ago

Hi Lucas,

We made some minor modifications based on your lockhammer code. Could you please review it and resubmit another patch?

Changes:

  1. made new "build" directory and all binaries will be put into that directory.
  2. modified "Makefile" to support build directory and add LDFLAGS option.
  3. increased default lock loop iteration to 200000 from 50000.
  4. slightly optimized testing time on large system by using 8 as sweep step instead of 1, but reserving 1~24 cores for smaller system.
  5. added more tests (mostly hybrid test and java monitor to runall.sh)

Thanks, Zoy

lockhammer_git_diff.txt