DocumentCode
566602
Title
Achieving maximum performance for matrix multiplication using set associative cache
Author
Ristov, Sasko ; Gusev, Marjan
Author_Institution
Fac. of Inf. Sci. & Comput. Eng., Ss. Cyril & Methodius Univ., Skopje, Macedonia
Volume
2
fYear
2012
fDate
24-26 April 2012
Firstpage
542
Lastpage
547
Abstract
This paper explains why there are performance drawbacks for matrix multiplication algorithm using associative cache memory. We give an overview of cache memory organization and theoretical analysis why performance drawback appears in matrix multiplication. We also provide a method to avoid situations where this performance drawback is significant and how to achieve maximum performance. The analyzed problem appears in storage of matrix columns and inefficient usage of cache where the matrix will always map onto a small group of same cache sets and initiate a significant number of cache misses. In this case it looks like the processor is using only a small group of cache sets instead of complete number of sets in associative memory where maximum performance can be achieved.
Keywords
Algorithm design and analysis; Associative memory; Cache memory; Computers; Equations; Mathematical model; Organizations; high performance computing; performance drawback; processor speed; shared memory multiprocessor; superlinear speedup;
fLanguage
English
Publisher
ieee
Conference_Titel
Computing Technology and Information Management (ICCM), 2012 8th International Conference on
Conference_Location
Seoul, Korea (South)
Print_ISBN
978-1-4673-0893-9
Type
conf
Filename
6268560
Link To Document