首页 | 官方网站   微博 | 高级检索  
     

改进的内存预拷贝动态迁移算法
引用本文:代西超,南建国,黄 雷,黄金科,张 超. 改进的内存预拷贝动态迁移算法[J]. 计算机工程与应用, 2016, 52(23): 88-93
作者姓名:代西超  南建国  黄 雷  黄金科  张 超
作者单位:空军工程大学 航空航天工程学院,西安 710038
摘    要:由于预拷贝迁移算法的迭代拷贝过程存在重复地拷贝同一个内存页的问题,从而导致拷贝内存页数量的增加和总迁移时间的延长。对脏页拷贝策略进行改进,将修改频繁的脏页在停机拷贝阶段传输,从而有效地缩短总迁移时间。然而该策略的改进又导致停机拷贝阶段的页面增多而引起停机时间延长,于是采用LZO压缩算法将停机阶段待拷贝的页面先压缩再传输,通过降低待传输的数据量来缩短停机时间。在进行虚拟机迁移实验时,与预拷贝迁移算法相比,结果表明该算法在未延长停机时间的同时,缩短了总迁移时间,尤其是在高脏页率环境下,该算法明显表现出更优的迁移性能。

关 键 词:云计算  虚拟化  虚拟机  动态迁移  

Improved memory pre-copy live migration method
DAI Xichao,NAN Jianguo,HUANG Lei,HUANG Jinke,ZHANG Chao. Improved memory pre-copy live migration method[J]. Computer Engineering and Applications, 2016, 52(23): 88-93
Authors:DAI Xichao  NAN Jianguo  HUANG Lei  HUANG Jinke  ZHANG Chao
Affiliation:College of Aeronautics and Astronautics Engineering, Air Force Engineering University, Xi’an 710038, China
Abstract:Since the iterative copy has an issue of copying the same memory page repeatedly in pre-copy live migration method, it will make the memory page increase and the total migration time extend respectively. This paper attempts to improve the strategy of copying the dirty pages. Specially, the frequently updated page is transported in the stage of stop-and-copy, which can decrease the total migration time effectively. However, this may extend the downtime because the pages generated in the stage of stop-and-copy increase. Therefore, it utilizes the LZO method to compress the pages in the stage of stop and then transport them, which can shorten the downtime by reducing the data volume. Applying the above method to virtual machine migration, experimental results show that the method shortens the total migration time clearly comparing with the pre-copy method, especially in the case of high-rate dirty pages.
Keywords:
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号