文章摘要
朱琛* ** *** ****,王剑* ** ***,高翔****,毛碧波****,杨小娟****.MIPS VZ虚拟化环境中透明大页性能的优化[J].高技术通讯(中文),2021,31(11):1117~1125
MIPS VZ虚拟化环境中透明大页性能的优化
Performance optimization of transparent huge pages in MIPS VZ virtualization environment
  
DOI:10.3772/j.issn.1002-0470.2021.11.001
中文关键词: 透明大页(THP); 虚拟化; MIPS; 内存管理
英文关键词: transparent huge page (THP), virtualization, MIPS, memory management
基金项目:
作者单位
朱琛* ** *** ****  
王剑* ** ***  
高翔****  
毛碧波****  
杨小娟****  
摘要点击次数: 1709
全文下载次数: 1122
中文摘要:
      内存地址翻译一直是影响计算机性能的重要因素之一,在虚拟化环境中由于存在多级地址翻译,这一问题更为突出。使用透明大页(THP)是优化这一问题的常见手段。本文以龙芯3A4000处理器和KVM虚拟机为实验平台,分析了MIPS VZ环境中虚拟机使用透明大页的性能。发现透明大页在应用中存在分组TLB负载不均衡,使得部分场景中透明大页对性能产生了负面影响。本文对现有KVM内存管理进行了改进。通过在内存管理中增加对分组TLB负载的考量,提升了KVM虚拟机使用透明大页的性能。该方法对其他使用TLB分组结构的处理器也有参考价值。
英文摘要:
      Memory address translation has always been one of the important factors affecting computer performance. This problem is even more prominent due to multiple address translations in a virtualized environment. Using transparent huge pages (THP) is a common method to optimize this problem. This article uses the Loongson 3A4000 processor and its KVM virtual machine as an experimental platform to analyze the performance of the virtual machine using transparent huge pages in the MIPS VZ environment. It is found that transparent huge pages have unbalanced packet TLB load in some applications, which has a negative impact on performance in some scenarios. This article modifies the KVM memory management. By increasing the consideration of packet TLB load in memory management, the performance of KVM virtual machines using transparent huge pages is improved. This method also provides reference for other processors that use different TLBs packet structure.
查看全文   查看/发表评论  下载PDF阅读器
关闭

分享按钮