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

计算机工程

• 开发研究与工程应用 • 上一篇    下一篇

基于NoC分布式多核系统中任务迁移的实现

王 良,付方发,刘钊池,来逢昌   

  1. (哈尔滨工业大学微电子中心,哈尔滨 150001)
  • 收稿日期:2013-04-15 出版日期:2014-05-15 发布日期:2014-05-14
  • 作者简介:王 良(1989-),男,硕士研究生,主研方向:多核通信,多核任务调度与迁移;付方发,讲师、博士;刘钊池,硕士研究生;来逢昌,副教授。
  • 基金资助:
    中央高校基本科研业务费专项基金资助项目(HIT.NSRIF.2014039);国防重点学科实验室开放基金资助项目。

Implementation of Task Migration in Distributed Multi-core System Based on NoC

WANG Liang, FU Fang-fa, LIU Zhao-chi, LAI Feng-chang   

  1. (Microelectronics Center, Harbin Institute of Technology, Harbin 150001, China)
  • Received:2013-04-15 Online:2014-05-15 Published:2014-05-14

摘要: 为降低多核系统中任务迁移的开销,在片上网络分布式多核系统的基础上实现一种低开销的任务迁移方案。借助于多核消息传递接口模型中并行程序与任务映射无关的特点,采用更新任务映射表的方式完成任务的重新映射,通过在μC/OS-II操作系统中传递任务的堆栈以及任务控制块实现任务状态在多核节点间的传递,任务迁移到另一节点后能够恢复原来的状态继续执行,不需要传递任务代码,并且任务状态的保存不需要迁移点。实验结果证明,该任务迁移方案能够及时响应任务迁移请求,具有低开销的特点,可较好地满足系统中任务的实时性要求。

关键词: 分布式多核系统, 任务迁移, 低开销, 多核消息传递接口, 任务映射表, 迁移点

Abstract: In order to decrease task migration overhead in distributed multi-core system, a low-cost task migration scheme is implemented on the distributed multi-core system based on Network on Chip(NoC). The task migration scheme depends on the distributed multi-core system message passing interface, in which program is independent of task mapping. Task is remapped by updating task mapping table. The task state including task stack and task control block in μC/OS-II operating system is transferred to another node, on which the migrated task restores execution. The task migration scheme needs not transfer task code, and task state saving does not use checkpoints. Experimental results show that in this migration scheme, the task migration scheme has little influence on task execution and immediate response to migration request. Therefore, the task migration scheme is low cost and can meet real-time requirements in system.

Key words: distributed multi-core system, task migration, low-cost, multi-core message passing interface, task mapping table, transfer point

中图分类号: