Real-time multi-core virtual machine scheduling in Xen

  • Sisu Xi
  • , Meng Xu
  • , Chenyang Lu
  • , Linh T.X. Phan
  • , Christopher Gill
  • , Oleg Sokolsky
  • , Insup Lee

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

91 Scopus citations

Abstract

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 RT-Xen 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 multi-core 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.

Original languageEnglish
Title of host publication2014 Proceedings of the International Conference on Embedded Software, EMSOFT 2014
PublisherAssociation for Computing Machinery
ISBN (Electronic)9781450330527
DOIs
StatePublished - Oct 12 2014
Event14th International Conference on Embedded Software, EMSOFT 2014 - New Delhi, India
Duration: Oct 12 2014Oct 17 2014

Publication series

Name2014 Proceedings of the International Conference on Embedded Software, EMSOFT 2014

Conference

Conference14th International Conference on Embedded Software, EMSOFT 2014
Country/TerritoryIndia
CityNew Delhi
Period10/12/1410/17/14

Fingerprint

Dive into the research topics of 'Real-time multi-core virtual machine scheduling in Xen'. Together they form a unique fingerprint.

Cite this