CINXE.COM

TY - JFULL AU - Abdulrahman K. Alshegaifi and Chun-Hsi Huang PY - 2016/5/ TI - Impact of Stack Caches: Locality Awareness and Cost Effectiveness T2 - International Journal of Electrical and Computer Engineering SP - 544 EP - 551 VL - 10 SN - 1307-6892 UR - https://publications.waset.org/pdf/10004328 PU - World Academy of Science, Engineering and Technology NX - Open Science Index 112, 2016 N2 - Treating data based on its location in memory has received much attention in recent years due to its different properties, which offer important aspects for cache utilization. Stack data and non-stack data may interfere with each other’s locality in the data cache. One of the important aspects of stack data is that it has high spatial and temporal locality. In this work, we simulate non-unified cache design that split data cache into stack and non-stack caches in order to maintain stack data and non-stack data separate in different caches. We observe that the overall hit rate of non-unified cache design is sensitive to the size of non-stack cache. Then, we investigate the appropriate size and associativity for stack cache to achieve high hit ratio especially when over 99% of accesses are directed to stack cache. The result shows that on average more than 99% of stack cache accuracy is achieved by using 2KB of capacity and 1-way associativity. Further, we analyze the improvement in hit rate when adding small, fixed, size of stack cache at level1 to unified cache architecture. The result shows that the overall hit rate of unified cache design with adding 1KB of stack cache is improved by approximately, on average, 3.9% for Rijndael benchmark. The stack cache is simulated by using SimpleScalar toolset. ER -