An optimal algorithm for scheduling soft aperiodic tasks indynamic-priority preemptive systems |
| |
Authors: | Ripoll I. Crespo A. Garcia-Fornes A. |
| |
Affiliation: | Dept. de Ingenieria de Sistemas, Comput. y Autom., Univ. Politecnica de Valencia; |
| |
Abstract: | The paper addresses the problem of jointly scheduling tasks with both hard and soft real time constraints. We present a new analysis applicable to systems scheduled using a priority preemptive dispatcher, with priorities assigned dynamically according to the EDF policy. Further, we present a new efficient online algorithm (the acceptor algorithm) for servicing aperiodic work load. The acceptor transforms a soft aperiodic task into a hard one by assigning a deadline. Once transformed, aperiodic tasks are handled in exactly the same way as periodic tasks with hard deadlines. The proposed algorithm is shown to be optimal in terms of providing the shortest aperiodic response time among fixed and dynamic priority schedulers. It always guarantees the proper execution of periodic hard tasks. The approach is composed of two parts: an offline analysis and a run time scheduler. The offline algorithm runs in pseudopolynomial time O(mn), where n is the number of hard periodic tasks and m is the hyperperiod/min deadline |
| |
Keywords: | |
|
|