A Syscall-Level Binary-Compatible Unikernel
- 27 October 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 71 (00189340) , 1
Abstract
Unikernels are minimal single-purpose virtual machines. They are highly popular in the research domain due to the benefits they provide. A barrier to their widespread adoption is the difficulty/impossibility to port existing applications to current unikernels. HermiTux is the first unikernel providing system call-level binary compatibility with Linux applications. It is composed of a hypervisor and a lightweight kernel layer emulating the load- and runtime Linux ABI. HermiTux relieves application developers from the burden of porting software, while providing unikernel benefits such as security through hardware-assisted virtualized isolation, swift boot time, and low disk/memory footprint. Fast system calls and kernel modularity are enabled through binary rewriting and analysis techniques, as well as shared library substitution. HermiTux's design principles are architecture-independent and we present a prototype on both the x86-64 and ARM aarch64 ISAs, targeting various cloud as well as edge/embedded deployments. We demonstrate HermiTux's compatibility over a range of native C/C++/Fortran/Python Linux applications. We also show that it offers a similar degree of lightweightness compared to other unikernels, and that it performs similarly to Linux in many cases: its performance overhead averages 3% in memory- and compute-bound scenarios, and its I/O performance is acceptable.Keywords
Funding Information
- Engineering and Physical Sciences Research Council (EP/V012134/1)
- NEC Laboratories Europe GmbH
- Office of Naval Research (N00014-16-1-2104, N00014-16-1-2711, N00014-16-1-2818)
- Bundesministerium fr Bildung und Forschung (01IH16010C)
This publication has 21 references indexed in Scilit:
- Swift Birth and Quick Death2017
- SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis2016
- Edge Computing: Vision and ChallengesIEEE Internet of Things Journal, 2016
- HermitCore2016
- A study of modern Linux API usage and compatibility2016
- Obfuscator-LLVM -- Software Protection for the Masses2015
- Unikernels2013
- Documenting and automating collateral evolutions in linux device drivers2008
- Interactive binary instrumentation2004
- The Nas Parallel BenchmarksThe International Journal of Supercomputing Applications, 1991