A Generic Checkpoint-Restart Mechanism for Virtual Machines

12/08/2012
by   Rohan Garg, et al.
0

It is common today to deploy complex software inside a virtual machine (VM). Snapshots provide rapid deployment, migration between hosts, dependability (fault tolerance), and security (insulating a guest VM from the host). Yet, for each virtual machine, the code for snapshots is laboriously developed on a per-VM basis. This work demonstrates a generic checkpoint-restart mechanism for virtual machines. The mechanism is based on a plugin on top of an unmodified user-space checkpoint-restart package, DMTCP. Checkpoint-restart is demonstrated for three virtual machines: Lguest, user-space QEMU, and KVM/QEMU. The plugins for Lguest and KVM/QEMU require just 200 lines of code. The Lguest kernel driver API is augmented by 40 lines of code. DMTCP checkpoints user-space QEMU without any new code. KVM/QEMU, user-space QEMU, and DMTCP need no modification. The design benefits from other DMTCP features and plugins. Experiments demonstrate checkpoint and restart in 0.2 seconds using forked checkpointing, mmap-based fast-restart, and incremental Btrfs-based snapshots.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/17/2018

Comparative Study of Virtual Machines and Containers for DevOps Developers

In this work, we plan to develop a system to compare virtual machines wi...
research
01/28/2018

Virtual Breakpoints for x86/64

Efficient, reliable trapping of execution in a program at the desired lo...
research
05/26/2020

Study of Firecracker MicroVM

Firecracker is a virtualization technology that makes use of Kernel Virt...
research
01/30/2019

Writing User Space Network Drivers

The rise of user space packet processing frameworks like DPDK and netmap...
research
04/27/2019

The Ideal Versus the Real: Revisiting the History of Virtual Machines and Containers

The common perception in both academic literature and the industry today...
research
01/30/2019

User Space Network Drivers

The rise of user space packet processing frameworks like DPDK and netmap...
research
02/24/2021

AwkwardForth: accelerating Uproot with an internal DSL

File formats for generic data structures, such as ROOT, Avro, and Parque...

Please sign up or login with your details

Forgot password? Click here to reset