Skip to main content

Verification Methods for Weaker Shared Memory Consistency Models

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1800))

Abstract

The problem of verifying finite-state models of shared memory multiprocessor coherence protocols for conformance to weaker memory consistency models is examined. We start with W.W. Collier’s architectural testing methods and extend it in several non-trivial ways in order to be able to handle weaker memory models. This, our first contribution, presents the construction of architectural testing programs similar to those constructed by Collier (e.g. the Archtest suite) suited for weaker memory models. Our on primary emphasis has, how ever, been to adapt these methods to the realm of model-checking. In an earlier effort (joint work with Nalumasu and Mokkedem), we had demonstrated how to adapt Collier’s architectural testing methods to model-checking. Our verification approach consisted of abstracting executions that violate memory orderings into a fixed collection of automata (called Test Automata) that depend only on the memory model. The main advantage of this approach, called Test Model-checking, is that the test automata remain fixed during the iterative design cycle when different coherence protocols that (presumably) implement a given memory model are being compared for performance. This facilitates ‘push-button’ re-verification when each new protocol is being considered. Our second contribution is to extend the methods of constructing test automata to be able to handle architectural tests for weaker memory models. After reviewing prior work, in this paper we mainly focus on architectural tests for weaker memory models and the new abstraction methods thereof to construct test automata for weaker memory models.

The author is currently at Intel, Oregon and was at University of Utah during the course of the research work presented here.

Supported in part by NSF Grant No. CCR-9800928.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Collier, W. W.Reasoning About Parallel Architectures. Prentice-Hall, Englewood Cliffs, NJ, 1992.

    MATH  Google Scholar 

  2. Dill, D. L., Park, S., and Nowatzyk, A. Formal specification of abstract memory models. In Research on Integrated Systems (1993), G. Borriello and C. Ebeling, Eds., MIT Press, pp. 38–52.

    Google Scholar 

  3. Ghughal, R. Test model-checking approach to verification of formal memory models, 1999.Also available from http://www.cs.utah.edu/formal_verification.

  4. Ghughal, R., Nalumasu, R., Mokkedem, A., and Gopalakrishnan, G. Using “test model-checking” to verify the Runway-PA8000 memory model. In Tenth Annual ACM Symposium on Parallel Algorithms and Architectures (Puerto Vallarta, Mexico, June 1998).

    Google Scholar 

  5. Hojati, R., and Brayton, R. Automatic datapath abstraction of hardware systems. In Conference on Computer-Aided Verification (1995).

    Google Scholar 

  6. Ip, C. N., and Dill, D. L. Better verification through symmetry. In Int’l Conference on Computer Hardware Description Language (1993).

    Google Scholar 

  7. Lamport, L. How to make a multiprocessor computer that correctly executes multiprocess programs. IEEE Transactions on Computers 9, 29 (1979), 690–691.

    Article  Google Scholar 

  8. Nalumasu, R.Formal design and verification methods for shared memory systems. PhD thesis, University of Utah, Salt Lake City, UT, USA, Dec. 1998.

    Google Scholar 

  9. Nalumasu, R., Ghughal, R., Mokkedem, A., and Gopalakrishnan, G. The ‘test model-checking’ approach to the verification of formal memory models of multiprocessors. In Computer Aided Verification (Vancouver, BC, Canada, June 1998), A. J. Hu and M. Y. Vardi, Eds., vol. 1427 of Lecture Notes in Computer Science, Springer-Verlag, pp. 464–476.

    Chapter  Google Scholar 

  10. Pong, F., and Dubois, M. New approach for the verification of cache coherence protocols. IEEE Transactions on Parallel and Distributed Systems 6, 8 (Aug. 1995), 773–787.

    Article  Google Scholar 

  11. Sites, R. L.Alpha Architecture Reference Manual. Digital Press and Prentice-Hall, 1992.

    Google Scholar 

  12. Vis-1.2 release. http://www-cad.eecs.berkeley.edu/Respep/Research/vis/.

  13. Weaver, D. L., and Germond, T.The SPARC Architecture Manual — Version 9. P T R Prentice-Hall, Englewood Cliffs, NJ 07632, USA, 1994.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2000 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ghughal, R.P., Gopalakrishnan, G.C. (2000). Verification Methods for Weaker Shared Memory Consistency Models. In: Rolim, J. (eds) Parallel and Distributed Processing. IPDPS 2000. Lecture Notes in Computer Science, vol 1800. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45591-4_135

Download citation

  • DOI: https://doi.org/10.1007/3-540-45591-4_135

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-67442-9

  • Online ISBN: 978-3-540-45591-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics