A code-level survey of CPU scheduling mechanisms in open-source embedded hypervisors
Lisa Mignerey, Anthony Ferrari, Damien Sauveron, Karim Tamine
Abstract
Virtualization is increasingly used in embedded systems to consolidate mixed-criticality applications onto a single platform, relying on the hypervisor's CPU scheduler to share physical CPU (pCPU) time among virtual CPUs (vCPUs). This paper surveys ten CPU scheduling algorithms implemented in four open-source hypervisors for resource-constrained systems (Bao, Xen, ACRN, and Xvisor): static partitioning, ARINC653, Credit, Credit2, RTDS, Priority-based, BVT, IORR, PRR, and PRM. Analyzed at the source-code level without runtime measurements, each algorithm is characterized by its decision rule, parameters, selection criterion, triggers, and admission control. They are evaluated against nine criteria (temporal isolation, real-time guarantees, I/O responsiveness, resource utilization, fairness, mixed-criticality support, efficiency/scalability, configurability, and multicore support) and illustrated on a common single-pCPU workload. Source-code inspection reveals key deviations from documented designs: ACRN's default BVT scheduler lacks the warp mechanism, its priority-based scheduler exposes only two priority levels, and apart from ARINC653's static frame check, only Xen's development-branch RTDS performs utilization-based admission control. Furthermore, no policy natively supports criticality attributes or mode changes, requiring integrators to encode criticality via partitions, budgets, caps, or priorities. Finally, a qualitative matrix and a decision tree guide system integrators.
Create a lesson
Related papers
Compact Two-dimensional RAID Level 6 Arrays Tolerating Quadruple Node Failures
Shared title terminologycs.OSJehan-François Pâris, Thomas Schwarz
Benchmarking Linux CGroup and Schedule Idle
Shared title terminologycs.OSAnna Arpaci-Dusseau
Restoring Fair Hrtick Re-arming After Same-Task Repicks in the Linux EEVDF Scheduler
Shared title terminologycs.OSShubhang Kaushik
ToolSched: Resource-Efficient Tool Scheduling for Shared-Host LLM Agents
Shared title terminologycs.OSShucheng Zou, Yuhao Gu, Long Chen et al.
Beyond Source Compatibility: WebAssembly as a Stable ABI for ARINC 653 Applications
Shared title terminologycs.OSWanja Zaeske, Patrick Siegl, Florian Hartung et al.
Aegis OS: A Transactional Multi-Tenant Operating System Runtime for Eliminating Authorization Fatigue in Autonomous Coding Agents
Shared title terminologycs.OSHui Zhao