Optimizing virtual machine consolidation performance on NUMA server architecture for cloud workloads
Authors:
Open Access
- 14 June 2014
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM SIGARCH Computer Architecture News
- Vol. 42 (3) , 325-336
Abstract
Server virtualization and workload consolidation enable multiple workloads to share a single physical server, resulting in significant energy savings and utilization improvements. The shift of physical server architectures to NUMA and the increasing popularity of scale-out cloud applications undermine workload consolidation efficiency and result in overall system degradation. In this work, we characterize the consolidation of cloud workloads on NUMA virtualized systems, estimate four different sources of architecture overhead, and explore optimization opportunities beyond the default NUMA-aware hypervisor memory management Motivated by the observed architectural impact on cloud workload consolidation performance, we propose three optimization techniques incorporating NUMA access overhead into the hypervisor's virtual machine memory allocation and page fault handling routines. Among these, estimation of the memory zone access overhead serves as a foundation for the other two techniques: a NUMA overhead aware buddy allocator and a P2M swap FIFO. Cache hit rate, cycle loss due to cache miss, and IPC serve as indicators to estimate the access cost of each memory node. Our optimized buddy allocator dynamically selects low-overhead memory zones and "proportionally" distributes memory pages across target nodes. The P2M swap FIFO records recently unused PFN, MFN lists for mapping exchanges to rebalance memory access pressure within one domain. Our real system based evaluations show a 41.1% performance improvement when consolidating 16-VMs on a 4- socket server (the proposed allocator contributes 22.8% of the performance gain and the P2M swap FIFO accounts for the rest). Furthermore, our techniques can cooperate well with other methods (i.e. vCPU migration) and scale well when varying VM memory size and the number of sockets in a physical hostKeywords
Funding Information
- National Science Foundation (1320100, 845721)
This publication has 14 references indexed in Scilit:
- Efficient virtual memory for big memory servers2013
- STREX2013
- Traffic management2013
- Optimizing virtual machine scheduling in NUMA multicore systems2013
- Clearing the clouds2012
- Performance Evaluation of HPC Benchmarks on VMware’s ESXi ServerLecture Notes in Computer Science, 2012
- Benchmarking cloud serving systems with YCSB2010
- Addressing shared resource contention in multicore processors via scheduling2010
- Xen and the art of virtualization2003
- Disco1997