Yecheng Yang, Pu Pang, Jiawen Wang, Quan Chen, Minyi Guo
{"title":"Adaptive CPU Resource Allocation for Emulator in Kernel-based Virtual Machine","authors":"Yecheng Yang, Pu Pang, Jiawen Wang, Quan Chen, Minyi Guo","doi":"arxiv-2310.14741","DOIUrl":null,"url":null,"abstract":"The technologies of heterogeneous multi-core architectures, co-location, and\nvirtualization can be used to reduce server power consumption and improve\nsystem utilization, which are three important technologies for data centers.\nThis article explores the scheduling strategy of Emulator threads within\nvirtual machine processes in a scenario of co-location of multiple virtual\nmachines on heterogeneous multi-core architectures. In this co-location\nscenario, the scheduling strategy for Emulator threads significantly affects\nthe performance of virtual machines. This article focuses on this thread for\nthe first time in the relevant field. This article found that the scheduling\nlatency metric can well indicate the running status of the vCPU threads and\nEmulator threads in the virtualization environment, and applied this metric to\nthe design of the scheduling strategy. This article designed an Emulator thread\nscheduler based on heuristic rules, which, in coordination with the host\noperating system's scheduler, dynamically adjusts the scheduling scope of\nEmulator threads to improve the overall performance of virtual machines. The\narticle found that in real application scenarios, the scheduler effectively\nimproved the performance of applications within virtual machines, with a\nmaximum performance improvement of 40.7%.","PeriodicalId":501333,"journal":{"name":"arXiv - CS - Operating Systems","volume":"14 2","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-10-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Operating Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2310.14741","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
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%.