ACM SIGOPS Operating Systems Review · 2009 · 79 citations · 38 references
ComputingComputer EngineeringComputer ScienceHardware-software Co-designOperating SystemsParallel ComputingCache Behavior AnalysisCachingMulticore Processor DesignPerformance Bottleneck AnalysisCache ContentionCache ManagementCache MonitoringCache PollutionMulticore ArchitecturesMulticore SystemsPerformance MonitoringSymmetric Multiprocessing
Multicore processors contain new hardware characteristics that are different from previous generation single-core systems or traditional SMP (symmetric multiprocessing) multiprocessor systems. These new characteristics provide new performance opportunities and challenges. In this paper, we show how hardware performance monitors can be used to provide a fine-grained, closely-coupled feedback loop to dynamic optimizations done by a multicore-aware operating system. These multicore optimizations are possible due to the advanced capabilities of hardware performance monitoring units currently found in commodity processors, such as execution pipeline stall breakdown and data address sampling. We demonstrate three case studies on how a multicore-aware operating system can use these online capabilities for (1) determining cache partition sizes, which helps reduce contention in the shared cache among applications, (2) detecting memory regions with bad cache usage, which helps in isolating these regions to reduce cache pollution, and (3) detecting sharing among threads, which helps in clustering threads to improve locality. Using realistic applications from standard benchmark suites, the following performance improvements were achieved: (1) up to 27% improvement in IPC (instructions-per-cycle) due to cache partition sizing; (2) up to 10% reduction in cache miss rates due to reduced cache pollution, resulting in up to 7% improvement in IPC; and (3) up to 70% reduction in remote cache accesses due to thread clustering, resulting in up to 7% application-level improvement.
38
Evaluation techniques for storage hierarchies
R. L. Mattson, J. Gecsei, Donald R. Slutz et al. · IBM Systems Journal · 1970 · 1.3K citations
Predicting Inter-Thread Cache Contention on a Chip Multi-Processor Architecture
Dhruba Chandra, Fei Guo, Seongbeom Kim et al. · 2005 · 525 citations