CPSLab Cyber-Physical Systems Lab, Boston University

Publications Real-Time Virtualization

A Real-Time virtio-based Framework for Predictable Inter-VM Communication

Gero Schwaricke, Rohan Tabish, Rodolfo Pellizzoni, Renato Mancuso, Andrea Bastoni, Alexander Zuepke, Marco Caccamo

42nd IEEE Real-Time Systems Symposium (RTSS 2021), December 2021, Dortmund, Germany

Read the PDF Publisher page (DOI) Code and artifacts Cite

Fig. 1. Proposed system architecture for a system with m processor cores. VM-to-VM communication is mediated by a Broker VM that coordinates DMA transfers. VMs memory is partitioned using cache-coloring.

Abstract

Ensuring real-time properties on current heterogeneous multiprocessor systems on a chip is a challenging task. Furthermore, online artificial intelligent applications –which are routinely deployed on such chips– pose increasing pressure on the memory subsystem that becomes a source of unpredictability. Although techniques have been proposed to restore independent access to memory for concurrently executing virtual machines (VM), providing predictable inter-VM communication remains challenging. In this work, we tackle the problem of predictably transferring data between virtual machines and virtualized hardware resources on multiprocessor systems on chips under consideration of memory interference. We design a “broker-based” real-time communication framework for otherwise isolated virtual machines, provide a virtio-based reference implementation on top of the Jailhouse hypervisor, assess its overheads for FreeRTOS virtual machines, and formally analyze its communication flow schedulability under consideration of the implementation overheads. Furthermore, we define a methodology to assess the maximum DRAM memory saturation empirically, evaluate the framework’s performance and compare it with the theoretical schedulability.

Code and hardware artifacts

Cite this paper

@inproceedings{virtio_rtss21,
  title     = {{A Real-Time virtio-based Framework for Predictable Inter-VM Communication}},
  author    = {Schwaricke, Gero and Tabish, Rohan and Pellizzoni, Rodolfo and Mancuso, Renato and Bastoni, Andrea and Zuepke, Alexander and Caccamo, Marco},
  booktitle = {42nd IEEE Real-Time Systems Symposium (RTSS 2021)},
  year      = 2021,
  month     = dec,
  pages     = {27--40},
  address   = {Dortmund, Germany},
  doi       = {10.1109/RTSS52674.2021.00015},
  url       = {https://doi.org/10.1109/RTSS52674.2021.00015}
}

Download .bib