Dynamic Access Ordering for Streamed Computations

  • Authors:
  • Sally A. McKee;William A. Wulf;James H. Aylor;Maximo H. Salinas;Robert H. Klenke;Sung I. Hong;Dee A. B. Weikle

  • Affiliations:
  • Univ. of Utah, Salt Lake City;Univ. of Virginia, Charlottesville;Univ. of Virginia, Charlottesville;Univ. of Virginia, Charlottesville;Virginia Commonwealth Univ., Richmond;Lockheed Federal Systems, Manassa, VA;Univ. of Virginia, Charlottsville

  • Venue:
  • IEEE Transactions on Computers
  • Year:
  • 2000

Quantified Score

Hi-index 14.98

Visualization

Abstract

Memory bandwidth is rapidly becoming the limiting performance factor for many applications, particularly for streaming computations such as scientific vector processing or multimedia (de)compression. Although these computations lack the temporal locality of reference that makes traditional caching schemes effective, they have predictable access patterns. Since most modern DRAM components support modes that make it possible to perform some access sequences faster than others, the predictability of the stream accesses makes it possible to reorder them to get better memory performance. We describe a Stream Memory Controller (SMC) system that combines compile-time detection of streams with execution-time selection of the access order and issue. The SMC effectively prefetches read-streams, buffers write-streams, and reorders the accesses to exploit the existing memory bandwidth as much as possible. Unlike most other hardware prefetching or stream buffer designs, this system does not increase bandwidth requirements. The SMC is practical to implement, using existing compiler technology and requiring only a modest amount of special-purpose hardware. We present simulation results for fast-page mode and Rambus DRAM memory systems and we describe a prototype system with which we have observed performance improvements for inner loops by factors of 13 over traditional access methods.