A Lightweight File System Design for Unikernel
Source abstract
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.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Advanced Data Storage Technologies · Parallel Computing and Optimization Techniques · Security and Verification in Computing
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Embedded Software Research Center, Ewha University, Seoul 03760, Republic of Korea
Department of Computer Engineering, Ewha University, Seoul 03760, Republic of Korea
Funding
National Research Foundation of Korea (NRF) · Ewha Womans University
References (23)
Show source-provided references
1. Unikernels: Library operating systems for the cloud10.1145/2490301.2451167 ↗
2. Ioini, N., Majjodi, A., Hastbacka, D., Cerny, T., and Taibi, D. (2023, January 17). Unikernels Motivations, Benefits and Issues: A Multivocal Literature Review. Proceedings of the 3rd Eclipse Security, AI, Architecture and Modelling Conference on Cloud to Edge Continuum (ESAAM), Ludwigsburg, Germany.
3. Unikernel network functions: A journey beyond the containers10.1109/MCOM.001.1900138 ↗
4. Fingler, H., Akshintala, A., and Rossbach, C.J. (2019, January 19–20). USETL: Unikernels for serverless extract transform and load why should you settle for less?. Proceedings of the 10th ACM SIGOPS Asia-Pacific Workshop on Systems (APSYS), Hangzhou, China.10.1145/3343737.3343750 ↗
5. Choudhuri, S. (2021). Internet of Things: Enabling Technologies, Security and Social Implications, Springer.
6. Integrated scheduling of real-time and interactive tasks for configurable industrial systems10.1109/TII.2021.3067714 ↗
7. Chen, S., and Zhou, M. (2021). Evolving container to Unikernel for edge computing and applications in process industry. Processes, 9.10.3390/pr9020351 ↗
8. Park, S., and Bahn, H. (2023, January 18–20). Trace-based Performance Analysis for Deep Learning in Edge Container Environments. Proceedings of the 2023 Eighth International Conference on Fog and Mobile Edge Computing (FMEC), Tartu, Estonia.10.1109/FMEC59375.2023.10306027 ↗
9. Williams, D., Koller, R., Lucina, M., and Prakash, N. (2018, January 11–13). Unikernels as processes. Proceedings of the ACM Symposium on Cloud Computing, Carlsbad, CA, USA.10.1145/3267809.3267845 ↗
10. Rump kernels: No OS? no problems!
11. Kantee, A. (2012). Flexible Operating System Internals: The Design and Implementation of the Anykernel and Rump Kernels. [Ph.D Thesis, Aalto University].
12. Kuenzer, S., Bădoiu, V., Lefeuvre, H., Santhanam, S., Jung, A., Gain, G., Soldani, C., Lupu, C., Teodorescu, Ş., and Răducanu, C. (2021, January 26–28). Unikraft: Fast, specialized Unikernels the easy way. Proceedings of the 16th ACM European Conference on Computer Systems (Eurosys), Edinburgh, UK.10.1145/3447786.3456248 ↗
13. (2024, April 11). 9pfs Setup Document. Available online: https://wiki.qemu.org/Documentation/9psetup.
14. Olivier, P., Chiba, D., Lankes, S., Min, C., and Ravindran, B. (2019, January 14). A binary-compatible Unikernel. Proceedings of the 15th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments (VEE), Providence, RI, USA.10.1145/3313808.3313817 ↗
15. Edge, J. (2024, April 11). A Seccomp Overview. Linux Weekly News. Available online: https://lwn.net/Articles/656307/.
16. (2024, April 11). Mmap System Call. Available online: https://man7.org/linux/man-pages/man2/mmap.2.html.
17. Lee, J., and Bahn, H. (2023, January 20–21). File Access Characteristics of Deep Learning Workloads and Cache-Friendly Data Management. Proceedings of the 2023 10th International Conference on Electrical Engineering, Computer Science and Informatics (EECSI), Palembang, Indonesia.10.1109/EECSI59885.2023.10295817 ↗
18. Modeling reentrant and nonreentrant software10.1145/1035332.1035318 ↗
19. (2024, April 11). Ultra Lightweight File System (ULFS). Available online: https://github.com/oslab-ewha/ULV/tree/master/libulfs.
20. (2024, April 11). Ultra Lightweight Virtualization (ULV). Available online: https://github.com/oslab-ewha/ULV.
21. The new ext4 filesystem: Current status and future plans
22. A fast file system for UNIX10.1145/989.990 ↗
23. (2024, April 11). GDBM. Available online: https://www.gnu.org.ua/software/gdbm/.