paper

OSv—Optimizing the Operating System for Virtual Machines

  • Authors:

📜 Abstract

Virtual machines in the cloud typically run existing general-purpose operating systems such as Linux. We notice that the cloud’s hypervisor already provides some features, such as isolation and hardware abstraction, which are duplicated by traditional operating systems, and that this duplication comes at a cost. We present the design and implementation of OSv, a new guest operating system designed specifically for running a single application on a virtual machine in the cloud. It addresses the duplication issues by using a low-overhead library-OS-like design. It runs existing applications written for Linux, as well as new applications written for OSv. We demonstrate that OSv is able to efficiently run a variety of existing applications. We demonstrate its sub-second boot time, small OS image and how it makes more memory available to the application. For unmodified network-intensive applications, we demonstrate up to 25% increase in throughput and 47% decrease in latency. By using non-POSIX network APIs, we can further improve performance and demonstrate a 290% increase in Memcached throughput.

✨ Summary

Impact

The paper’s documented influence is primarily as a reference implementation and experimental platform for unikernel and cloud-operating-system research. The associated OSv project remains open source and continues to describe OSv as a Linux-binary-compatible unikernel for running single applications in virtual machines. (github.com)

Subsequent research has directly reused or evaluated OSv. Iso-UniK was implemented by modifying OSv to add multi-process isolation using memory-protection keys, demonstrating that the paper’s single-address-space design could serve as a base for further isolation research. (link.springer.com) Other studies benchmarked OSv against Linux, Docker, conventional virtual machines, and other unikernels for network performance, parallel workloads, lightweight virtualization, and edge computing. (media.taricorp.net) More recent work has also targeted OSv specifically for security hardening through address-space randomization. (arxiv.org)

These references establish continued research and open-source development around OSv’s architecture and implementation. The sources located support its role as a reusable research platform and representative unikernel, but do not by themselves establish broad production deployment across industry.