• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 4 fuera de 187 páginas
Examen

Program Transformations for Cache Locality Enhancement – Computer Science (PDF)

Document preview thumbnail
Vista previa 4 fuera de 187 páginas

Explore Program Transformations for Cache Locality Enhancement with an educational resource covering compiler optimization, memory hierarchy, and techniques for improving computer program performance. Understand how program transformations enhance cache utilization, reduce memory access delays, and improve execution efficiency in modern computing systems. Discover essential concepts including cache memory organization, data locality, temporal and spatial locality, loop transformations, loop interchange, loop tiling, loop fusion, loop unrolling, memory access optimization, and compiler-based performance enhancement. Learn how code restructuring techniques improve cache efficiency and optimize data processing in high-performance computing applications. Ideal for computer science students, software engineers, compiler researchers, and computer architecture learners. This resource supports university coursework, programming studies, independent research, and examination preparation in compiler design, computer architecture, and performance optimization.Cache Locality Optimization

Vista previa del contenido

Program Transformations for Cache Locality Enhancement
on Shared-memory Multiprocessors




by




Naraig Manjikian




A thesis submitted in conformity with the requirements
for the degree of Doctor of Philosophy
Graduate Department of Electrical and Computer Engineering
University of Toronto




c Copyright by Naraig Manjikian 1997

, Abstract
Program Transformations for Cache Locality Enhancement
on Shared-memory Multiprocessors

Naraig Manjikian
Doctor of Philosophy
Graduate Department of Electrical and Computer Engineering
University of Toronto
1997

This dissertation proposes and evaluates compiler techniques that enhance cache locality

and consequently improve the performance of parallel applications on shared-memory multi-

processors. These techniques target applications with loop-level parallelism that can be detected

and exploited automatically by a compiler. Novel program transformations are combined with

appropriate loop scheduling in order to exploit data reuse while maintaining parallelism and

avoiding cache conflicts.

First, this dissertation proposes the shift-and-peel transformation for enabling loop fusion

and exploiting reuse across parallel loops. The shift-and-peel transformation overcomes depen-

dence limitations that have previously prevented loops from being fused legally, or prevented

legally-fused loops from being parallelized. Therefore, this transformation exploits all reuse

across loops without loss of parallelism.

Second, this dissertation describes and evaluates adaptations of static loop scheduling

strategies to exploit wavefront parallelism while ensuring locality in tiled loops. Wavefront

parallelism results when tiling is enabled by combining the shift-and-peel transformation with

loop skewing. Proper scheduling exploits both intratile and intertile data reuse when indepen-

dent tiles are executed in parallel on a large number of processors.


ii

, Third, this dissertation proposes cache partitioning for preventing cache conflicts between

data from different arrays, especially when exploiting reuse across loops. Specifically, cache

partitioning prevents frequently-recurring conflicts in loops with compatible data access pat-

terns. Cache partitioning transforms the data layout such that there are no conflicts for reused

data from different arrays during loop execution.

An analytical model is also presented to assess the potential benefit of locality enhancement.

This model estimates the expected reduction in execution time by parameterizing the reduction

in the number of memory accesses with locality enhancement and the contribution of memory

accesses towards execution time.

Experimental results show that the proposed techniques improve parallel performance

by 20%-60% for representative applications on contemporary multiprocessors. The results

also show that significant improvements are obtained in conjunction with other performance-

enhancing techniques such as prefetching. The importance of the techniques described in this

dissertation will continue to increase as processor performance continues to increase more

rapidly than memory performance.




iii

, Acknowledgements

First and foremost, I would like to thank my supervisor, Dr. Tarek S. Abdelrahman. For
five years, he has maintained the right balance between providing close supervision and giving
me the freedom to pursue my ideas, and he has given me much-appreciated encouragement and
advice along the path of graduate studies. His attention to my work ultimately helped ensure
its final quality.
I would also like to thank the members of my examination committee, Dr. David A. Padua,
Dr. Zvonko G. Vranesic, Dr. Kenneth C. Sevcik, Dr. Todd C. Mowry, and Dr. Stephen D.
Brown, for their careful reading and critical evaluation of my dissertation.
Access to the multiprocessor systems used in this research was provided by the University
of Michigan Center for Parallel Computing. In particular, I would like to acknowledge the
assistance of Andrew Caird of the Center of Parallel Computing.
I am grateful for the financial support that I have received during the course of my doctoral
studies. I have been supported by a Postgraduate Scholarship from the Natural Sciences and
Engineering Research Council of Canada, a University of Toronto Open Doctoral Fellowship,
and a V. L. Henderson Memorial Fellowship. Additional financial support for this research was
provided by the Natural Sciences and Engineering Research Council, and by the Information
Technology Research Centre of Ontario.
I am also grateful for the opportunity to have participated in the NUMAchine Multiprocessor
Project at the University of Toronto. I would like to thank the faculty, staff, and students involved
in the NUMAchine Project for providing me with a rewarding experience.
I would like to thank the members of my extended family for their kindness and support,
and for always providing me with a home away from home during the entire course of my
university education.
To my parents, Hagop and Dirouhie, my brother, Sevak, and my sister, Lalai, words alone
cannot convey my heartfelt gratitude. Despite my long absences, you supported all of my
scholarly endeavors. You accepted the importance of my education, and you respected my
decisions, although you gave me advice so that my direction was always clear. Let us always
celebrate our successes together.



iv

Información del documento

Subido en
21 de noviembre de 2026
Número de páginas
187
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$19.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Maliah
3.6
(18)
Vendido
93
Seguidores
39
Artículos
2106
Última venta
14 horas hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes