Improving cache performance in dynamic applications through data and computation reorganization at run time
Chen Ding, Ken Kennedy · Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation · 1999
With the rapid improvement of processor speed, performance of the memory hierarchy has become the principal bottleneck for most applications. A number of compiler transformations have been developed to improve data reuse in cache and registers, thus reducing the total number of direct memory accesses in a program. Until now, however, most data reuse transformations have been static---applied only at compile time. As a result, these transformations cannot be used to optimize irregular and dynamic applications, in which the data layout and data access patterns remain unknown until run time and may even change during the computation.In this paper, we explore ways to achieve better data reuse in irregular and dynamic applications by building on the inspector-executor method used by Saltz for run-time parallelization. In particular, we present and evaluate a dynamic approach for improving both computation and data locality in irregular programs. Our results demonstrate that run-time program transformations can substantially improve computation and data locality and, despite the complexity and cost involved, a compiler can automate such transformations, eliminating much of the associated run-time overhead.
Cited by 233 works. doi:10.1145/301618.301670
Authors
References
- A data locality optimizing algorithm
- Strategies for cache and local memory management by global program transformation
- Improving register allocation for subscripted variables
- Improving data locality with loop transformations
- On the Performance Enhancement of Paging Systems Through Program Analysis and Transformations
- Strategies for cache and local memory management by global program transformation
- Improving register allocation for subscripted variables
- An implementation of interprocedural bounded regular section analysis
- Data and computation transformations for multiprocessors
- Unifying data and control transformations for distributed shared-memory machines