DocumentCode
2386660
Title
XenHVMAcct: Accurate CPU Time Accounting for Hardware-Assisted Virtual Machine
Author
Chen, Huacai ; Jin, Hai ; Hu, Kan
Author_Institution
Services Comput. Technol. & Syst. Lab., Huazhong Univ. of Sci. & Technol., Wuhan, China
fYear
2010
fDate
8-11 Dec. 2010
Firstpage
191
Lastpage
198
Abstract
CPU time accounting is a basis of performance measurement and process scheduling in operating system. Accounting operations are traditionally completed in timer interrupt handler since timer interrupt is periodically delivered to OS. However, when virtualization introduced, the CPU time is shared by multiple virtual CPUs (i.e., VCPU for short) and the virtual timer interrupt is paused for those ones be scheduled out. This makes the time accounting be inaccurate, and we should consider new method for VM to provide a stable and reliable data source, especially for the hardware-assisted virtual machines (i.e., HVM for short) which are not aware of VMM. The key point of accurate CPU time accounting is to distinguish the time allocated to “this VCPU” and “other VCPUs”. Para-virtualization (i.e., PV for short) achieves this goal by modifying the timer handling routines. For HVM, we propose an accurate accounting method (named XenHVMAcct) within Xen virtual platform. XenHVMAcct is designed by using the mechanisms of virtual interrupt and loadable kernel module, without direct modifications to guest OS. Experimental results show that our accounting method is as accurate as the PV solution.
Keywords
multiprocessing systems; operating systems (computers); scheduling; time measurement; virtual machines; CPU time accounting; VCPU; Xen virtual platform; XenHVMAcct; hardware assisted virtual machine; loadable kernel module; multiple virtual CPU; paravirtualization; process scheduling; reliable data source; virtual interrupt; virtual timer interrupt; Kernel; Linux; Measurement; Program processors; Real time systems; Virtual machining; CPU time accounting; Virtualization; Xen; XenHVMAcct;
fLanguage
English
Publisher
ieee
Conference_Titel
Parallel and Distributed Computing, Applications and Technologies (PDCAT), 2010 International Conference on
Conference_Location
Wuhan
Print_ISBN
978-1-4244-9110-0
Electronic_ISBN
978-0-7695-4287-4
Type
conf
DOI
10.1109/PDCAT.2010.63
Filename
5704419
Link To Document