• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2020, Vol. 42 ›› Issue (12): 2109-2116.

Previous Articles     Next Articles

A virtual machine memory access feature extraction method under Sunway architecture

SHA Sai1,WANG Chao2,DU Han-lin1,LUO Ying-wei1,WANG Xiao-lin1,WANG Zhen-lin3   

  1. (1.School of Electronics Engineering and Computer Science,Peking University,Beijing 100871,China;

    2.Jiangnan Institute of Computing Technology,Wuxi 214083,China;

    3.Department of Computer Science,Michigan Technological University,Michigan 49246,USA)

  • Received:2020-04-06 Revised:2020-06-28 Accepted:2020-12-25 Online:2020-12-25 Published:2021-01-04

Abstract: Virtualization technology is one of the important pillars of cloud services. Virtualization fully extends the flexibility of physical resources and improves the utilization of physical resources. With the development of national informatization level, the core technology of cloud servers is more and more independent, controllable, safe and efficient. In recent years, as a typical representative of domestic servers, Sunway has been fully developed. In order to further improve the performance of virtual machines in Sunway architecture, this paper proposes a method of extracting the memory access features of virtual machines in Sunway architecture. By combining the advantages of Sunway architecture, this paper calculates the memory page miss ratio curve of virtual machines online based on the least recently used stack method, and reduces the performance cost of feature by using the hot set mechanism. Experiments show that the method can accurately calculate the working set size of virtual machine, the average error is less than 3%, and the average performance cost is no more than 8.3%. This work provides conditions for dynamic memory allocation of Sunway virtual machines, and finally improves the overall performance and memory utilization of Sunway cloud servers.





Key words: Sunway architecture, virtualization, memory, working set size, page miss ratio curve, hot set