Huge Page Friendly Virtualized Memory Management  

在线阅读下载全文

作  者:Sai Sha Jing-Yuan Hu Ying-Wei Luo Xiao-Lin Wang Zhenlin Wang 

机构地区:[1]School of Electronics Engineering and Computer Science,Peking University,Beijing 100871,China [2]Peng Cheng Laboratory,Shenzhen 518052,China [3]Shenzhen Key Laboratory for Cloud Computing Technology&Applications,School of Electronic and Computer Engineering,Peking University Shenzhen,Shenzhen 518000,China [4]Department of Computer Science,Michigan Technological University,Michigan 49246,U.S.A.

出  处:《Journal of Computer Science & Technology》2020年第2期433-452,共20页计算机科学技术学报(英文版)

基  金:The work was supported by the National Key Research and Development Program of China under Grant No.2018YFB1003604;the National Natural Science Foundation of China under Grant Nos.61472008,61672053 and U1611461,Shenzhen Key Research Project under Grant No.JCYJ20170412150946024,the National Science Foundation of USA under Grant No.CSR-1618384,Beijing Technological Program under Grant No.Z181100008918015.

摘  要:With the rapid increase of memory consumption by applications running on cloud data centers,we need more efficient memory management in a virtualized environment.Exploiting huge pages becomes more critical for a virtual machine's performance when it runs large working set size programs.Programs with large working set sizes are more sensitive to memory allocation,which requires us to quickly adjust the virtual machine's memory to accommodate memory phase changes.It would be much more efficient if we could adjust virtual machines'memory at the granularity of huge pages.However,existing virtual machine memory reallocation techniques,such as ballooning,do not support huge pages.In addition,in order to drive effective memory reallocation,we need to predict the actual memory demand of a virtual machine.We find that traditional memory demand estimation methods designed for regular pages cannot be simply ported to a system adopting huge pages.How to adjust the memory of virtual machines timely and effectively according to the periodic change of memory demand is another challenge we face.This paper proposes a dynamic huge page based memory balancing system(HPMBS)for efficient memory management in a virtualized environment.We first rebuild the ballooning mechanism in order to dispatch memory in the granularity of huge pages.We then design and implement a huge page working set size estimation mechanism which can accurately estimate a virtual machine's memory demand in huge pages environments.Combining these two mechanisms,we finally use an algorithm based on dynamic programming to achieve dynamic memory balancing.Experiments show that our system saves memory and improves overall system performance with low overhead.

关 键 词:VIRTUALIZATION huge PAGE BALLOONING MEMORY balancing 

分 类 号:TP39[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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