Priority inversion in dynamic priority driven scheduling algorithms due to imperfect clock synchronization

Traditionally, networks supporting hard real-time applications such as process control or manufacturing applications use static scheduling policies for message scheduling within the bus. The main reason for that being the fact that for these applications guarantees must be insured by the network. On the other hand, recent works have shown that under certain conditions or limitations in the real-time traffic it is possible to achieve guarantees with dynamic priority driven scheduling algorithms such as earliest deadline first or minimum laxity first. These guarantees are based on what is called schedulability functions. Thus, if a message set fulfils the conditions imposed by the schedulability functions, then its scheduling without missing deadlines is guaranteed. However, one common assumption for calculating the schedulability functions is that clocks of the different nodes are perfectly synchronized. This assumption does not correspond to the reality. In real distributed systems it is not possible to achieve perfect clock synchronization. In this paper, we make a step further in finding schedulability guarantees for dynamic priority driven algorithms used to schedule messages over a bus. In fact, we address the problem that can arise due to the imperfect clock synchronization of local clock of stations. We prove that this lack of clock synchronization can lead to priority inversion and propose a new schedulability test which can be used in such a case.

[1]  G. E. Taylor,et al.  Computer Controlled Systems: Theory and Design , 1985 .

[2]  M. Di Natale,et al.  Earliest deadline message scheduling with limited priority inversion , 1996, Proceedings of the 4th International Workshop on Parallel and Distributed Real-Time Systems.

[3]  N. Rivierre,et al.  Schedulability analysis of multi-access protocols for distributed real-time systems , 1993, 1993 4th Workshop on Future Trends of Distributed Computing Systems.

[4]  Nicolas Rivierre,et al.  Real-time communications over broadcast networks : the CSMA-DCR and the DOD-CSMA-CD protocols , 1993 .

[5]  Karl Johan Åström,et al.  Computer-Controlled Systems: Theory and Design , 1984 .

[6]  Yechiam Yemini,et al.  Multiple-access protocols and time-constrained communication , 1984, CSUR.

[7]  Marco Spuri,et al.  Priority inversion at the network adapter when scheduling messages with earliest deadline techniques , 1996, Proceedings of the Eighth Euromicro Workshop on Real-Time Systems.

[8]  P. Pleinevaux,et al.  Time critical communication networks: field buses , 1988, IEEE Network.

[9]  Chung Laung Liu,et al.  Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment , 1989, JACM.

[10]  John P. Lehoczky,et al.  Fixed priority scheduling of periodic task sets with arbitrary deadlines , 1990, [1990] Proceedings 11th Real-Time Systems Symposium.

[11]  Kang G. Shin,et al.  On the ability of establishing real-time channels in point-to-point packet-switched networks , 1994, IEEE Trans. Commun..

[12]  Gérard Le Lann Designing real-time dependable distributed systems , 1992, Comput. Commun..

[13]  Hermann Kopetz,et al.  Should Responsive Systems be Event-Triggered or Time-Triggered ? , 1993 .

[14]  Donald F. Towsley,et al.  Optimal scheduling policies for a class of queues with customer deadlines to the beginning of service , 1988, JACM.

[15]  Charles U. Martel,et al.  On non-preemptive scheduling of period and sporadic tasks , 1991, [1991] Proceedings Twelfth Real-Time Systems Symposium.

[16]  Yu-Chi Ho,et al.  Discrete event dynamic systems : analyzing complexity and performance in the modern world , 1992 .

[17]  Wolfgang A. Halang,et al.  Constructing Predictable Real Time Systems , 1991 .

[18]  Hermann Kopetz,et al.  Clock Synchronization in Distributed Real-Time Systems , 1987, IEEE Transactions on Computers.

[19]  Kang G. Shin,et al.  Non-preemptive scheduling of messages on controller area network for real-time control applications , 1995, Proceedings Real-Time Technology and Applications Symposium.