计算机科学 ›› 2013, Vol. 40 ›› Issue (9): 64-67.

• 网络与通信 • 上一篇    下一篇

基于Xen的虚拟机迁移时内存优化算法

陈廷伟,张璞,张忠清   

  1. 辽宁大学信息学院 沈阳110036;辽宁大学信息学院 沈阳110036;辽宁大学信息学院 沈阳110036
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受辽宁省教育科学一般研究项目(L2011004),国家自然科学基金(60903008)资助

Memory Optimization Algorithm of Migration Based on Xen Virtual Machine

CHEN Ting-wei,ZHANG Pu and ZHANG Zhong-qing   

  • Online:2018-11-16 Published:2018-11-16

摘要: 为了在云计算环境下进行虚拟机迁移,Xen迁移时采用比较传递页位图和跳过页位图的方式来判断内存页是否重传。针对页位图比较带来多次重传增加网络传送开销的问题,提出基于AR模型的内存优化算法,该算法根据 所有 记录的内存页修改时间间隔来预测内存页的下次修改时间,当下次修改时间大于某个阈值时进行重传。实验结果表明,基于AR模型的内存优化算法缩短了虚拟机迁移的时间,减少了虚拟机迁移时的网络开销,保证了同台服务器上其它虚拟机的网络带宽应用。

关键词: 云计算,虚拟机,Xen迁移,AR模型 中图法分类号TP317.1文献标识码A

Abstract: In order to migrate the virtual machine in the cloud computing environment,Xen compares the send-page bitmap with the skip-page bitmap when migrating,and determines whether memory pages are retransmitted or not.Aiming at the problem that multiple retransmissions increase network transmission overhead from the comparison,this paper proposed a memory optimization algorithm based on AR model.According to all recorded intervals in which a memory page is modified,the new algorithm predicts the next modification time of the memory page and retransmits the memory page when the next modification time is greater than a threshold.The results show that the optimization algorithm shortens the migration and network overhead of the virtual machine and ensures the network applications of other vir-tual machines on the same server.

Key words: Cloud computing,Virtual machine,Xen migration,AR model

[1] 文明波,丁治明.适用于云计算的面向查询数据库数据分布策略[J].计算机科学,2010,37(9)
[2] Li Bo,Li Jian-xin,Huai Jin-peng,et al.Enacloud:An energy-saving application live placement approach for cloud computing environments[C]∥Proceedings of the International Conference on Cloud Computing.Bangalore,2009:17-24
[3] 陈廷伟,周山杰,秦明达.面向云计算的任务分类方法[J].计算机应用,2012,32(10):2719-2723,2727
[4] Menon A,Santos R J,Turner Y,et al.Diagnosing Performance Overheads in the Xen Virtual Machine Environment[C]∥Proc of the 1st ACM/USENIX International Conference on Virtual Execution Environments.Chicago,USA:[s.n.],2005:13-23
[5] 刘伯成,陈庆奎.云计算中的集群资源模糊聚类划分模型[J].计算机科学,2011,34(12)
[6] Xen [EB/OL].http://xen.org
[7] 李强,郝沁汾,肖利民,等.云计算中虚拟机放置的自适应管理与多目标优化[J].计算机学报,2011,34(12)
[8] 张伟哲,张宏莉,张迪,等.云计算平台中多虚拟机内存协同优化策略研究[J].计算机学报,2011,34(12)
[9] Han H,Jung H,Kang S,et al.Performance evaluation of a remote memory system with commodity hardware for large-me-mory data processing[J].Cluster Computing,2011,14(4):325-344
[10] Yan Li-ren,Huang Wei.An IC yield enhancement approach by ARMA modeling and dynamic process control[J].The International Journal of Advanced Manufacturing Technology,2009,42(7/8): 749-756
[11] 张文杰,钱德沛,栾钟治,等.bing算法估测网络带宽的研究与实现[J].小型微型计算机系统,2004,25(5)

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!