arrow
Return

Optimizing CPU Scheduling and Inter-VM Communication for Lightweight Virtualization using Reinforcement Learning

delete2026-06-09
delete0
PRE
AI
W
WenDou Cui
C
Chengzhang Wang
Q
Qiang Yu
C
Chengyun Wei
R
Rong Zhang *
DOI:10.1016/j.future.2026.108612delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
In recent years, lightweight virtualization has gained significant attention for consolidating Mixed-Criticality Systems (MCS) in Internet of Things (IoT) and edge computing deployments. With growing demands for computational efficiency and real-time responsiveness, optimizing CPU scheduling and inter-virtual-machine (VM) communication has become crucial. Conventional schedulers often fail to efficiently balance dynamic workloads, resulting in suboptimal resource utilization and elevated latency. To overcome these limitations, this paper introduces a comprehensive optimization framework for CPU scheduling in virtualized environments. Our approach enhances the native Priority-Based Monotonic (PRM) scheduler and incorporates a contextual bandit (CB) reinforcement learning (RL) algorithm for intelligent vCPU resource management, substantially boosting real-time performance. We also implement custom CPU and memory utilization monitoring instructions to enable efficient system introspection. The entire framework is ported and validated on the emerging PhytiumPi platform. Experimental evaluation demonstrates that our enhanced Xvisor (eXvisor) hypervisor successfully boots multiple guest operating systems on PhytiumPi with a minimal overhead of approximately 1.05% as measured by CoreMark. The CB-based scheduler not only achieves a remarkable 96.3% latency reduction in real-time tasks compared to the native Priority-Based Round Robin (PRR) algorithm but also directly translates these gains into superior communication performance. Specifically, it boosts Remote Processor Messaging (RPMsg) throughput by 48% (to 4.74 Mbps) and reduces virtual network latency by 14% (to 0.392 ms) over baseline schedulers. These results validate that our framework significantly improves both real-time performance and communication efficiency, offering a practical and highly effective solution for resource-constrained MCS in IoT and edge environments.

Journal

F
Future Generation Computer Systems
IF:
0
Papers:
642
Citations:
0

Organization

G
guilin feiyu technology incorporated company
Scholars:
2
Papers: 1
Citations: 0
T
tianjin university of technology
Scholars:
2.0K
Papers: 607
Citations: 0
C
chinese academy of sciences
Scholars:
56.7W
Papers: 45.0W
Citations: 704
researcher View more organizations
Cited Papers

Cited Papers

No cited papers available