东北大学学报:自然科学版 ›› 2016, Vol. 37 ›› Issue (1): 29-33.DOI: 10.12068/j.issn.1005-3026.2016.01.007

• 信息与控制 • 上一篇    下一篇

Pre-record:一种高效的进程动态迁移算法

单中元, 乔建忠, 林树宽   

  1. (东北大学 信息科学与工程学院, 辽宁 沈阳110819)
  • 收稿日期:2014-11-21 修回日期:2014-11-21 出版日期:2016-01-15 发布日期:2016-01-08
  • 通讯作者: 单中元
  • 作者简介:单中元(1983-),男,辽宁沈阳人,东北大学博士研究生; 乔建忠(1964-),男,辽宁兴城人,东北大学教授,博士生导师; 林树宽(1966-),女,吉林长春人,东北大学教授,博士生导师.
  • 基金资助:
    国家自然科学基金资助项目(61272177); 中科院网络化控制系统重点实验室开放课题(WLHKZ2014007).

Pre-record: a High-Efficiency Dynamic Process Migration Algorithm

SHAN Zhong-yuan, QIAO Jian-zhong, LIN Shu-kuan   

  1. School of Information Science & Engineering, Northeastern University, Shenyang 110819, China.
  • Received:2014-11-21 Revised:2014-11-21 Online:2016-01-15 Published:2016-01-08
  • Contact: SHAN Zhong-yuan
  • About author:-
  • Supported by:
    -

摘要: 后拷贝迁移算法需要在地址空间不完整的情况下恢复进程运行,导致进程由于缺页错误过多而频频中断,严重影响了迁移的整体效率.针对这一问题,提出了Pre-record算法.该算法延长进程在源节点上的执行时间并对该过程中访问的地址空间页面加以记录,迁移时源节点优先迁移被记录的页面,然后继续推送剩余地址空间页面,保证在缺页错误发生频率最高的进程恢复运行初期能够获取所需内存页面.分析及实验结果表明,该算法能够有效降低迁移过程中缺页错误的发生率,进而提高了进程迁移的整体效率,并具有冻结时间短、剩余依赖度低等优点.

关键词: 地址空间, 分布式系统, 进程迁移, 后拷贝算法, 缺页错误

Abstract: Post-copy algorithm needs process to resume running while address space is incomplete. Due to the frequently occurring page faults, it would cause process executing intermittently which may significantly reduce migration efficiency. So, a new migration algorithm named as Pre-record was proposed to solve this problem. Based on the proposed algorithm, process execution on host node would be prolonged and the visited memory pages would be recorded. Host node will migrate these recorded pages preferentially, and then continue to push the rest of the address space. This can guarantee that the needed memory pages could have been acquired at the beginning phase of process resume running in which phase page faults have the highest frequency. Analysis and simulation experiments show that Pre-record algorithm can reduce the occurrence rate of page faults effectively and improve the efficiency of process migration, and it also has the advantages of short freeze time and less residual dependence.

Key words: address space, distributed system, process migration, post-copy algorithm, page fault

中图分类号: