DocumentCode
2445994
Title
Affinity-Aware Dynamic Pinning Scheduling for Virtual Machines
Author
Li, Zhi ; Bai, Yuebin ; Zhang, Huiyong ; Ma, Yao
Author_Institution
Beijing Key Lab. of Network Technol., BeiHang Univ., Beijing, China
fYear
2010
fDate
Nov. 30 2010-Dec. 3 2010
Firstpage
242
Lastpage
249
Abstract
Virtualization provides an effective management in server consolidation. The transparence enables different kinds of servers running in the same platform, making full use of hardware resource. However, virtualization introduces two-level schedulers: one from Guest OS, where the tasks are scheduled to virtual CPUs (VCPUs), the other from the virtual machine monitor (VMM), where VCPUs are scheduled to CPUs. As a result, the lower level scheduler is ignorant of the task information so that it cannot allocate appropriate proportion of CPU resource for every Guest OS in some cases. This paper presents an affinity-aware Dynamic Pinning Scheduling scheduler (DP-Scheduling). We aim at two objects: Bridging the semantic gap between Guest OS and VMM, introducing an affinity-aware method and providing the tasks information about CPU affinity to VMM, Bringing up a novel scheduling, DP-Scheduling, so that VCPU can be pinned or unpinned on one CPU´s running queue dynamically. For this purpose, we first get the Machine Address (MA) of process descriptor from the angle of VMM. The affinity information is also acquired before the task is enabled to run. To acknowledge the affinity information, DP-Scheduling calls an API provided by us. Depending on the affinity information, we put forward a series of measures to implement pinning dynamically as well as to keep workload balance. All implementation is confined to Xen VMM and Credit scheduler. Our experiments demonstrate that DP-Scheduling outperforms Credit scheduling by testing various indicators for CPU-bound tasks, without interfering the load balance.
Keywords
application program interfaces; processor scheduling; resource allocation; virtual machines; API; Guest OS; affinity aware dynamic pinning scheduling; credit scheduler; load balance; machine address; virtual CPU; virtual machine monitor; Dynamic scheduling; Hardware; Memory management; Processor scheduling; Program processors; Servers;
fLanguage
English
Publisher
ieee
Conference_Titel
Cloud Computing Technology and Science (CloudCom), 2010 IEEE Second International Conference on
Conference_Location
Indianapolis, IN
Print_ISBN
978-1-4244-9405-7
Electronic_ISBN
978-0-7695-4302-4
Type
conf
DOI
10.1109/CloudCom.2010.51
Filename
5708457
Link To Document