FlexOS: Towards Flexible OS Isolation

Hugo Lefeuvre, Vlad-Andrei Bădoiu, Alexander Jung, Stefan Teodorescu, Sebastian Rauch +3 more
12/13/2021
47 citations
cs.OS

Official code: project-flexos/asplos22-ae (20 stars, C, last commit 2022-04-02).

Abstract

At design time, modern operating systems are locked in a specific safety and isolation strategy that mixes one or more hardware/software protection mechanisms (e.g. user/kernel separation); revisiting these choices after deployment requires a major refactoring effort. This rigid approach shows its limits given the wide variety of modern applications' safety/performance requirements, when new hardware isolation mechanisms are rolled out, or when existing ones break.

Show full abstract

We present FlexOS, a novel OS allowing users to easily specialize the safety and isolation strategy of an OS at compilation/deployment time instead of design time. This modular LibOS is composed of fine-grained components that can be isolated via a range of hardware protection mechanisms with various data sharing strategies and additional software hardening. The OS ships with an exploration technique helping the user navigate the vast safety/performance design space it unlocks. We implement a prototype of the system and demonstrate, for several applications (Redis/Nginx/SQLite), FlexOS' vast configuration space as well as the efficiency of the exploration technique: we evaluate 80 FlexOS configurations for Redis and show how that space can be probabilistically subset to the 5 safest ones under a given performance budget. We also show that, under equivalent configurations, FlexOS performs similarly or better than several baselines/competitors.

View on arXivView PDF

Code Implementations(1)

FlexOS: Towards Flexible OS Isolation (ASPLOS'22) Artifact Evaluation Repository

204C, ShellNov 15, 20214 years ago

Similar Papers

Cite this paper

@article{lefeuvre2021flexos,
  title  = {FlexOS: Towards Flexible OS Isolation},
  author = {Hugo Lefeuvre and Vlad-Andrei Bădoiu and Alexander Jung and Stefan Teodorescu and Sebastian Rauch and Felipe Huici and Costin Raiciu and Pierre Olivier},
  year   = {2021},
  eprint = {2112.06566},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.06566}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.06566.svg)](https://codeofpaper.com/paper/2112.06566)

Discussion