STATSHARE: A Statistical Model for Managing Cache Sharing via Decay

Pavlos Petoumenos, Georgios Keramidas, Hakan Zeffer, Stefanos Kaxiras, Erik Hagersten

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

As CMPs are emerging as the dominant architecture for a wide range of platforms (from embedded systems and game consoles, to PCs, and to servers) the need to manage on-chip resources becomes a necessity. In this paper we examine the management of on-chip shared caches. Our paper offers two major contributions. First, we propose a new statistical model of a shared cache that can be fed with run-time information: reuse-distance information for thread accesses. Our model, called StatShare, accurately describes the behavior of the sharing threads, helps us understand which threads can be “compressed” into less space without perceptible damage, and how effectively each thread uses its space. Second, we propose a mechanism to manage the cache at a very fine level, at the cache-line granularity. Our mechanism is inspired by cache decay, but with some important differences. Decayed cache-lines are not turned-off to save leakage but rather they are “available for replacement.” Decay modifies the underlying replacement policy (random, LRU), to enforce our high-level policy decisions but in a very flexible and non-strict way. The statistical model allows us to assess a thread’s cache behavior under decay. Using this information we can then apply high-level policies such as policies that try to minimize the global miss-rate, or maximize the “usefulness” of the cache real estate, or even custom spaceallocation policies according to external QoS needs. To evaluate our approach we have implemented StatShare in a CMP simulator. Our results show that: i) managing sharing via decay outperforms coarse-grain partitioning schemes, ii) StatShare can yield run-time information to allow high-level policies to control decay.
Original languageEnglish
Title of host publicationWorkshop on Modeling, Benchmarking and Simulation MoBS 2006
Number of pages10
Publication statusPublished - 2006

Fingerprint

Dive into the research topics of 'STATSHARE: A Statistical Model for Managing Cache Sharing via Decay'. Together they form a unique fingerprint.

Cite this