作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2020, Vol. 46 ›› Issue (3): 222-228. doi: 10.19678/j.issn.1000-3428.0054451

• 体系结构与软件技术 • 上一篇    下一篇

基于内存关联分析的预拷贝迁移优化策略

张宏伟a, 李晓欢a, 李春海a, 姚荣彬a, 唐欣b   

  1. 桂林电子科技大学 a. 信息与通信学院;b. 信息科技学院, 广西 桂林 541004
  • 收稿日期:2019-04-01 修回日期:2019-05-16 发布日期:2019-05-23
  • 作者简介:张宏伟(1994-),男,硕士研究生,主研方向为移动计算;李晓欢(通信作者),副研究员、博士、博士后;李春海,副研究员、博士研究生;姚荣彬,实验师、硕士;唐欣,助教、硕士。
  • 基金资助:
    国家自然科学基金(61762030);广西重点研发计划(2018AB15011);广西创新驱动发展专项(桂科AA17204009,桂科AA18242021);广西高校中青年教师基础能力提升项目(2018KY0830)。

Optimization Strategy for Pre-copy Migration Based on Memory Association Analysis

ZHANG Hongweia, LI Xiaohuana, LI Chunhaia, YAO Rongbina, TANG Xinb   

  1. a. School of Information and Communication;b. Institute of Information Technology, Guilin University of Electronic Technology, Guilin, Guangxi 541004, China
  • Received:2019-04-01 Revised:2019-05-16 Published:2019-05-23

摘要: 内存预拷贝迁移在密集型负载下存在内存脏页反复传输的问题,导致迭代轮数较多且大幅降低了内存预拷贝迁移的整体性能。脏页概率预测能够有效减少内存脏页反复传输的现象,然而现有脏页概率预测研究都只关注时间相关性而未考虑内存之间的空间相关性。针对该问题,提出一种基于内存关联分析的预拷贝迁移策略。通过脏页率对脏页下一轮变脏概率进行预测,设计Memory_cor算法计算出脏页的关联规则和关联内存页,避免变脏概率大的内存页及其关联内存页传输。实验结果表明,该策略在总迁移时间和停机时间上优于Xen预拷贝迁移方法。

关键词: 内存迁移, 关联分析, 预拷贝, 总迁移时间, 停机时间

Abstract: Memory pre-copy has the problem of repeated transmission of dirty pages under intensive load,which needs a large number of iterations that greatly reduce the overall performance of memory pre-copy migration.The probability prediction of dirty pages can effectively reduce the repeated transmission of dirty pages.However,the existing probability prediction research of dirty pages only focuses on the time correlation while ignoring the spatial correlation between memories.To address this problem,this paper proposes a pre-copy migration strategy based on memory association analysis.The dirty page rate is used to predict the probability of dirty page becoming dirty in the next round.The Memory_cor algorithm is designed to calculate the association rules and associated memory pages of dirty pages,so as to avoid the transmission of memory pages with high dirty probability as well as their associated memory pages.Experimental results show that the proposed strategy is superior to the Xen pre-copy migration method in terms of total migration time and downtime.

Key words: memory migration, association analysis, pre-copy, total migration time, downtime

中图分类号: