西南石油大学学报(自然科学版) ›› 2020, Vol. 42 ›› Issue (6): 181-186.DOI: 10.11885/j.issn.1674-5086.2020.05.28.02

• 油气田人工智能技术与应用专刊 • 上一篇    下一篇

油气勘探开发云虚拟机内存迁移算法改进研究

谯英, 吴易佳, 杨绪华   

  1. 西南石油大学计算机科学学院, 四川 成都 610500
  • 收稿日期:2020-05-28 发布日期:2020-12-21
  • 通讯作者: 谯英,E-mail:teachqiao@163.com
  • 作者简介:谯英,1972年生,女,汉族,四川射洪人,副教授,硕士,主要从事油田数据融合和智慧管道巡检数据处理方面的研究。E-mail:teachqiao@163.com;吴易佳,1996年生,男,汉族,四川成都人,硕士研究生,主要从事云计算安全的研究工作。E-mail:13608095948@163.com;杨绪华,1977年生,女,汉族,四川广安人,讲师,硕士,主要从事软件开发和数据处理方面的研究。E-mail:710649196@qq.com

Research on Improvement of Cloud Virtual Machine Memory Migration Algorithm for Oil and Gas Exploration and Development

QIAO Ying, WU Yijia, YANG Xuhua   

  1. College of Computer Science, Southwest Petroleum University, Chengdu, Sichuan 610500, China
  • Received:2020-05-28 Published:2020-12-21

摘要: 虚拟机动态迁移对数字油田的云平台安全建设具有重要意义。文中讨论云计算关键技术——虚拟化技术中虚拟机动态迁移机制。针对预拷贝迁移方法停机过长这一问题,在预拷贝方法的基础上,提出基于标识的动态迁移方法,能够有效地减少迁移时间,提高迁移效率。首先,新增一个计数器用于记录脏页数量,以此判断是否为频繁改动脏页;然后,设置一个window值,当频繁改动脏页的数量达到window值,将脏页全部发送至目标服务器。该方法避免了最后一次传送时页面过多而造成虚拟机停机时间过长的问题。实验结果表明,该方法在迁移时间和数据传输量上明显优于预拷贝方法,提高了虚拟机迁移效率。

关键词: 数字油田, 虚拟机技术, 动态迁移, 预拷贝, 脏页

Abstract: The dynamic migration of virtual machines is of great significance to the cloud platform security construction of digital oil fields. The paper discusses the virtual machine dynamic migration mechanism in the key technology of cloud computingvirtualization technology. Aiming at the problem of too long downtime of the pre-copy migration method, based on the pre-copy method, this paper proposes an identification-based dynamic migration method, which can effectively reduce the migration time and improve the migration efficiency. First, a counter is added to record the number of dirty pages to determine whether it is frequently changed. Then, a window value is set. When the number of frequently changed dirty pages reaches the window value, all dirty pages are sent to the target server. This method avoids the problem of excessive virtual machine downtime caused by too many pages during the last transfer. Experimental results show that this method is better than the pre-copy method in migration time and data transfer volume, and improves the efficiency of virtual machine migration.

Key words: digital oilfield, virtual machine technology, dynamic migration, pre-copy, dirty pages

中图分类号: