Welcome!
To use the personalized features of this site, please log in or register.
If you have forgotten your username or password, we can help.
My Menu
Saved Items

Shared Memory Consistency Protocol Verification Against Weak Memory Models: Refinement via Model-Checking

Prosenjit ChatterjeeContact Information, Hemanthkumar SivarajContact Information and Ganesh GopalakrishnanContact Information

(6)  School of Computing, University of Utah, USA
Abstract
Weak shared memory consistency models, especially those used by modern microprocessor families, are quite complex. The bus and/or directory-based protocols that help realize shared memory multiprocessors using these microprocessors are also exceedingly complex. Thus, the correctness problem — that all the executions generated by the multiprocessor for any given concurrent program are also allowed by the memory model — is a major challenge. In this paper, we present a formal approach to verify protocol implementation models against weak shared memory models through automatable refinement checking supported by a model checker. We define a taxonomy of weak shared memory models that includes most published commercial memory models, and detail how our approach applies over all these models. In our approach, the designer follows a prescribed procedure to build a highly simplified intermediate abstraction for the given implementation. The intermediate abstraction and the implementation are concurrently run using a model-checker, checking for refinement. The intermediate abstraction can be proved correct against the memory model specification using theorem proving. We have verified four different Alpha as well as Itanium memory model implementations1 against their respective specifications. The results are encouraging in terms of the uniformity of the procedure, the high degree of automation, acceptable run-times, and empirically observed bug-hunting efficacy. The use of parallel model-checking, based on a version of the parallel Murϕ model checker we have recently developed for the MPI library, has been essential to finish the search in a matter of a few hours.
This work was supported by NSF Grants CCR-9987516 and CCR-0081406

Contact Information Prosenjit Chatterjee
Email: prosen@cs.utah.edu
URL: http://www.cs.utah.edu/formal_verification/cav02.html

Contact Information Hemanthkumar Sivaraj
Email: hemanth@cs.utah.edu

Contact Information Ganesh Gopalakrishnan
Email: ganesh@cs.utah.edu
Fulltext Preview (Small, Large)
Image of the first page of the fulltext

References secured to subscribers.



Export this chapter
Export this chapter as RIS | Text
 
Remote Address: 38.107.191.108 • Server: mpweb07
HTTP User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)