首页> 外文期刊>Concurrency, practice and experience >Applying fixed-priority preemptive scheduling with preemption threshold to asynchronous event handling in the RTS J
【24h】

Applying fixed-priority preemptive scheduling with preemption threshold to asynchronous event handling in the RTS J

机译:将具有抢占阈值的固定优先级抢占调度应用于RTS J中的异步事件处理

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

摘要

The primary goal of asynchronous event handlers (handlers for short) in the Real-Time Specification for Java (RTSJ) is to have a lightweight concurrency mechanism. The emphasis here is on 'lightweightness' which should be achieved by having fewer real-time threads (servers for short) to execute more handlers. However, it is generally unclear how to efficiently map handlers to servers. In this paper we first define the worst case scenario that demands the least upper bound of servers for self-suspending and non-self-suspending handlers. Based on the worst case scenarios, it is proved that the number of servers required to execute a given number of non-self-suspending handlers depends on the number of priority levels, and not on the number of handlers. It is also shown that each self-suspending handler is required to have its own server to prevent unbounded priority inversion. Based on these results we also propose to adapt the notion of preemption threshold to further minimize the number of priority levels in the system. We have extended the non-self-suspending asynchronous event handling (AEH) implementation to support the fixed-priority scheduling with preemption threshold on an existing RTSJ implementation to show that the number of servers can be further decreased while feasibly scheduling a set of non-self-suspending handlers, regardless of the number of the handlers or the priority levels in the system.
机译:Java实时规范(RTSJ)中的异步事件处理程序(简称处理程序)的主要目标是拥有轻量级的并发机制。这里的重点是“轻量级”,应该通过减少实时线程(简称服务器)来执行更多处理程序来实现。但是,通常不清楚如何有效地将处理程序映射到服务器。在本文中,我们首先定义了最坏的情况,该情况要求自悬浮和非自悬浮处理程序的服务器上限最小。基于最坏的情况,已证明执行给定数量的非自挂起处理程序所需的服务器数量取决于优先级级别的数量,而不取决于处理程序的数量。还表明,每个自挂起的处理程序都需要具有自己的服务器,以防止无限优先级倒置。基于这些结果,我们还建议采用抢占阈值的概念,以进一步减少系统中优先级的数量。我们扩展了非自悬浮异步事件处理(AEH)实施,以支持对现有RTSJ实施具有抢占阈值的固定优先级调度,以显示可以进一步减少服务器数量,同时可行地调度一组非自我暂停的处理程序,无论处理程序的数量或系统中的优先级如何。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号