Skip to main content

Nonlinear array layouts for hierarchical memory systems

Publication ,  Conference
Chatterjee, S; Jain, VV; Lebeck, AR; Mundhra, S; Thottethodi, M
Published in: Proceedings of the International Conference on Supercomputing
January 1, 1999

Programming languages that provide multidimensional arrays and a flat linear model of memory must implement a mapping between these two domains to order array elements in memory. This layout function is fixed at language definition time and constitutes an invisible, non-programmable array attribute. In reality, modern memory systems are architecturally hierarchical rather than flat, with substantial differences in performance among different levels of the hierarchy. This mismatch between the model and the true architecture of memory systems can result in low locality of reference and poor performance. Some of this loss in performance can be recovered by re-ordering computations using transformations such as loop tiling. We explore nonlinear array layout functions as an additional means of improving locality of reference. For a benchmark suite composed of dense matrix kernels, we show by timing and simulation that two specific layouts (4D and Morton) have low implementation costs (2-5% of total running time) and high performance benefits (reducing execution time by factors of 1.1-2.5); that they have smooth performance curves, both across a wide range of problem sizes and over representative cache architectures; and that recursion-based control structures may be needed to fully exploit their potential.

Duke Scholars

Published In

Proceedings of the International Conference on Supercomputing

DOI

Publication Date

January 1, 1999

Start / End Page

444 / 453
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Chatterjee, S., Jain, V. V., Lebeck, A. R., Mundhra, S., & Thottethodi, M. (1999). Nonlinear array layouts for hierarchical memory systems. In Proceedings of the International Conference on Supercomputing (pp. 444–453). https://doi.org/10.1145/305138.305231
Chatterjee, S., V. V. Jain, A. R. Lebeck, S. Mundhra, and M. Thottethodi. “Nonlinear array layouts for hierarchical memory systems.” In Proceedings of the International Conference on Supercomputing, 444–53, 1999. https://doi.org/10.1145/305138.305231.
Chatterjee S, Jain VV, Lebeck AR, Mundhra S, Thottethodi M. Nonlinear array layouts for hierarchical memory systems. In: Proceedings of the International Conference on Supercomputing. 1999. p. 444–53.
Chatterjee, S., et al. “Nonlinear array layouts for hierarchical memory systems.” Proceedings of the International Conference on Supercomputing, 1999, pp. 444–53. Scopus, doi:10.1145/305138.305231.
Chatterjee S, Jain VV, Lebeck AR, Mundhra S, Thottethodi M. Nonlinear array layouts for hierarchical memory systems. Proceedings of the International Conference on Supercomputing. 1999. p. 444–453.

Published In

Proceedings of the International Conference on Supercomputing

DOI

Publication Date

January 1, 1999

Start / End Page

444 / 453