FVM: Practical Feather-Weight Virtualization on Commodity Microcontrollers
Recently, there has been an increasing drive to consolidate multiple microcontrollers into one physical entity, due to advantages in reducing overall costs, enhancing reliability, and simplifying hardware interconnections. To reduce consolidation engineering costs, minimizing system latency and memory footprint is important as well as maintaining compatibility with legacy software. In this paper, we propose a virtualization-based solution called Feather-weight Virtual Machine (<italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">FVM</i>) that focuses on these goals. <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">FVM</i> enables low latency by specializing the virtualization model to Real-Time Operating Systems (RTOSes), achieves small footprint by adapting management policies to microcontroller memories, attains high compatibility by aligning with microcontroller ecosystem idiosyncrasies, finally allowing practical consolidation across a wide range of commodity microcontrollers. We implement and evaluate <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">FVM</i> on ARMv6-M, ARMv7-M, and RISC-V architectures with two toolchains and two RTOSes, and it can fit into 20 KiB of RAM with less than 5% latency bloat.
Authors
- Huanle Zhang
- Ricky Yuen-Tan Hou (ORCID: https://orcid.org/0000-0003-2479-5541)
- Runyu Pan
- Junchao Li (ORCID: https://orcid.org/0000-0002-8858-7859)
- Xiuzhen Cheng (ORCID: https://orcid.org/0000-0001-9998-2398)
- Guangyong Shang
Institutions
- Shandong University of Science and Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Computers
- Published
- 2025-04-08
- DOI
- https://doi.org/10.1109/tc.2025.3558582
- Citations
- 1
- Primary Topic
- IoT and Edge/Fog Computing
- Type
- article
- Field-Weighted Citation Impact
- 1.49