ACM Home Page
Please provide us with feedback. Feedback
Dreadlocks: efficient deadlock detection
Full text PdfPdf (440 KB)
Source
ACM Symposium on Parallel Algorithms and Architectures archive
Proceedings of the twentieth annual symposium on Parallelism in algorithms and architectures table of contents
Munich, Germany
SESSION: Special track -- STM design and locks table of contents
Pages 297-303  
Year of Publication: 2008
ISBN:978-1-59593-973-9
Authors
Eric Koskinen  Brown University, Providence, RI, USA
Maurice Herlihy  Brown University, Providence, RI, USA
Sponsors
ACM: Association for Computing Machinery
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
SIGARCH: ACM Special Interest Group on Computer Architecture
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 15,   Downloads (12 Months): 125,   Citation Count: 1
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1378533.1378585
What is a DOI?

ABSTRACT

We present Dreadlocks, an efficient new shared-memory spin lock that actively detects deadlocks. Instead of spinning on a Boolean value, each thread spins on the lock owner's per-thread digest, a compact representation of a portion of the lock's waits-for graph. Digests can be implemented either as bit vectors (for small numbers of threads) or as Bloom filters (for larger numbers of threads). Updates to digests are propagated dynamically as locks are acquired and released. Dreadlocks can be applied to any spin lock algorithm that allows threads to time out. Experimental results show that Dreadlocks outperform timeouts under many circumstances, and almost never do worse.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
Broder, A., and Mitzenmacher, M. Network Applications of Bloom Filters: A Survey. Internet Mathematics 1, 4 (2004), 485--509.
 
3
 
4
 
5
Dice, D., Shalev, O., and Shavit, N. Transactional locking II. In Proceedings of the 20th International Symposium on Distributed Computing (DISC'06)(September 2006).
 
6
Dice, D., and Shavit, N. What really makes transactions fast. ACM SIGPLAN Workshop on Transactional Computing, Ottawa, ON, Canada, June(2006).
 
7
Ennals, R. Software transactional memory should not be obstruction-free. Unpublished manuscript, Intel Research Cambridge(2005).
8
9
 
10
Holzmann, G. The Spin Model Checker: Primer and Reference Manual. Addison-Wesley, 2004.
11
12
 
13
 
14
Luecke, G., Zou, Y., Coyle, J., Hoekstra, J., and Kraeva, M. Deadlock detection in MPI programs. Concurrency and Computation: Practice and Experience 14, 11 (2002), 911--932.
 
15
 
16
17
18
 
19
 
20


Collaborative Colleagues:
Eric Koskinen: colleagues
Maurice Herlihy: colleagues