• DocumentCode
    3024293
  • Title

    Impact of instruction re-ordering on the correctness of shared-memory programs

  • Author

    Higha, L. ; Kawash, Jalal

  • Author_Institution
    Dept. of Comput. Sci., Calgary Univ., Alta., Canada
  • fYear
    2005
  • fDate
    7-9 Dec. 2005
  • Abstract
    Sequential consistency is an intuitive consistency model that simplifies reasoning about concurrent multiprocessor programs. Most implementations of high-performance multiprocessors, however, utilize mechanisms that al low instructions to execute out of order resulting in consistency models that are weaker than sequential consistency and further complicating the job of programmers. This paper invests all possible combinations of re-ordering of read and write instructions and their effects on the correctness of programs that are designed for sequential consistency. It shows that with certain combinations of re-orderings, any program that accesses shared memory through only reads and writes and that is correct assuming sequential consistency, can be transformed to a new program that does not use any explicit synchronization, and that remains correct in spite of the instruction re-ordering. With other combinations of re-ordering, such transformations do not exist, and even solutions to the mutual exclusion problem are impossible without resorting to explicit synchronization.
  • Keywords
    concurrency control; data integrity; parallel processing; shared memory systems; synchronisation; concurrent multiprocessor program; high-performance multiprocessors; instruction re-ordering; read- write instruction; sequential consistency model; shared-memory program; synchronization; Algorithm design and analysis; Computer science; Councils; Hardware; Java; Optimizing compilers; Out of order; Programming profession; Read-write memory; Virtual machining; Critical Sections; High-performance multiprocessors.; Instruction re-ordering; Memory consistency models; Mutual exclusion; Sequential consistency;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Architectures,Algorithms and Networks, 2005. ISPAN 2005. Proceedings. 8th International Symposium on
  • ISSN
    1087-4089
  • Print_ISBN
    0-7695-2509-1
  • Type

    conf

  • DOI
    10.1109/ISPAN.2005.51
  • Filename
    1575801