A software memory partition approach for eliminating bank-level interference in multicore systems
Authors:
Open Access
- 19 September 2012
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 367-376
Abstract
Main memory system is a shared resource in modern multicore machines, resulting in serious interference, which causes performance degradation in terms of throughput slowdown and unfairness. Numerous new memory scheduling algorithms have been proposed to address the interference problem. However, these algorithms usually employ complex scheduling logic and need hardware modification to memory controllers, as a result, industrial venders seem to have some hesitation in adopting them. This paper presents a practical software approach to effectively eliminate the interference without hardware modification. The key idea is to modify the OS memory management subsystem to adopt a page-coloring based bank-level partition mechanism (BPM), which allocates specific DRAM banks to specific cores (threads). By using BPM, memory controllers can passively schedule memory requests in a core-cluster (or thread-cluster) way. We implement BPM in Linux 2.6.32.15 kernel and evaluate BPM on 4-core and 8-core real machines by running randomly generated 20 multi-programmed workloads (each contains 4/8 benchmarks) and multi-threaded benchmark. Experimental results show that BPM can improve the overall system throughput by 4.7% on average (up to 8.6%), and reduce the maximum slowdown by 4.5% on average (up to 15.8%). Moreover, BPM also saves 5.2% of the energy consumption of memory system.Keywords
This publication has 27 references indexed in Scilit:
- Scaling the bandwidth wall2009
- Enhancing operating system support for multicore processors by using hardware performance monitoringACM SIGOPS Operating Systems Review, 2009
- HMTT2008
- Memory scheduling for modern microprocessorsACM Transactions on Computer Systems, 2007
- QoS policies and architecture for cache/memory in CMP platforms2007
- Managing Distributed, Shared L2 Caches through OS-Level Page Allocation40th Annual IEEE/ACM International Symposium on Microarchitecture (MICRO 2007), 2006
- Dynamic Partitioning of Shared Cache MemoryThe Journal of Supercomputing, 2004
- A permutation-based page interleaving scheme to reduce row-buffer conflicts and exploit data locality2000
- Memory access scheduling2000
- Optimal partitioning of cache memoryIEEE Transactions on Computers, 1992