Bench-lock : A tool to compare and evaluated different mutual exclusion locking algorithms

Read full text
Authors: Pierre Sens
Cited by: 0

Abstract

benck-lock provides a tool to compare different implementations of mutex lock algorithm. Related publication P. Sens, L. Arantes, J. Sopena. A Queue-Free Approach to Improve the Performance of Synchronization Primitives ofMultithreaded Applications. To appear IPDPS 2026. Usage tar xvfz bench-lock.tgz cd bench-lock make # help ./mutex_gen # Example : # to run 200 threads (threads)# executing10,000,000 critical sections on a shared variable (iter) , # each cs runs a 10-iterations loop, # each thread executes 5 iterations between two cs calls # with default linux scheduler (sched),# POSIX implementation (lock) ./mutex_gen 200 10000000 P L 10 5 P;L;100000000;200;2.2100;3.9800;40.2100 # output format: lock;sched;iter;threads;resp-time;user-CPU-time;sys-CPU-time

Fields of Study & Subjects

Distributed systems and fault tolerance Parallel Computing and Optimization Techniques Software System Performance and Reliability

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
9 February 2026