Skip to content
Free planNo credit card requiredStart writing

article · 1997

Efficient procedure mapping using cache line coloring

Amir H. Hashemi, David Kaeli, Brad Calder

Cited by 110Abstract and details only

Abstract

As the gap between memory and processor performance continues to widen, it becomes increasingly important to exploit cache memory eflectively. Both hardware and aoftware approaches can be explored to optimize cache performance. Hardware designers focus on cache organization issues, including replacement policy, associativity, line size and the resulting cache access time. Software writers use various optimization techniques, including software prefetching, data scheduling and code reordering. Our focus is on improving memory usage through code reordering compiler techniques.In this paper we present a link-time procedure mapping algorithm which can significantly improve the eflectiveness of the instruction cache. Our algorithm produces an improved program layout by performing a color mapping of procedures to cache lines, taking into consideration the procedure size, cache size, cache line size, and call graph. We use cache line coloring to guide the procedure mapping, indicating which cache lines to avoid when placing a procedure in the program layout. Our algorithm reduces on average the instruction cache miss rate by 40% over the original mapping and by 17% over the mapping algorithm of Pettis and Hansen [12].

Cite this paper

APA 7

Hashemi, A. H., Kaeli, D., & Calder, B. (1997). Efficient procedure mapping using cache line coloring. https://doi.org/10.1145/258915.258931

MLA 9

Hashemi, Amir H., et al. “Efficient procedure mapping using cache line coloring.” 1997, pp. 171–82, https://doi.org/10.1145/258915.258931.

Chicago

Hashemi, Amir H., David Kaeli, and Brad Calder. 1997. “Efficient procedure mapping using cache line coloring.” https://doi.org/10.1145/258915.258931.

Harvard

Hashemi, A.H., Kaeli, D. and Calder, B. (1997) ‘Efficient procedure mapping using cache line coloring’. Available at: https://doi.org/10.1145/258915.258931.

BibTeX
@article{hashemi1997efficient,
  title = {{Efficient procedure mapping using cache line coloring}},
  author = {Hashemi, Amir H. and Kaeli, David and Calder, Brad},
  pages = {171--182},
  year = {1997},
  doi = {10.1145/258915.258931}
}

Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.