Abstract
I/O virtualization performance is an important problem in KVM. In this paper, we evaluate KVM I/O performance and propose several optimizations for improvement. First, we reduce VM Exits by merging successive I/O instructions and decreasing the frequency of timer interrupt. Second, we simplify the Guest OS by removing redundant operations when the guest OS operates in a virtual environment. We eliminate the operations that are useless in the virtual environment and bypass the I/O scheduling in the Guest OS whose results will be rescheduled in the Host OS. We also change NIC driver’s configuration in Guest OS to adapt the virtual environment for better performance.
Chapter PDF
Similar content being viewed by others
References
Jeremy, S., Ganesh, V., Beng-Hong, L.: Virtualizing I/O Device on VMware Workstation’s Hosted Virtual Machine Monitor. In: Proceddings of the 2001 USENIX Annual Technical Conference (June 2001)
Menon, A., Cox, A.L., Zwaenepoel, W.: Optimizing network virtualization in Xen. In: Proceedings of the Annual Technical Conference on USENIX 2006 Annual Technical Conference (2006)
Ram, K.K., Santos, J.R., Turner, Y., Cox, A.L., Rixner, S.: Achieving 10 Gb/s using safe and transparent network interface virtualization. In: Proceedings of the 2009 ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments (2009)
Russell, R.: Virtio: Towards a De-Facto Standard For Virtual I/O Devices. Operating System Review 42(5), 95–103 (2008)
Barham, P., Dragovic, B., Fraser, K., Hand, S., Harris, T., Ho, A., Neugebauer, R., Pratt, I., Warfield, A.: Xen and the Art of Virtualization. In: Proceedings of the 19th ACM SOSP (2003)
bonnie++, http://www.coker.com.au/bonnie++/
netperf, http://www.netperf.org/netperf/
SPEC JBB (2005), http://www.spec.org/jbb2005/
Intel Corporation. Intel® Virtualization Technology for Directed I/O Architecture Specification (2007), http://download.intel.com/technology/computing/vptech/Intelr_VT_for_Direct_IO.pdf
Advanced Micro Devices, Inc. ADM I/O Virtualization Technology (IOMMU) Specification (2007), http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/34434.pdf
PCI-SIG. I/O Virtualization (2007), http://www.pcisig.com/specifications/iov/
Axboe, J.: Time Sliced CFQ I/O Scheduler, http://kerneltrap.org/node/4406
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2010 IFIP International Federation for Information Processing
About this paper
Cite this paper
Zhang, B. et al. (2010). Evaluating and Optimizing I/O Virtualization in Kernel-based Virtual Machine (KVM). In: Ding, C., Shao, Z., Zheng, R. (eds) Network and Parallel Computing. NPC 2010. Lecture Notes in Computer Science, vol 6289. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-15672-4_20
Download citation
DOI: https://doi.org/10.1007/978-3-642-15672-4_20
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-15671-7
Online ISBN: 978-3-642-15672-4
eBook Packages: Computer ScienceComputer Science (R0)