DocumentCode :
2817395
Title :
Memory forwarding: enabling aggressive layout optimizations by guaranteeing the safety of data relocation
Author :
Luk, Chi-Keung ; Mowry, Todd C.
Author_Institution :
Dept. of Comput. Sci., Toronto Univ., Ont., Canada
fYear :
1999
fDate :
1999
Firstpage :
88
Lastpage :
99
Abstract :
By optimizing data layout at run-time, we can potentially enhance the performance of caches by actively creating spatial locality, facilitating prefetching, and avoiding cache conflicts and false sharing. Unfortunately, it is extremely difficult to guarantee that such optimizations are safe in practice on today´s machines, since accurately updating all pointers to an object requires perfect alias information, which is well beyond the scope of the compiler for languages such as C. To overcome this limitation, we propose a technique called memory forwarding which effectively adds a new layer of indirection within the memory system whenever necessary to guarantee that data relocation is always safe. Because actual forwarding rarely occurs (it exists as a safety net), the mechanism can be implemented as an exception in modern superscalar processors. Our experimental results demonstrate that the aggressive layout optimizations enabled by memory forwarding can result in significant speedups-more than twofold in some cases-by reducing the number of cache misses, improving the effectiveness of prefetching, and conserving memory bandwidth
Keywords :
cache storage; memory architecture; performance evaluation; aggressive layout optimizations; caches; data relocation; memory forwarding; performance; prefetching; spatial locality; Bandwidth; Computer science; Delay; Electrical capacitance tomography; Hardware; Prefetching; Runtime; Safety;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Architecture, 1999. Proceedings of the 26th International Symposium on
Conference_Location :
Atlanta, GA
ISSN :
1063-6897
Print_ISBN :
0-7695-0170-2
Type :
conf
DOI :
10.1109/ISCA.1999.765942
Filename :
765942
Link To Document :
بازگشت