Overall Objectives
Research Program
Application Domains
New Software and Platforms
New Results
Bilateral Contracts and Grants with Industry
Partnerships and Cooperations
XML PDF e-pub
PDF e-Pub

Section: New Results

Effective Padding of Multidimensional Arrays to Avoid Cache Conflict Misses

Participants : Changwan Hong [OSU, USA] , Wenlei Bao [OSU, USA] , Albert Cohen [Inria PARKAS] , Sriram Krishnamoorthy [PNNL, USA] , Louis-Noel Pouchet [CSU, USA] , Fabrice Rastello, J. Ramanujam [LSU, USA] , P. Sadayappan [OSU, USA] .

Caches are used to significantly improve performance. Even with high degrees of set associativity, the number of accessed data elements mapping to the same set in a cache can easily exceed the degree of associativity. This can cause conflict misses and lower performance, even if the working set is much smaller than cache capacity. Array padding (increasing the size of array dimensions) is a well-known optimization technique that can reduce conflict misses. In this work, we develop the first algorithms for optimal padding of arrays aimed at a set-associative cache for arbitrary tile sizes. In addition, we develop the first solution to padding for nested tiles and multi-level caches. Experimental results with multiple benchmarks demonstrate a significant performance improvement from padding.

This work is the fruit of the collaboration 8.4 with OSU. It has been presented at the ACM international conference PLDI 2016 [29].