• DocumentCode
    3598727
  • Title

    Identifying and Exploiting Spatial Regularity in Data Memory References

  • Author

    Mohan, Tushar ; De Supinski, Bronis R. ; McKee, Sally A. ; Mueller, Frank ; Yoo, Andy ; Schulz, Martin

  • Author_Institution
    Lawrence Berkeley National Laboratory, Berkeley, CA
  • fYear
    2003
  • Firstpage
    49
  • Lastpage
    49
  • Abstract
    The growing processor/memory performance gap causes the performance of many codes to be limited by memory accesses. If known to exist in an application, strided memory accesses forming streams can be targeted by optimizations such as prefetching, relocation, remapping, and vector loads. Undetected, they can be a significant source of memory stalls in loops. Existing stream-detection mechanisms either require special hardware, which may not gather statistics for subsequent analysis, or are limited to compile-time detection of array accesses in loops. Formally, little treatment has been accorded to the subject; the concept of locality fails to capture the existence of streams in a program´s memory accesses. The contributions of this paper are as follows. First, we define spatial regularity as a means to discuss the presence and effects of streams. Second, we develop measures to quantify spatial regularity, and we design and implement an on-line, parallel algorithm to detect streams - and hence regularity - in running applications. Third, we use examples from real codes and common benchmarks to illustrate how derived stream statistics can be used to guide the application of profile-driven optimizations. Overall, we demonstrate the benefits of our novel regularity metric as an instrument to detect potential for code optimizations affecting memory performance.
  • Keywords
    Algorithm design and analysis; Application software; Computational fluid dynamics; Computer science; Government; Hardware; Laboratories; Prefetching; Scientific computing; Statistical analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Supercomputing, 2003 ACM/IEEE Conference
  • Print_ISBN
    1-58113-695-1
  • Type

    conf

  • DOI
    10.1109/SC.2003.10037
  • Filename
    1592952