CacheScouts: Fine-Grain Monitoring of Shared Caches in CMP Platforms
Authors:
- 1 September 2007
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE) in 16th International Conference on Parallel Architecture and Compilation Techniques (PACT 2007)
- No. 1089795X,p. 339-352
Abstract
As multi-core architectures flourish in the marketplace, multi-application workload scenarios (such as server consolidation) are growing rapidly. When running multiple applications simultaneously on a platform, it has been shown that contention for shared platform resources such as last-level cache can severely degrade performance and quality of service (QoS). But today's platforms do not have the capability to monitor shared cache usage accurately and disambiguate its effects on the performance behavior of each individual application. In this paper, we investigate low-overhead mechanisms for fine-grain monitoring of the use of shared cache resources along three vectors: (a) occupancy - how much space is being used and by whom, (b) interference - how much contention is present and who is being affected and (c) sharing - how are threads cooperating. We propose the CacheScouts monitoring architecture consisting of novel tagging (software-guided monitoring IDs), and sampling mechanisms (set sampling) to achieve shared cache monitoring on per application basis at low overhead (<0.1%) and with very little loss of accuracy (<5%). We also present case studies to show how CacheScouts can be used by operating systems (OS) and virtual machine monitors (VMMs) for (a) characterizing execution profiles, (b) optimizing scheduling for performance management, (c) providing QoS and (d) metering for chargeback.Keywords
This publication has 10 references indexed in Scilit:
- Communist, utilitarian, and capitalist cache policies on CMPs2006
- Architectural support for operating system-driven CMP cache management2006
- Data Sharing Conscious Scheduling for Multi-threaded Applications on SMP MachinesLecture Notes in Computer Science, 2006
- Niagara: A 32-Way Multithreaded Sparc ProcessorIEEE Micro, 2005
- Intel virtualization technologyComputer, 2005
- Predicting Inter-Thread Cache Contention on a Chip Multi-Processor Architecture2005
- Fair cache sharing and partitioning in a chip multiprocessor architecture2004
- CQoS2004
- A new memory monitoring scheme for memory-aware scheduling and partitioning2004
- A comparison of trace-sampling techniques for multi-megabyte cachesIEEE Transactions on Computers, 1994