The technologies of heterogeneous multi-core architectures, co-location, and virtualization can be used to reduce server power consumption and improve system utilization, which are three important technologies for data centers. This article explores the scheduling strategy of Emulator threads within virtual machine processes in a scenario of co-location of multiple virtual machines on heterogeneous multi-core architectures. In this co-location scenario, the scheduling strategy for Emulator threads significantly affects the performance of virtual machines. This article focuses on this thread for the first time in the relevant field. This article found that the scheduling latency metric can well indicate the running status of the vCPU threads and Emulator threads in the virtualization environment, and applied this metric to the design of the scheduling strategy. This article designed an Emulator thread scheduler based on heuristic rules, which, in coordination with the host operating system's scheduler, dynamically adjusts the scheduling scope of Emulator threads to improve the overall performance of virtual machines. The article found that in real application scenarios, the scheduler effectively improved the performance of applications within virtual machines, with a maximum performance improvement of 40.7%.
翻译:异构多核架构、协同部署与虚拟化技术可降低服务器功耗并提升系统利用率,是数据中心三大关键技术。本文探讨了在异构多核架构上多虚拟机协同部署场景下,虚拟机进程中模拟器线程的调度策略。在此协同部署场景中,模拟器线程的调度策略显著影响虚拟机的性能表现。本文在该领域首次聚焦该线程。研究发现,调度延迟指标能够有效反映虚拟化环境中vCPU线程与模拟器线程的运行状态,并将该指标应用于调度策略设计。本文设计了一种基于启发式规则的模拟器线程调度器,该调度器通过与宿主机操作系统调度器协同工作,动态调整模拟器线程的调度范围,从而提升虚拟机的整体性能。实验表明,在实际应用场景中,该调度器有效提升了虚拟机内应用的运行性能,性能最大提升幅度达40.7%。