首页> 外文期刊>Journal of Parallel and Distributed Computing >Supporting lock-free synchronization in Pfair-scheduled real-time systems
【24h】

Supporting lock-free synchronization in Pfair-scheduled real-time systems

机译:在Pfair安排的实时系统中支持无锁同步

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

摘要

We consider the use of lock-free techniques for implementing shared objects in real-time Pfair-scheduled multiprocessor systems. Lock-free objects are more economical than locking techniques when implementing relatively simple objects such as buffers, stacks, queues, and lists. However, the use of such objects on real-time multiprocessors is generally considered impractical due to the need for analytical realtime guarantees. In this paper, we explain how the quantum-based nature of Pfair scheduling enables the effective use of such objects on real-time multiprocessors and present analysis specific to Pfair-scheduled systems. In addition, we show that analytical improvements can be obtained by using such objects in conjunction with group-based scheduling techniques. In this approach, a group of tasks is scheduled as a single entity (called a supertask in the Pfair literature). Such grouping prevents tasks from executing simultaneously, and hence from executing in parallel. Consequently, grouping tasks can improve the worst-case scenario with respect to object contention. Grouping also enables the use of less costly uniprocessor algorithms when all tasks sharing an object reside within the same group. We illustrate these optimizations with a case study that focuses on shared queues. Finally, we present and experimentally evaluate a simple heuristic for grouping tasks in order to reduce object contention. Though the analysis presented herein focuses specifically on Pfair-scheduled systems, the observations and techniques should be applicable to other quantum-scheduled systems as well.
机译:我们考虑使用无锁技术在实时Pfair调度的多处理器系统中实现共享对象。当实现相对简单的对象(例如缓冲区,堆栈,队列和列表)时,无锁对象比锁技术更经济。但是,由于需要分析实时保证,因此在实时多处理器上使用此类对象通常被认为是不切实际的。在本文中,我们解释了Pfair调度的基于量子的性质如何使这些对象在实时多处理器上得到有效利用,并介绍了针对Pfair调度系统的分析。此外,我们表明可以通过将此类对象与基于组的调度技术结合使用来获得分析改进。在这种方法中,将一组任务安排为单个实体(在Pfair文献中称为超级任务)。这样的分组防止任务同时执行,从而阻止并行执行。因此,分组任务可以改善关于对象争用的最坏情况。当共享一个对象的所有任务都位于同一组中时,分组还可以使用成本更低的单处理器算法。我们将通过一个针对共享队列的案例研究来说明这些优化。最后,我们提出并实验评估了一种用于分组任务的简单启发式方法,以减少对象争用。尽管本文介绍的分析专门针对Pfair计划的系统,但是这些观察和技术也应适用于其他量子计划的系统。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号