Title :
Modeling Cache Sharing on Chip Multiprocessor Architectures
Author :
Petoumenos, Pavlos ; Keramidas, Georgios ; Zeffer, Håkan ; Kaxiras, Stefanos ; Hagersten, Erik
Author_Institution :
Dept. of Electr. & Comput. Eng., Patras Univ.
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, such as shared caches, becomes a necessity. In this paper we propose a new statistical model of a CMP shared cache which not only describes cache sharing but also its management via a novel fine-grain mechanism. Our model, called StatShare, accurately describes the behavior of the sharing threads using run-time information (reuse-distance information for memory accesses) and helps us understand how effectively each thread uses its space. The mechanism to manage the cache at the cache-line granularity is inspired by cache decay, but contains important differences. Decayed cache-lines are not turned-off to save leakage but are rather "available for replacement." Decay modifies the underlying replacement policy (random, LRU) to control sharing but in a very flexible and non-strict way which makes it superior to strict cache partitioning schemes (both fine and coarse grained). The statistical model allows us to assess a thread\´s cache behavior under decay. Detailed CMP simulations show that: i) StatShare accurately predicts the thread behavior in a shared cache, ii) managing sharing via decay (in combination with the StatShare run time information) can be used to enforce external QoS requirements or various high-level fairness policies
Keywords :
cache storage; memory architecture; microprocessor chips; multi-threading; multiprocessing systems; statistical analysis; CMP cache sharing; StatShare; cache decay; cache management; cache partitioning; cache-line granularity; chip multiprocessor architecture; statistical model; thread behavior; Application software; Computer architecture; Dynamic scheduling; Information technology; Predictive models; Resource management; Size measurement; Statistics; Time measurement; Yarn;
Conference_Titel :
Workload Characterization, 2006 IEEE International Symposium on
Conference_Location :
San Jose, CA
Print_ISBN :
1-4244-0508-4
Electronic_ISBN :
1-4244-0509-2
DOI :
10.1109/IISWC.2006.302740