Information and Media Technologies
Online ISSN : 1881-0896
ISSN-L : 1881-0896
Computing
Efficient Lock Algorithm for Shared Objects in SMP Environments
Takeshi OgasawaraHideaki KomatsuToshio Nakatani
Author information
JOURNAL FREE ACCESS

2007 Volume 2 Issue 1 Pages 154-162

Details
Abstract
We propose a new algorithm that is effective for objects that are shared among threads but are not contended for in SMP environments. We can remove the overhead of the serialization between lock and other non-lock operations and avoid the latency of complex atomic operations in most cases. We established the safety of the algorithm by using a software tool called Spin. The experimental results from our benchmarking on an SMP machine using Intel Xeon processors revealed that our algorithm could significantly improve efficiency by 80% on average compared to using complex atomic instruction.
Content from these authors
© 2007 by Information Processing Society of Japan
Previous article Next article
feedback
Top