DocumentCode
3244540
Title
CFS Optimizations to KVM Threads on Multi-Core Environment
Author
Jiang, Wei ; Zhou, Yisu ; Cui, Yan ; Feng, Wei ; Chen, Yu ; Shi, Yuanchun ; Wu, Qingbo
Author_Institution
Tsinghua Univ., Beijing, China
fYear
2009
fDate
8-11 Dec. 2009
Firstpage
348
Lastpage
354
Abstract
Multi-core architecture provides more on-chip parallelism and powerful computational capability. It helps virtualization achieve scalable performance. KVM (kernel based virtual machine) is different from other virtualization solutions which can make use of the Linux kernel components such as completely fair scheduler (CFS). However, CFS treats the KVM threads as normal tasks without considering about their unique features such as thread allocation mechanism and lock inside guest virtual machine, which may harm the KVM virtualization performance. In this paper, we analyze a phenomenon that some guest multi-threaded applications have very low performance when scheduled by CFS. As a solution to this problem, we introduce two kinds of optimizations in CFS: (1) configuration optimizations (2) lock optimizations. Our contributions are: (1) implement 5 original and 2 newest proposed optimizations in the newest Linux kernel. (2) Classify and compare them, a brief analysis is also given. They are all very simple and general to other virtual machine monitors such as Xen and schedulers as O(1). The performance of our CFS optimizations to KVM threads is measured by running some well-known benchmarks in two guest virtual machines on an 8-core server which models the real world applications. The results indicate our scheduling optimizations can improve the overall system performance. This paper can provide useful advices to KVM developers and virtualization data center administrators.
Keywords
configuration management; multi-threading; operating system kernels; parallel architectures; scheduling; virtual machines; 8-core server; Linux kernel components; Xen; completely fair scheduler optimization; configuration optimizations; kernel based virtual machine threads; lock optimizations; multicore architecture; multithreaded applications; on-chip parallelism; scheduling optimizations; Computer architecture; Concurrent computing; Kernel; Linux; Parallel processing; Performance analysis; Processor scheduling; Virtual machine monitors; Virtual machining; Yarn; KVM; Lock Holder Preemption; Multi-Core; Performance; Scheduling; Virtualization;
fLanguage
English
Publisher
ieee
Conference_Titel
Parallel and Distributed Systems (ICPADS), 2009 15th International Conference on
Conference_Location
Shenzhen
ISSN
1521-9097
Print_ISBN
978-1-4244-5788-5
Type
conf
DOI
10.1109/ICPADS.2009.83
Filename
5395289
Link To Document