• DocumentCode
    190709
  • Title

    Real-time multi-core virtual machine scheduling in Xen

  • Author

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

  • Author_Institution
    Cuber-Phys. Syst. Lab., Washington Univ. in St. Louis, St. Louis, MO, USA
  • fYear
    2014
  • fDate
    12-17 Oct. 2014
  • Firstpage
    1
  • Lastpage
    10
  • 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 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 schedulab- e 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.
  • Keywords
    cache storage; embedded systems; multiprocessing systems; processor scheduling; virtual machines; virtualisation; RT-Xen 2.0 design; RT-Xen 2.0 implementation; VM migration; VMM level; Xen virtual machine monitor; cache penalty; common multicore platforms; complex real-time embedded system development; compositional scheduling analysis; compositional scheduling theory; computing platform sharing; computing platforms; cost reduction; deferrable servers; dynamic priorities; flexibility enhancement; gEDF; global EDF; global VM schedulers; global scheduling; guest OS level; moderate overhead; multicore processors; multiple systems; pEDF; partitioned EDF; partitioned VM schedulers; periodic servers; real-time VM scheduling policies; real-time multicore VM scheduling framework; real-time multicore virtual machine scheduling; real-time performance requirements; real-time virtualization; schedulable task sets; schedulable workloads; shared last-level cache; static priorities; total VCPU bandwidth; virtualization technology; virtualized multicore platforms; Abstracts; Analytical models; Concrete; Mathematical model; Measurement; Numerical models; Trajectory; Based Methods; CEGAR; Falsification; Hybrid Systems; Multiple Shooting; Simulation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Embedded Software (EMSOFT), 2014 International Conference on
  • Conference_Location
    Jaypee Greens
  • Type

    conf

  • DOI
    10.1145/2656045.2656061
  • Filename
    6986113