首页> 外文期刊>Real-time systems >Multiprocessor real-time scheduling with arbitrary processor affinities: from practice to theory
【24h】

Multiprocessor real-time scheduling with arbitrary processor affinities: from practice to theory

机译:具有任意处理器亲和力的多处理器实时调度:从实践到理论

获取原文
获取原文并翻译 | 示例
           

摘要

Contemporary multiprocessor real-time operating systems, such as VxWorks, LynxOS, QNX, and real-time variants of Linux, allow a process to have an arbitrary processor affinity, that is, a process may be pinned to an arbitrary subset of the processors in the system. Placing such a hard constraint on process migrations can help to improve cache performance of specific multi-threaded applications, achieve isolation among applications, and aid in load-balancing. However, to date, the lack of schedulability analysis for such systems prevents the use of arbitrary processor affinities in predictable hard real-time systems. This paper presents the first analysis of multiprocessor scheduling with arbitrary processor affinities from a real-time systems perspective. It is shown that job-level fixed-priority scheduling with arbitrary processor affinities is strictly more general than global, clustered, and partitioned job-level fixed-priority scheduling combined. Concerning the more general case of job-level dynamic priorities, it is shown that global and clustered scheduling are equivalent to multiprocessor real-time scheduling with arbitrary processor affinities. The Linux push and pull scheduler is studied as a reference implementation and two approaches for the schedulability analysis of hard real-time tasks with arbitrary processor affinities are presented. In the first approach, the scheduling problem is reduced to "global-like" sub-problems to which existing global schedulability tests can be applied. The second approach is specifically based on response-time analysis and models the response-time computation as a linear optimization problem. The latter linear-programming-based approach has better runtime complexity than the former reduction-based approach. Schedulability experiments show the proposed techniques to be effective.
机译:当代的多处理器实时操作系统(例如VxWorks,LynxOS,QNX和Linux的实时变体)允许进程具有任意处理器亲和力,也就是说,可以将进程固定到处理器中的任意处理器子集。系统。对流程迁移施加这样的严格约束可以帮助提高特定多线程应用程序的缓存性能,实现应用程序之间的隔离,并有助于负载平衡。但是,迄今为止,对于此类系统缺乏可调度性分析,无法在可预测的硬实时系统中使用任意处理器亲和力。本文从实时系统的角度对具有任意处理器亲和力的多处理器调度进行了首次分析。结果表明,具有任意处理器亲和力的作业级固定优先级调度严格比全局,群集和分区作业级固定优先级调度的组合更为通用。关于作业级动态优先级的更一般情况,表明全局调度和群集调度等效于具有任意处理器亲和力的多处理器实时调度。研究了Linux推式和拉式调度程序作为参考实现,并提出了两种用于对具有任意处理器亲和力的硬实时任务进行可调度性分析的方法。在第一种方法中,调度问题被简化为可以应用现有全局可调度性测试的“全局类”子问题。第二种方法专门基于响应时间分析,并将响应时间计算建模为线性优化问题。后一种基于线性编程的方法比前一种基于缩减的方法具有更好的运行时复杂性。可调度性实验表明所提出的技术是有效的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号