surveycode/data
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.