Turning Linux into a High-Performance Library OS with Flux
Open Access
- 28 September 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 499-515
Abstract
Modern high-performance applications increasingly bypass the host kernel for I/O and scheduling and rely on library OSes for operating-system services. High-performance library OSes are often built from scratch, but supporting unmodified applications requires reimplementing mature Linux semantics. Running Linux itself as a library OS avoids this cost, yet existing Linux-based designs remain slow. Our analysis of LKL shows that the main bottlenecks lie in the surrounding user-space runtime rather than Linux subsystems. We present Flux, a Linux-based library OS that reduces the runtime bottlenecks while keeping Linux subsystems largely intact. Flux redesigns scheduling, user-space interrupt delivery, and syscall paths, and introduces a new process abstraction that supports Linux fork semantics without giving up direct-call syscalls. Flux improves Nginx throughput by up to 18.5× over Linux, and approaches Junction's Memcached throughput under a 100μs p99 latency target, showing that Linux can provide a high-performance library OS without rebuilding Linux functionality from scratch.Keywords
This publication has 28 references indexed in Scilit:
- LibPreemptible: Enabling Fast, Adaptive, and Hardware-Assisted User-Space Scheduling2024
- Howard Chu on Lightning Memory-Mapped DatabaseIEEE Software, 2019
- X-Containers2019
- SkyBridge2019
- ZygOS2017
- A study of modern Linux API usage and compatibility2016
- Using RDMA efficiently for key-value services2014
- Hekaton2013
- Workload analysis of a large-scale key-value store2012
- Benchmarking cloud serving systems with YCSB2010