برنامه ریزی اولویت ثابت وظایف با محدودیت های اولویت دلخواه در سیستم های توزیع شده زمان واقعی سخت
|کد مقاله||سال انتشار||مقاله انگلیسی||ترجمه فارسی||تعداد کلمات|
|7178||2000||14 صفحه PDF||سفارش دهید||محاسبه نشده|
Publisher : Elsevier - Science Direct (الزویر - ساینس دایرکت)
Journal : Journal of Systems Architecture, Volume 46, Issue 11, September 2000, Pages 991–1004
This paper considers the schedulability analysis of real-time distributed applications where tasks may present arbitrary precedence relations. It is assumed that tasks are periodic or sporadic and dynamically released. They have fixed priorities and hard end-to-end deadlines that are equal to or less than the respective period. We develop a method to transform arbitrary precedence relations into release jitter. By eliminating all precedence relations in the task set one can apply any available schedulability test that is valid for independent task sets.
Deadlines are critical in a hard real-time system. In this case it is necessary to have a pre-runtime guarantee that every task will always meet its deadline. Such pre-runtime guarantee can be attained with fixed priority scheduling . Tasks receive priorities according to some policy and a schedulability test is used off-line to guarantee that all tasks will meet their deadlines in a worst-case scenario. At runtime, a pre-emptive scheduler selects the next task to run based on their fixed priorities. Real-time scheduling in distributed systems is usually divided into two phases: allocation and local scheduling. Initially each task is assigned to a specific processor. The original allocation is permanent since it is usually not possible to migrate tasks at runtime. The second phase analyzes the schedulability of each processor. Precedence relations are common in distributed systems. They are created by the necessity of synchronization and/or transfer of data between two tasks. It is possible to use offsets  to implement precedence relations. By defining an offset between the releases of two tasks it is possible to guarantee that the successor task will start its execution only after the predecessor is finished. This technique is sometimes called “static release of tasks” . It is also possible to implement precedence relations by having the predecessor task to send a message to the successor task. It also informs the scheduler that the predecessor task has finished and the successor task can be released. This technique is sometimes called “dynamic release of tasks” . The uncertainty about the release time of the successor task can be modeled as a release jitter . Most studies on precedence relations deal only with linear precedences (“pipelines”), where each task has at most a single predecessor and a single successor. Task models that include arbitrary precedence relations do not impose such restriction. Studies that consider arbitrary precedence relations usually assume statically released tasks instead of the dynamically released tasks. Also, only a few papers consider this problem in a distributed environment. The schedulability of statically released tasks with arbitrary precedence relations executing on a single processor is analyzed in  and . In  arbitrary precedence relations are considered in a distributed environment, also for statically released tasks. Linear precedence relations are analyzed in , , , , ,  and . The work described in  implements arbitrary precedence relations by dynamically releasing tasks. It shows that release jitter can be used to model precedence relations caused by communication between tasks in different processors. That paper does not develop the approach in a detailed way. The work presented in  develops an appropriate schedulability analysis for distributed systems built on a point-to-point network. The task model includes arbitrary precedence relations, fixed priority and dynamically released tasks. Precedence relations are transformed into release jitter, so all tasks can be analyzed as they were independent. Similarly,  presents a schedulability analysis for distributed applications on a bus-based network. It assumes fixed priority and dynamically released tasks. Linear precedence relations are transformed into release jitter, so all tasks are analyzed as they were independent. Arbitrary precedence relations are possible through statically released tasks. In this paper we consider the scheduling of hard real-time tasks with arbitrary precedence constraints in a distributed environment. We assume a task model that includes fixed priority and dynamic release of tasks. The objective is to present a technique for schedulability analysis that is valid for systems where tasks are released as soon as the necessary messages have arrived. We develop transformation rules that, starting from the original task set, create equivalent sets of independent tasks with release jitter. These new sets of independent tasks can be used to evaluate the schedulability of the original task set. The method presented in this paper to transform arbitrary precedence relations into release jitter is less pessimistic than a simple direct transformation as presented in . By eliminating all precedence relations present in the original task set one arrives at a set of independent tasks. This new task set can be analyzed by any available schedulability test that is valid for independent task sets. The remainder of the paper is organized as follows: Section 2 describes the approach adopted in this work; Section 3 formulates the problem; in Section 4 we develop a set of transformation rules; Section 5 describes a schedulability test algorithm; simulation results are presented in Section 6; finally, concluding remarks are presented in Section 7.
نتیجه گیری انگلیسی
This paper presented a new method to transform arbitrary precedence relations into release jitter in a distributed real-time application. It is supposed that tasks are dynamically released and are dispatched according to their fixed priorities. We considered periodic and sporadic tasks that have a deadline less than or equal to their period. By eliminating all precedence relations in the task set one can apply any available schedulability test that is valid for independent task sets. The correctness of our method was showed through the demonstration of several theorems. These theorems are the building blocks of the algorithm presented in Section 5. Simulations were done to highlight the advantages of this method when compared with a simple direct transformation of precedence relations to release jitter. Although our method results in a sufficient but not necessary schedulability test, it is less pessimistic than a simple direct transformation of each precedence relation in a correspondent release jitter. As far as we known, this is the only alternative method to analyze the schedulability of task sets with arbitrary precedence relations and dynamic release of tasks in a distributed environment.