当前位置:主页 > 科技论文 > 计算机论文 >

虚拟机检查点优化机制研究

发布时间:2018-12-18 20:10
【摘要】:作为虚拟化的个重要特性,检查点可以对虚拟机进行系统级的状态保存,并确保完成后虚拟机可以继续运行,目前已经广泛应用于集群和数据中心的系统维护、容错灾备及测试调试上。尽管全系统级检查点是种广泛使用且有效的状态保存策略,但由于它需要向磁盘写入大量的数据而导致检查点时间过长,进而影响虚拟机的服务质量及系统的可扩展性,而且随着虚拟机内存配置的增加,检查点时间随之线性增加。 虚拟机检查点优化机制有效地解决了上述问题。该机制针对虚拟机在不同负载下的内存变化特征,首先分析脏页集随时间的变化情况,然后以字节为单位细粒度分析脏页面内脏数据的变化情况,,从而代替传统方法中的页面粒度,并分析了脏字节在脏页面内的分布情况。根据上述分析结果,该机制采用脏页记录机制记录虚拟机运行过程中产生的脏页,通过脏页位图进行标记,采用Delta内存压缩方案无失真地提取出脏页面中的脏数据,减少了虚拟机状态中的冗余数据,并使用多线程技术加快了内存压缩。另外,该机制通过分析虚拟机的脏页分布特征,提出了种快速扫描虚拟机脏页位图的方法找到变脏页面,有效减少了虚拟机的检查点时间。 实验表明,与Xen中原始的全系统检查点方法相比,在内存配置1GB时,该机制平均可减少70.54%的检查点时间,对于大内存的虚拟机还可以取得更好的性能;与Remus以页面为粒度的增量式检查点方法相比,该机制平均减少52.88%的检查点文件大小;与Xen中传统的脏页位图扫描方法相比,该机制的平均扫描时间减少了91.13%。
[Abstract]:As an important feature of virtualization, checkpoint can save the state of virtual machine at system level and ensure that the virtual machine can continue to run after completion, which has been widely used in system maintenance of cluster and data center. Fault-tolerant disaster preparedness and test debugging. Although the whole system checkpoint is a widely used and effective state preservation strategy, because it needs to write a large amount of data to the disk, the checkpoint time is too long, which affects the quality of service of virtual machine and the expansibility of the system. And with the increase of virtual machine memory configuration, checkpoint time increases linearly. The checkpoint optimization mechanism of virtual machine effectively solves the above problems. According to the memory characteristics of virtual machine under different loads, the mechanism firstly analyzes the change of dirty page set with time, and then analyzes the change of visceral data of dirty page with fine granularity in bytes. In order to replace the traditional method of page granularity, and analyze the distribution of dirty sections in dirty pages. According to the above analysis results, this mechanism uses the dirty page recording mechanism to record the dirty pages generated in the running process of the virtual machine, marks the dirty pages by the dirty page bitmap, and extracts the dirty data from the dirty pages without distortion by using the Delta memory compression scheme. The redundant data in virtual machine state is reduced and memory compression is accelerated by multi-thread technology. In addition, by analyzing the distribution characteristics of the dirty pages of the virtual machine, this mechanism proposes a method of quickly scanning the dirty page bitmap of the virtual machine to find the dirty pages, which effectively reduces the checkpoint time of the virtual machine. The experimental results show that compared with the original full-system checkpoint method in Xen, the mechanism can reduce the checkpointing time by 70.54% on average when the memory is configured with 1GB, and it can also achieve better performance for the large memory virtual machine. Compared with the incremental checkpoint method with page granularity in Remus, this mechanism reduces the average checkpoint file size by 52.88%, and reduces the average scanning time by 91.13% compared with the traditional dirty page bitmap scanning method in Xen.
【学位授予单位】:华中科技大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP302

【参考文献】

相关期刊论文 前2条

1 刘鹏程;陈榕;;面向云计算的虚拟机动态迁移框架[J];计算机工程;2010年05期

2 温抿雄;李沁;;虚拟机迁移系统网络连接重定向技术[J];计算机应用研究;2009年05期



本文编号:2386430

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2386430.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户c6ff8***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com