Modifying Guest OS to Optimize I/O Virtualization in KVM
ZHANG Bin-Bin,WANG Xiao-Lin,YANG Liang,LAI Rong-Feng,WANG Zhen-Lin,LUO Ying-Wei,LI Xiao-Ming
DOI: https://doi.org/10.3724/sp.j.1016.2010.02312
2010-01-01
Chinese Journal of Computers
Abstract:There are some operations in Guest OS causing the I/O performance degradation.For it is the general OS,which is oriented physical machines,directly running on the virtual machine as the Guest OS.This paper evaluates KVM I/O performance,find that the Guest OS should be adapted to the virtual environment for better performance,and proposes some optimizations.First,reduce VM Exits by merging successive I/O instructions and decreasing the frequency of timer interrupt;Second,removes some redundant operations from Guest OS,including the operations useless in virtual environment,the I/O scheduler whose results will be rescheduled in the Host OS,and the NAPI support in virtual NIC driver.