Cache performance analysis of algorithms

作者: Richard Ladner , James Douglas Fix

DOI:

关键词:

摘要: How effectively a program uses the memory hierarchy of computer system can have tremendous impact on its performance. The failure to access data in cache memory, hence need that main has cost up 100 cycles today's systems, penalty is expected rise with future systems. As result much recent algorithm design research been conscious cache, and focused effective use. Understanding behavior when developing algorithms crucial such research. We develop performance analysis whose primary goal determine number hits misses an incurs. We view as combination basic patterns, analyze each pattern's performance, apply accurately predict algorithm. Our precise: we pay attention constant factors quantify for even moderate sizes. caching model realistic: our pattern models direct-mapped caches limited degree set-associativity. For certain patterns arise accessing common structures, demonstrate prove set-associativity yields little or no benefit over caching.

参考文章(53)
Richard E. Ladner, Anthony George Lamarca, Caches and algorithms University of Washington. ,(1996)
Edward Grady Coffman, Peter J Denning, None, Operating Systems Theory Prentice Hall Professional Technical Reference. ,(1973)
Jeffrey S. Vitter, External Memory Algorithms: Dealing With Massive Data Defense Technical Information Center. ,(2002) , 10.21236/ADA415374
Michael Wolfe, Iteration Space Tiling for Memory Hierarchies siam conference on parallel processing for scientific computing. pp. 357- 361 ,(1987)
John E. Savage, Extending the Hong-Kung Model to Memory Hierarchies computing and combinatorics conference. pp. 270- 281 ,(1995) , 10.1007/BFB0030842
Peter Sanders, Accessing Multiple Sequences Through Set Associative Caches Untitled Event. pp. 655- 664 ,(1999)
Alok Aggarwal, Jeffrey Scott Vitter, The I/O Complexity of Sorting and Related Problems (Extended Abstract) international colloquium on automata languages and programming. pp. 467- 478 ,(1987) , 10.1007/3-540-18088-5_40
John L. Hennessy, David A. Patterson, Computer Architecture: A Quantitative Approach ,(1989)
Robert W. Floyd, Permuting Information in Idealized Two-Level Storage Complexity of Computer Computations. pp. 105- 109 ,(1972) , 10.1007/978-1-4684-2001-2_10
Matteo Frigo, Charles E. Leiserson, Portable High-Performance Programs Massachusetts Institute of Technology. ,(1999)