An Optimal Priority

نویسندگان

  • Ragunathan Rajkumar
  • Lui Sha
  • John P. Lehoczky
  • Krithi Ramamritham
چکیده

Hard real-time systems require predictable timing behavior, and priority-driven preemptive scheduling is increasingly being used in these systems. Resources in these enviroiments should ideally be allocated to the highest-priority task. Priority inversion is a situation in which a higher-priority job is forced to wait for a lower-priority job. Priority inversion degrades system schedulability. Hence, priority inversion should be minimized in a hard real-time environment. Unfortunately, a direct application of synchronization primitives such as semaphores, monitors, and Ada rendezvous can cause uncontrolled priority inversion, a situation in which a low-priority job blocks a higher-priority job for an indeenite period of time. In this chapter we investigate policies belonging to the class of priority inheritance policies that minimize priority inversion. We develop a priority inheritance policy called the Optimal Mutex Policy (OMP) which has two desirable properties: deadlocks are avoided and the worst-case blocking duration of a job is bounded by the duration of execution of a single critical section of a lower-priority job. Real-time systems operate under strict timing constraints and include applications such as avionics systems, space-related systems like the Space Shuttle and Space Station, production control, robotics, and defense systems. Timing constraints of diierent tasks in real-time systems can be either hard, soft, or non-existent. Introduction 247 A timing constraint is considered to be hard if it must be met at all times, or is considered to be soft if it must be met only most of the time. For example, the processing of a reactor temperature reading can have a hard deadline if it must be completed before the next reading becomes available. An operator query typically has a soft deadline with a desired average-case response time. In addition, background tasks such as on-line testing may have no associated timing constraints at all. The failure to meet hard deadlines in these systems can potentially lead to catastrophic results such as loss of life and/or property. Real-time systems tend to be embedded systems which are not generally programmed by the end-user. Unlike traditional time-shared systems, tasks in hard real-time systems are known a priori. In particular, the worst-case behavior of tasks with hard deadlines and the average-case behavior of tasks with soft deadlines are reasonably well-tested and understood. Given a set of tasks and their associated timing constraints, two distinct approaches to the implementation of real-time systems are possible. One, called the time-line approach, is typiied by the cyclical …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Optimal Signal Control in Urban Road Networks with High Priority Congested Centers

Keeping the density of traffic flow and air pollution in an acceptable level and developing a good capacity for transit in the high priority areas of the city, is really a big deal in large and crowded cities. To address this problem, a new method of intersection signal optimization is presented in this paper. Based on network fundamental diagrams, an Internal–External Traffic Metering Strategy...

متن کامل

An Optimal Utilization of Cloud Resources using Adaptive Back Propagation Neural Network and Multi-Level Priority Queue Scheduling

With the innovation of cloud computing industry lots of services were provided based on different deployment criteria. Nowadays everyone tries to remain connected and demand maximum utilization of resources with minimum timeand effort. Thus, making it an important challenge in cloud computing for optimum utilization of resources. To overcome this issue, many techniques have been proposed ...

متن کامل

Optimal Priority Assignments in P-FRP

Priority-based Functional Reactive Programming (P-FRP) has been recently introduced as a new functional programming formalism for real-time systems. P-FRP allows static priority assignment and guarantees real-time response by preempting lower priority tasks. Due to the state-less nature of functional programs, preempted tasks in P-FRP are aborted and restarted after the higher priority tasks ha...

متن کامل

Optimal Connected Urban Bus Network of Priority Lanes

This work presents a new approach and modeling for selecting an optimal network of public transport (PT) priority lanes. Bus priority schemes and techniques on urban roads and highways have proven effective for almost a half century. Many bus-priority studies have been published and demonstrated worldwide, but none is dealt with optimal connected network of PT priority lanes. The approach used ...

متن کامل

Efficient Optimal Priority Assignment for Fixed Priority Preemption Threshold Scheduling

This paper proposes an efficient priority assignment algorithm for fixed priority preemption threshold scheduling (PTS), which we named FAST-TRAVERSE. It is optimal in the sense that it always finds a feasible priority assignment if one exists. While there are existing optimal algorithms, they are inefficient to be used in practice. The key ideas of FAST-TRAVERSE are to prune sibling traverses ...

متن کامل

Optimal Priority Assignment and Feasibility of Static Priority Tasks with Arbitrary Start Times

Within the hard real-time community, static priority pre-emptive scheduling is receiving increased attention. Current optimal priority assignment schemes require that at some point in the system lifetime all tasks must be released simultaneously. Two main optimal priority assignment schemes have been proposed: rate-monotonic, where task period equals deadline, and deadlinemonotonic where task d...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995