龙芯KVM虚拟机I/O中断子系统的优化  被引量:2

Optimize the I/O interrupt subsystem of the Loongson KVM virtual machine

在线阅读下载全文

作  者:朱琛 王剑[1,2,3,4] 高翔 毛碧波 李星 Zhu Chen;Wang Jian;Gao Xiang;Mao Bibo;Li Xing(State Key Laboratory of Computer Architecture,Institute of Computer Technology,Chinese Academy of Sciences,Beijing 100190;Institute of Computing Technology,Chinese Academy of Sciences,Beijing 100190;University of Chinese Academy of Sciences,Beijing 100049;Loongson Technology Corporation Limited,Beijing 100190)

机构地区:[1]计算机体系结构国家重点实验室(中国科学院计算技术研究所),北京100190 [2]中国科学院计算技术研究所,北京100190 [3]中国科学院大学,北京100049 [4]龙芯中科技术有限公司,北京100190

出  处:《高技术通讯》2020年第9期893-900,共8页Chinese High Technology Letters

基  金:国家自然科学基金(61432016)资助项目。

摘  要:本文针对虚拟机I/O中断子系统的性能问题,以龙芯KVM虚拟机为实验平台,分析了KVM虚拟机中I/O中断子系统的性能瓶颈,并在KVM中实现虚拟I/O中断控制器的基础上,进一步采用只读页表代替陷入、类虚拟化等手段对其进行了优化。测试结果显示虚拟机处理I/O中断的吞吐量提升了300%以上。在部分I/O中断较频繁的网络和磁盘测试中,性能有60.9%~215.1%的提升,文中的优化方法同样适用于其他架构的KVM虚拟机。This article focuses on the performance issues of the virtual machine I/O interrupt subsystem.Using the Loongson KVM virtual machine as the experimental platform,the performance bottleneck of the I/O interrupt subsystem in the KVM virtual machine is analyzed,and the conventional optimization method is verified.Based on this,two new optimization methods are tried and verified.Test results show that the virtual machine’s processing I/O interrupt throughput has increased by more than 300%compared to the original system.In some network and disk tests that frequently require I/O interrupts,its performance has increased by 60.9%to 215.1%.The optimization methods in this article can also be used in other KVM virtual machines.

关 键 词:KVM虚拟机 I/O中断 I/O虚拟化 

分 类 号:TP3[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象