My VM is Lighter (and Safer) than your Container

This paper presents LightVM, a new virtualization solution based on Xen that is optimized to offer fast boot-times regardless of the number of active VMs.

Motivations

Containers are lightweight compared to virtual machines but offers weaker isolation than VMs. Can we have the improved isolation of VMs, with the efficiency of containers?

Solution

The goal is to offer fast boot-times regardless of the number of active VMs.

Unikernel and Tinyx build system

noxs, a distributed implementation of Xen’s centralized toolstack architecture based on the XenStore

Evaluation

A performance evaluation of LightVM with comparisons to standard Xen and, where applica- ble, Docker containers are presented using three different type of guests: Mini-OS-based unikernels, Tinyx images, and a Debian VM.

Comments

Based on the observation that most containers and virtual machines run a single application, the authors managed to use VMs with minimal functionality to reduce both the image size and the memory footprint of virtual machines. This is a nice catch and a good example of making trade-offs.