ACM Home Page
Please provide us with feedback. Feedback
Testing implementations of transactional memory
Full text PdfPdf (416 KB)
Source PACT archive
Proceedings of the 15th international conference on Parallel architectures and compilation techniques table of contents
Seattle, Washington, USA
SESSION: Multi-core design II table of contents
Pages: 134 - 143  
Year of Publication: 2006
ISBN:1-59593-264-X
Authors
Chaiyasit Manovit  Sun Microsystems, Sunnyvale, CA
Sudheendra Hangal  Magic Lamp Software, Bangalore, India
Hassan Chafi  Stanford University, Stanford, CA
Austen McDonald  Stanford University, Stanford, CA
Christos Kozyrakis  Stanford University, Stanford, CA
Kunle Olukotun  Stanford University, Stanford, CA
Sponsor
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 2,   Downloads (12 Months): 66,   Citation Count: 3
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/1152154.1152177
What is a DOI?

ABSTRACT

Transactional memory is an attractive design concept for scalable multiprocessors because it offers efficient lock-free synchronization and greatly simplifies parallel software. Given the subtle issues involved with concurrency and atomicity, however, it is important that transactional memory systems be carefully designed and aggressively tested to ensure their correctness. In this paper, we propose an axiomatic framework to model the formal specification of a realistic transactional memory system which may contain a mix of transactional and non-transactional operations. Using this framework and extensions to analysis algorithms originally developed for checking traditional memory consistency, we show that the widely practiced pseudo-random testing methodology can be effectively applied to transactional memory systems. Our testing methodology was successful in finding previously unknown bugs in the implementation of TCC, a transactional memory system. We study two flavors of the underlying analysis algorithm, one incomplete and the other complete, and show that the complete algorithm while being theoretically intractable is very efficient in practice.


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
 
3
B. Bentley and R. Gray. Validating the Intel Pentium 4 processor. Intel Technology Journal, (Q1):8, Feb. 2001.
 
4
5
6
7
8
 
9
R. Hosabettu. SPARC V9 atomic transaction. Sun Microsystems internal document, Feb. 2003.
 
10
J. M. Ludden, W. Roesner, G. M. Heiling, J. R. Reysa, J. R. Jackson, et al. Functional verification of the POWER4 microprocessor and POWER4 multiprocessor system. IBM Journal of Research and Development, 46(1):53--76, 2002.
 
11
S. T. Mangelsdorf, R. P. Gratias, R. M. Blumberg, and R. Bhatia. Functional verification of the HP PA 8000 processor. Hewlett-Packard Journal, Aug. 1997.
12
 
13
C. Manovit and S. Hangal. Completely verifying memory consistency of test program executions. In HPCA'06: Proceedings of the 12th International Symposium on High-Performance Computer Architecture, 2006.
 
14
 
15
M. Moir. Hybrid transactional memory, Jul 2005. Unpublished manuscript.
 
16
K. E. Moore, J. Bobba, M. J. Moravan, et al. LogTM: Log-based transactional memory. In HPCA'06: Proceedings of the 12th International Symposium on High-Performance Computer Architecture, 2006.
17
18
19
 
20
A. Shriraman, V. Marathe, S. Dwarkadas, et al. Hardware acceleration of software transactional memory. Technical Report UR CSD;TR 887, Dept. of Computer Science, University of Rochester, Dec. 2005.
 
21
P. S. Sindhu, J.-M. Frailong, and M. Cekleov. Formal specification of memory models. Technical Report CSL-91-11, Xerox Palo Alto Research Center, Dec. 1991.
22
23


Collaborative Colleagues:
Chaiyasit Manovit: colleagues
Sudheendra Hangal: colleagues
Hassan Chafi: colleagues
Austen McDonald: colleagues
Christos Kozyrakis: colleagues
Kunle Olukotun: colleagues