Modeling performance variation due to cache sharing
Andreas Sandberg, Andreas Sembrant, Erik Hägersten et al. · Proceedings - International Symposium on High-Performance Computer Architecture/Proceedings · 2013
Shared cache contention can cause significant variability in the performance of co-running applications from run to run. This variability arises from different overlappings of the applications' phases, which can be the result of offsets in application start times or other delays in the system. Understanding this variability is important for generating an accurate view of the expected impact of cache contention. However, variability effects are typically ignored due to the high overhead of modeling or simulating the many executions needed to expose them. This paper introduces a method for efficiently investigating the performance variability due to cache contention. Our method relies on input data captured from native execution of applications running in isolation and a fast, phase-aware, cache sharing performance model. This allows us to assess the performance interactions and bandwidth demands of co-running applications by quickly evaluating hundreds of overlappings. We evaluate our method on a contemporary multicore machine and show that performance and bandwidth demands can vary significantly across runs of the same set of co-running applications. We show that our method can predict application slowdown with an average relative error of 0.41% (maximum 1.8%) as well as bandwidth consumption. Using our method, we can estimate an application pair's performance variation 213× faster, on average, than native execution.
Cited by 42 works. doi:10.1109/hpca.2013.6522315
Authors
References
- Pattern Classification
- Automatically characterizing large scale program behavior
- The M5 Simulator: Modeling Networked Systems
- Basic Block Distribution Analysis to Find Periodic Behavior and Simulation Points in Applications
- Utility-Based Cache Partitioning: A Low-Overhead, High-Performance, Runtime Mechanism to Partition Shared Caches
- Predicting Inter-Thread Cache Contention on a Chip Multi-Processor Architecture
- Phase tracking and prediction
- Addressing shared resource contention in multicore processors via scheduling
- Basic block distribution analysis to find periodic behavior and simulation points in applications
- Gaining insights into multicore cache partitioning: Bridging the gap between simulation and real systems