计算机工程 ›› 2011, Vol. 37 ›› Issue (21): 282-284.doi: 10.3969/j.issn.1000-3428.2011.21.096

• 开发研究与设计技术 • 上一篇    下一篇

异构多核系统中编译器指导的I/O代理技术

王珊珊,魏 迪,文延华,何王全   

  1. (江南计算技术研究所,江苏 无锡 214083)
  • 收稿日期:2011-05-30 出版日期:2011-11-05 发布日期:2011-11-05
  • 作者简介:王珊珊(1981-),女,硕士,主研方向:计算机编译技术;魏 迪,助理工程师、硕士;文延华、何王全,高级工程师
  • 基金项目:
    国家“973”计划基金资助项目(2007CB310900)

Compiler-directed I/O Agent Technique in Isomerous Multi-core System

WANG Shan-shan, WEI Di, WEN Yan-hua, HE Wang-quan   

  1. (Jiangnan Institute of Computing Technology, Wuxi 214083, China)
  • Received:2011-05-30 Online:2011-11-05 Published:2011-11-05

摘要: 在异构多核系统中,精简设计的从处理器核无法运行操作系统,且不支持终端打印和读写文件等常用I/O操作。为此,提出编译器指导、主处理器代理执行的I/O操作技术,采用信息交互、中断处理等方法,实现聚合代理并优化从处理器代码中的I/O操作功能。实验证明,编译器指导的I/O代理性能比系统级I/O代理高5倍以上。

关键词: 异构多核系统, I/O代理, 聚合优化, 编译器指导, 主处理器, 从处理器

Abstract: There is no operation system running on slave processors in isomerous multi-core architecture system, so user’s applications cannot do input and output operations, such as read/write file and printf. In order to solve the I/O problem, this paper researches compiler-directed I/O agent technique, that let the master core do I/O operations for the slave cores. Through I/O information communicating, interrupting functions, this paper realizes the I/O agent and combination optimization technique, which can gather the continuous I/O operations in slave processor codes and only do once agent. Experiments prove that the performance of compiler-directed I/O agent is about five times higher than system’s I/O agent.

Key words: isomerous multi-core system, I/O agent, combination optimization, compiler-directed, master processor, slave processor

中图分类号: