ARM-software / synchronization-benchmarks

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

Lockhammer: Add a safe mode command-line option #25

Closed lucasclucasdo closed 6 years ago

lucasclucasdo commented 6 years ago

Normal invocation of lockhammer runs with all threads pinned to specific cores in the FIFO scheduler with threads synchronized to only start testing after all threads have successfully been scheduled. This entails many pitfalls including necessitating running as root and the possiblity for poor system responsiveness or even hangs. Add a safe mode option which avoids all of these at the cost of significantly less accurate performance measurment.

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

geoffreyblake commented 6 years ago

Can one of the admins verify this patch?

geoffreyblake commented 6 years ago

With the recent merges, this needs to be rebased.