• DocumentCode
    3129803
  • Title

    TSOtool: a program for verifying memory systems using the memory consistency model

  • Author

    Hangal, Sudheendra ; Vahia, Durgam ; Manovit, Chaiyasit ; Lu, Juin-Yeu Joseph ; Narayanan, Sridhar

  • Author_Institution
    Processor & Network Products, Sun Microsyst. India Private Ltd., Bangalore, India
  • fYear
    2004
  • fDate
    19-23 June 2004
  • Firstpage
    114
  • Lastpage
    123
  • Abstract
    In this paper, we describe TSOtool, a program to check the behavior of the memory subsystem in a shared memory multiprocessor. TSOtool runs pseudo-randomly generated programs with data races on a system compliant with the total store order (TSO) memory consistency model; it then checks the results of the program against the formal TSO specification. Such analysis can expose subtle memory errors like data corruption, atomicity violation and illegal instruction ordering. While verifying TSO compliance completely is an NP-complete problem, we describe a new polynomial time algorithm which is incorporated in TSOtool. In spite of being incomplete, it has been successful in detecting several bugs in the design of commercial microprocessors and systems, during both pre-silicon and post-silicon phases of validation.
  • Keywords
    computational complexity; computer debugging; data integrity; formal specification; formal verification; microprocessor chips; performance evaluation; shared memory systems; NP-complete problem; TSOtool program; atomicity violation; bug detection; data corruption; data races; formal TSO specification; illegal instruction ordering; memory consistency model; memory errors; memory subsystem behavior checking; memory system verification; multiprocessor verification; polynomial time algorithm; pseudorandomly generated programs; sequential consistency; shared memory multiprocessor; total store order; Computer bugs; Hardware; Microprocessors; Multithreading; Phase detection; Polynomials; Programming profession; Protocols; Sun; Surface-mount technology;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Architecture, 2004. Proceedings. 31st Annual International Symposium on
  • ISSN
    1063-6897
  • Print_ISBN
    0-7695-2143-6
  • Type

    conf

  • DOI
    10.1109/ISCA.2004.1310768
  • Filename
    1310768