Real-Time Multi-Core Virtual Machine Scheduling in Xen

被引:23
作者
Xi, Sisu [1 ]
Xu, Meng [2 ]
Lu, Chenyang [1 ]
Phan, Linh T. X. [2 ]
Gill, Christopher [1 ]
Sokolsky, Oleg [2 ]
Lee, Insup [2 ]
机构
[1] Washington Univ St Louis, Cyber Phys Syst Lab, St Louis, MO 63110 USA
[2] Univ Penn, Philadelphia, PA 19104 USA
来源
2014 INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE (EMSOFT) | 2014年
基金
美国国家科学基金会;
关键词
D O I
10.1145/2656045.2656061
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Recent years have witnessed two major trends in the development of complex real-time embedded systems. First, to reduce cost and enhance flexibility, multiple systems are sharing common computing platforms via virtualization technology, instead of being deployed separately on physically isolated hosts. Second, multicore processors are increasingly being used in real-time systems. The integration of real-time systems as virtual machines (VMs) atop common multicore platforms raises significant new research challenges in meeting the real-time performance requirements of multiple systems. This paper advances the state of the art in real-time virtualization by designing and implementing RTXen 2.0, a new real-time multicore VM scheduling framework in the popular Xen virtual machine monitor (VMM). RT-Xen 2.0 realizes a suite of real-time VM scheduling policies spanning the design space. We implement both global and partitioned VM schedulers; each scheduler can be configured to support dynamic or static priorities and to run VMs as periodic or deferrable servers. We present a comprehensive experimental evaluation that provides important insights into real-time scheduling on virtualized multicore platforms: (1) both global and partitioned VM scheduling can be implemented in the VMM at moderate overhead; (2) at the VMM level, while compositional scheduling theory shows partitioned EDF (pEDF) is better than global EDF (gEDF) in providing schedulability guarantees, in our experiments their performance is reversed in terms of the fraction of workloads that meet their deadlines on virtualized multicore platforms; (3) at the guest OS level, pEDF requests a smaller total VCPU bandwidth than gEDF based on compositional scheduling analysis, and therefore using pEDF at the guest OS level leads to more schedulable workloads in our experiments; (4) a combination of pEDF in the guest OS and gEDF in the VMM - configured with deferrable server - leads to the highest fraction of schedulable task sets compared to other real-time VM scheduling policies; and (5) on a platform with a shared last-level cache, the benefits of global scheduling outweigh the cache penalty incurred by VM migration.
引用
收藏
页数:10
相关论文
共 42 条
[1]  
Altmeyer S., 2012, REAL TIME SYSTEMS
[2]  
[Anonymous], 2009, REAL TIME SYSTEMS
[3]  
[Anonymous], 2005, HPL2005187
[4]  
Aswathanarayana T., 2005, RTAS
[5]  
Barham P., SOSP 2003
[6]  
Barush S., 2013, RTSS
[7]  
Bastoni A., 2010, RTSS
[8]  
Behnam M., 2007, EMSOFT
[9]  
Bini E., 2009, RTCSA
[10]  
Brandenburg B.B., 2009, RTSS