Memory management in NUMA multicore systems
Authors:
Open Access
- 4 June 2011
- journal article
- conference paper
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 46 (11) , 11-20
Abstract
Multiprocessors based on processors with multiple cores usually include a non-uniform memory architecture (NUMA); even current 2-processor systems with 8 cores exhibit non-uniform memory access times. As the cores of a processor share a common cache, the issues of memory management and process mapping must be revisited. We find that optimizing only for data locality can counteract the benefits of cache contention avoidance and vice versa. Therefore, system software must take both data locality and cache contention into account to achieve good performance, and memory management cannot be decoupled from process scheduling. We present a detailed analysis of a commercially available NUMA-multicore architecture, the Intel Nehalem. We describe two scheduling algorithms: maximum-local, which optimizes for maximum data locality, and its extension, N-MASS , which reduces data locality to avoid the performance degradation caused by cache contention. N-MASS is fine-tuned to support memory management on NUMA-multicores and improves performance up to 32%, and 7% on average, over the default setup in current Linux implementations.Keywords
This publication has 25 references indexed in Scilit:
- Contention-Aware Scheduling on Multicore SystemsACM Transactions on Computer Systems, 2010
- Contention aware execution2010
- Addressing shared resource contention in multicore processors via scheduling2010
- Comparing cache architectures and coherency protocols on x86-64 multicore SMP systems2009
- NUMA-aware memory manager with dominant-thread-based copying GC2009
- Producing wrong data without doing anything obviously wrong!2009
- Hardware monitors for dynamic page migrationJournal of Parallel and Distributed Computing, 2008
- Efficient operating system scheduling for performance-asymmetric multi-core architectures2007
- Operating system support for improving data locality on CC-NUMA compute servers1996
- Locality and Loop Scheduling on NUMA Multiprocessors1993