2010 · 214 citations · 21 references
EngineeringComputer EngineeringComputer ScienceParallel AlgorithmsParallel ComputingSchedulingCpu SchedulingLatency OptimizationMemory HierarchyMulticore Processor DesignParallel Computing SystemsShared-memory MultiprocessingContention ManagementContention-aware SchedulingMulticore ArchitecturesMulticore SystemsNon-uniform Memory AccessRemote Access LatencyResource ContentionShared Resource Contention
On multicore systems contention for shared resources occurs when memory-intensive threads are co-scheduled on cores that share parts of the memory hierarchy, such as last-level caches and memory controllers. Previous work investigated how contention could be addressed via scheduling. A contention-aware scheduler separates competing threads onto separate memory hierarchy domains to eliminate resource sharing and, as a consequence, mitigate contention. However, all previous work on contention-aware scheduling assumed that the underlying system is UMA (uniform memory access latencies, single memory controller). Modern multicore systems, however, are NUMA, which means that they feature non-uniform memory access latencies and multiple memory controllers. We discovered that contention management is a lot more difficult on NUMA systems, because the scheduler must not only consider the placement of threads, but also the placement of their memory. This is mostly required to eliminate contention for memory controllers contrary to the popular belief that remote access latency is the dominant concern. In this work we quantify the effects on performance imposed by resource contention and remote access latency. This analysis inspires the design of a contention-aware scheduling algorithm for NUMA systems. This algorithm significantly outperforms a NUMA-unaware algorithm proposed before as well as the default Linux scheduler. We also investigate memory migration strategies, which are the necessary part of the NUMA contention-aware scheduling algorithm. Finally, we propose and evaluate a new contention management algorithm that is priority-aware.
21
Chi-Keung Luk, Robert Cohn, Robert Muth et al. · ACM SIGPLAN Notices · 2005 · 3.2K citations
James Laudon, Daniel Lenoski · 1997 · 779 citations · Full text
David Tam, Reza Azimi, Michael Stumm · 2007 · 250 citations