计算机应用 ›› 2011, Vol. 31 ›› Issue (04): 938-941.DOI: 10.3724/SP.J.1087.2011.00938

• 计算机软件技术 • 上一篇    下一篇

多处理器调度算法实现及其Petri网建模与仿真

王异奇,刘青昆,张健   

  1. 辽宁师范大学 计算机与信息技术学院,辽宁 大连 116081
  • 收稿日期:2010-10-13 修回日期:2010-11-03 发布日期:2011-04-08 出版日期:2011-04-01
  • 通讯作者: 王异奇
  • 作者简介:王异奇(1985-),女,辽宁鞍山人,硕士研究生,主要研究方向:嵌入式操作系统;
    刘青昆(1971-),男,河北清苑人,副教授,博士,主要研究方向:嵌入式操作系统、分布式系统、并行计算;
    张健(1974-),男,湖南长沙人,硕士研究生,主要研究方向:嵌入式操作系统。

Realization of multiprocessor scheduling algorithm and its modeling simulation based on Petri net

Yi-qi WANG,Qing-kun LIU,Jian ZHANG   

  1. College of Computer and Information Technology, Liaoning Normal University, Dalian Liaoning 116081, China
  • Received:2010-10-13 Revised:2010-11-03 Online:2011-04-08 Published:2011-04-01
  • Contact: Yi-qi WANG

摘要: 多处理器调度算法在嵌入式实时系统领域中起着关键的作用。根据多处理器的特点,提出一种实时多处理器动态分割并行调度算法SPara。该算法解决了此前多处理器算法,如Myopic、EDPF等仅依据截止期对任务调度产生的问题,实现了增加任务紧迫度限制的调度策略,以及针对执行时间长、截止期紧迫任务的有效调度方法。同时算法结合高级颜色时间Petri网理论进行建模并仿真。测试结果表明,SPara算法在处理器利用率以及调度成功率方面较Myopic等算法有较大提高。

关键词: 实时多处理器, 并行调度, 任务分割, Petri网仿真, 可达标识图

Abstract: Multiprocessor scheduling algorithm is the key in the embedded real-time systems. According to the multiprocessor features, a new dynamic parallel scheduling algorithm of real-time multiprocessor, named Split-Parallel (SPara), was proposed. The algorithm solved the problem that the previous algorithms, such as Myopic, EDPF, only judge by the deadline to schedule the tasks, and it was also developed by adding the restriction of the urgency and an effective method as the task with long execution time and tight deadline. Furthermore, the multiprocessor scheduling algorithm which combined the theory of high-level coloured time Petri net was analyzed by modeling, and according to the model, an example of SPara algothrim was simulated and tested. The experimental results show that SPara performances are much better than the other algorithms like Myopic in processor utilization and scheduling success ratio.

Key words: real-time multiprocessor, parallel scheduling, task split, Petri net simulation, reachable marking set

中图分类号: