A Fairness Conscious Cache Replacement Policy for Last Level Cache

Kousik Kumar Duttaa, Prathamesh Nitin Tanksaleb and Shirshendu Dasc
Department of CSE Indian Institute of Technology Ropar, Punjab, India
a2021csm1018@iitrpr.ac.in
b2021csm1017@iitrpr.ac.in
cshirshendu@iitrpr.ac.in

ABSTRACT


Multicore systems with shared Last Level Cache (LLC) possess a bigger challenge in allocating the LLC space among multiple applications running in the system. Since all applications use the shared LLC, interference caused by them may evict important blocks of other applications that result in premature eviction and may also lead to thrashing. Replacement policies applied locally to a set distributes the sets in a dynamic way among the applications. However, previous work on replacement techniques focused on the re-reference aspect of a block or application behavior to improve the overall system performance. The paper proposes a novel cache replacement technique Application Aware Re-reference Interval Prediction (AARIP) that considers application behavior, re-reference interval, and premature block eviction for replacing a cache block. Experimental evaluation on a four-core system shows that AARIP achieves an overall performance improvement of 7:28%, throughput by 4:9%, and improves overall system fairness by 7:85%, as compared to the traditional SRRIP replacement policy.

Keywords: Last Level Cache, Replacement Policy, Application Behavior, Re-reference Interval.



Full Text (PDF)