Optimizing virtual machine scheduling in NUMA multicore systems
Authors:
- 1 February 2013
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 15300897,p. 306-317
Abstract
An increasing number of new multicore systems use the Non-Uniform Memory Access architecture due to its scalable memory performance. However, the complex interplay among data locality, contention on shared on-chip memory resources, and cross-node data sharing overhead, makes the delivery of an optimal and predictable program performance difficult. Virtualization further complicates the scheduling problem. Due to abstract and inaccurate mappings from virtual hardware to machine hardware, program and system-level optimizations are often not effective within virtual machines. We find that the penalty to access the “uncore” memory subsystem is an effective metric to predict program performance in NUMA multicore systems. Based on this metric, we add NUMA awareness to the virtual machine scheduling. We propose a Bias Random vCPU Migration (BRM) algorithm that dynamically migrates vCPUs to minimize the system-wide uncore penalty. We have implemented the scheme in the Xen virtual machine monitor. Experiment results on a two-way Intel NUMA multicore system with various workloads show that BRM is able to improve application performance by up to 31.7% compared with the default Xen credit scheduler. Moreover, BRM achieves predictable performance with, on average, no more than 2% runtime variations.Keywords
This publication has 27 references indexed in Scilit:
- Clearing the clouds2012
- Contention-Aware Scheduling on Multicore SystemsACM Transactions on Computer Systems, 2010
- Addressing shared resource contention in multicore processors via schedulingACM SIGARCH Computer Architecture News, 2010
- Does cache sharing on modern CMP matter to the performance of contemporary multithreaded programs?ACM SIGPLAN Notices, 2010
- QoS policies and architecture for cache/memory in CMP platforms2007
- Thread clustering2007
- A Case for MLP-Aware Cache Replacement2006
- Impact of sharing-based thread placement on multithreaded architectures2002
- The Performance Implications of Locality Information Usage in Shared-Memory MultiprocessorsJournal of Parallel and Distributed Computing, 1996
- The NAS parallel benchmarks---summary and preliminary results1991