• DocumentCode
    1381129
  • Title

    An efficient solution to the cache thrashing problem caused by true data sharing

  • Author

    Jin, Guohua ; Li, Zhiyuan ; Chen, Fujie

  • Author_Institution
    Dept. of Comput. Sci., Rice Univ., Houston, TX, USA
  • Volume
    47
  • Issue
    5
  • fYear
    1998
  • fDate
    5/1/1998 12:00:00 AM
  • Firstpage
    527
  • Lastpage
    543
  • Abstract
    When parallel programs are executed on multiprocessors with private caches, a set of data may be repeatedly used and modified by different threads. Such data sharing can often result in cache thrashing, which degrades memory performance. This paper presents and evaluates a loop restructuring method to reduce or even eliminate cache thrashing caused by true data sharing in nested parallel loops. This method uses a compiler analysis which applies linear algebra and the theory of numbers to the subscript expressions of array references. Due to this method´s simplicity, it can be efficiently implemented in any parallel compiler. Experimental results show quite significant performance improvements over existing static and dynamic scheduling methods
  • Keywords
    cache storage; multiprocessing systems; parallelising compilers; storage management; cache thrashing problem; compiler analysis; data sharing; linear algebra; loop restructuring method; memory performance; multiprocessors; parallel compiler; parallel programs; performance improvements; Bridges; Computer Society; Degradation; Dynamic scheduling; Linear algebra; Multiprocessing systems; Protocols; Signal processing algorithms; Supercomputers; Yarn;
  • fLanguage
    English
  • Journal_Title
    Computers, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0018-9340
  • Type

    jour

  • DOI
    10.1109/12.677228
  • Filename
    677228