计算机科学 ›› 2013, Vol. 40 ›› Issue (5): 126-130.

• 信息安全 • 上一篇    下一篇

一种基于脏页面延迟拷贝的虚拟机动态内存迁移方法

张伟,张晓霞,王汝传   

  1. 南京邮电大学计算机学院 南京210046;南京邮电大学计算机学院 南京210046;南京邮电大学计算机学院 南京210046
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受国家自然科学基金(61003236,2)资助

Live Memory Migration for Virtual Machine Based on Dirty Pages Delayed Copy Method

ZHANG Wei,ZHANG Xiao-xia and WANG Ru-chuan   

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

摘要: 通过对虚拟机动态内存迁移过程中内存页面状态的分析,针对预拷贝算法中脏页面可能被重传这一特点,提出一种基于脏页面预测的迭代传送方法。该方法基于时间局部性原理,在页面迭代传送前对页面未来的变脏程度进行预测,根据预测结果对页面进行状态分类,并对处于不同状态的页面采取相应的传送策略。实验证明,与Xen采取的动态迁移方法相比,提出的方法减少了近10%的迁移总量。

关键词: 虚拟机,内存动态迁移,脏页面,预测

Abstract: Through the analysis of the state of the memory pages in the live memory migration for virtual machine,a novel method was proposed to avoid the dirty pages to be retransmitted in the Pre-Copy algorithm.In this method,the next dirty extent of pages is predicted based on the principle of temporal locality before the pages’ transmitting in the iteration stage.According to the result of prediction,the pages are classified into different states to take appropriate transmission strategy.Experiments show that the method has effectively reduced the total migration memory nearly 10% compared to the live migration approach taken by Xen.

Key words: Virtual machine,Live memory migration,Dirty pages,Prediction

[1] Chandra R,Zeldvovich N,Sapuntzakis C,et al.The collective:a Cache-based system management architecture[C]∥Proc.of the Second USENIX/ACM Symposium on Networked Systems Design and Implementation(NSDI 2005).Boston,MA,2005:259-272
[2] Osman S,Subhraveti D,Su G,et al.The Design and Implementation of Zap:A System for Migrating Computing Environments[C]∥Proc.of the Fifth Symposium on Operating Systems Design and Implementation(OSDI 2002).Boston,MA,December 2002
[3] Nelson M,Lim B H,Hutchins G.Fast transparent migration for virtual machines [C]∥Proc.of the 2005USENIX Annual Technical Conference.VMware Press,2005:391-394
[4] Clark C,Fraser K,Hand S.Live Migration of Virtual Machines [C]∥Proc.of the 2nd Conference on Symposium on Networked Systems Design and Implementation.Berkeley:USENIX Associa-tion,2005:273-286
[5] Tamura Y,Sato K,Kihara S,et al.Kemari:virtual machine synchronization for fault tolerance[C]∥Xen Summit.Boston:USENIX Poster Session,2008
[6] Liu H K,Jin H,Liao X F,et al.Live Migration of virtual machine based on full system trace and replay[C]∥ACM International Symposium on High Performance Distributed Computing.2009:101-110
[7] Hines M R,Gopalan K.Post-copy based live virtual machine migration using adaptive pre-paging and dynamic self-ballooning[C]∥Proc.of the ACM/ Usenix International Conference on Virtual Execution Environments(VEE’09).2009:51-60
[8] Hirofuchi T,Nakada H,Itoh S,et al.Reactive consolidation ofvirtual machines enabled by postcopy live migration[C]∥Proc.of the 5th International Workshop on Virtualization Technologies in Distributed Computing.2011:11-18
[9] Barham P,Dragovic B,Fraser K,et al.Xen and the art of virtua-lization[C]∥Bolton Landing:Proceedings of the 19th ACM Symposium on Operating System Principles.2003:164-177
[10] Menon A,Santos J R,Turner Y,et al.Diagnosing Performance Overheads in the Xen Virtual Machine Environment[C]∥Proc.of the First ACM/USENIX International Conference on Virual Execution Environments.2005:13-23
[11] Jin H,Deng L,Wu S,et al.Live virtual machine migration with adaptive memory compression[C]∥Proc.of the 2009IEEE International Conference on Cluster Computing(Cluster 2009).2009
[12] Zhao W M,Wang Z L,Luo Y W.Dynamic Memory Balancing for Virtual Machines[C]∥Proc.of the 2009ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments.2009:37-47
[13] Du Y Y,Yu H L,Shi G G,et al.Microwiper:Efficient Memory Propagation in Live Migration of Virtual Machines[C]∥Proc.of the 201039th International Conference on Parallel Processing.2010:141-149
[14] 陈阳,怀进鹏,胡春明.基于内存混合复制方式的虚拟机在线迁移机制[J].计算机学报,2011,34(12):2279-2291

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!