A Lightweight File System Design for Unikernel

Kyungwoon Cho, Hyokyung Bahn

Research output: Contribution to journalArticlepeer-review

Abstract

Unikernels are specialized operating system (OS) kernels optimized for a single application or service, offering advantages such as rapid boot times, high performance, minimal memory usage, and enhanced security compared to general-purpose OS kernels. Unikernel applications must remain compatible with the runtime environment of general-purpose kernels, either through binary or source compatibility. As a result, many Unikernel projects have prioritized system call compatibility over performance enhancements. In this paper, we explore the design principles of Unikernel file systems and introduce a new file system tailored for Unikernels named ULFS (Ultra Lightweight File System). ULFS provides system call services akin to those of general-purpose OS kernels but achieves superior performance and security with significantly fewer system resources. Specifically, ULFS is developed as a lightweight file system embracing Unikernel design principles. It streamlines system calls, removes unnecessary locks, and omits permission checks for multiple users, utilizing a non-hypervisor architecture. This approach significantly reduces the memory footprint of the file system and enhances performance. Through measurement studies, we assess the performance and memory requirements of various file systems from major Unikernel projects. Our findings demonstrate that ULFS surpasses several existing Unikernel file systems, including Rumpvfs, Ramfs-u, Ramfs-q, 9pfs, and Hcfs.

Original languageEnglish
Article number3342
JournalApplied Sciences (Switzerland)
Volume14
Issue number8
DOIs
StatePublished - Apr 2024

Bibliographical note

Publisher Copyright:
© 2024 by the authors.

Keywords

  • file system
  • lightweight
  • lock-free file system
  • non-hypervisor
  • ULFS
  • ULV
  • Unikernel

Fingerprint

Dive into the research topics of 'A Lightweight File System Design for Unikernel'. Together they form a unique fingerprint.

Cite this