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

计算机工程 ›› 2013, Vol. 39 ›› Issue (2): 279-282. doi: 10.3969/j.issn.1000-3428.2013.02.058

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

基于线程流水线的多核线程调度策略

季园园,张 涛,王海鹏   

  1. (西北工业大学软件与微电子学院,西安 710072)
  • 收稿日期:2012-04-09 修回日期:2012-05-14 出版日期:2013-02-15 发布日期:2013-02-13
  • 作者简介:季园园(1986-),女,硕士研究生,主研方向:普适计算,嵌入式系统;张 涛、王海鹏,副教授
  • 基金资助:
    航空基金资助项目(20100818014)

Multi-core Thread Schedule Strategy Based on Thread Pipeline

JI Yuan-yuan, ZHANG Tao, WANG Hai-peng   

  1. (School of Software and Microelectronics, Northwestern Polytechnical University, Xi’an 710072, China)
  • Received:2012-04-09 Revised:2012-05-14 Online:2013-02-15 Published:2013-02-13

摘要: 针对多核环境中操作系统的线程调度问题,提出一种基于线程流水线的线程调度策略。基于片上多线程处理器,借鉴流水线技术的并行优势,引入线程流水线的概念。通过确定线程特征指标,计算线程流水线的聚合度及对应线程的吻合度,从而完成线程调度,并在此基础上对其进行嵌入式方向的优化。模拟真实环境的实验结果表明,与基于静态优先级的调度策略相比,该策略消耗时间较少。

关键词: 片上多线程, 调度策略, 线程流水线, 聚合度, 吻合度, 嵌入式系统

Abstract: For the problem of the operating system thread schedule in multi-core environment, this paper puts forward a thread schedule strategy based on thread pipeline. In order to take full parallel advantage of the pipeline, based on the Chip Multi-thread(CMT) processor, it introduces the concept of thread-pipeline. Through the determination of the thread feature indexes, it calculates the thread pipeline aggregations degrees, and corresponding thread coincidence degrees, thus completes the thread schedule. On this basis, it adjusts some optimization for embedded application. Through the comparative experiment simulated real environment, it verifies that thread pipeline schedule strategy can consume less time than schedule strategy based on static-priority.

Key words: Chip Multi-thread(CMT), schedule strategy, thread pipeline, aggregation degree, coincidence degree, embedded system

中图分类号: