Workload-Efficient Deadline and Period Assignment for Maintaining Temporal Consistency under EDF

Deriving deadlines and periods for update transactions so as to maintain timeliness and data freshness while minimizing imposed workload has long been recognized an important problem in real-time database research. Despite years of active research, the state-of-the-art still has much room for improvement, particularly for periodic transactions scheduled by the Earliest Deadline First (EDF) algorithm. In this paper, we propose a practical and efficient two-phase algorithm, GEneral EDF ($({\cal G}{\cal E}_{EDF})$), for assigning periods and deadlines to EDF-scheduled update transactions. Phase 1 of $({\cal G}{\cal E}_{EDF})$ aims at finding solutions for most inputs in linear time, based on the observation that the execution times of update transactions are relatively small compared to the validity interval lengths of real-time data objects in many real-time applications. In the remaining cases for which Phase 1 fails to derive solutions, Phase 2 is invoked by employing an existing deadline-monotonic-based algorithm, which we show is also applicable to our problem. Meanwhile, we have devised several techniques which significantly reduce the cost of schedulability test, and hence greatly improve time efficiency. Our experimental results demonstrate that $({\cal G}{\cal E}_{EDF})$ outperforms existing approaches in terms of generated workloads. Although Phase 2 has a pseudopolynomial time complexity, our experimental study shows that it runs much faster than other solutions with comparable quality.

[1]  Qiong Wang,et al.  On earliest deadline first scheduling for temporal consistency maintenance , 2008, Real-Time Systems.

[2]  Rocquencourt,et al.  Analysis of Deadline Scheduled Real-Time Systems , 1996 .

[3]  Yan Zhou,et al.  Deadline Assignment and Tardiness Control for Real-Time Data Services , 2010, 2010 22nd Euromicro Conference on Real-Time Systems.

[4]  Yan Zhou,et al.  Ieee Transactions on Knowledge and Data Engineering Estimating and Enhancing Real-time Data Service Delays: Control Theoretic Approaches , 2022 .

[5]  Tei-Wei Kuo,et al.  Load adjustment in adaptive real-time systems , 1991, [1991] Proceedings Twelfth Real-Time Systems Symposium.

[6]  Krithi Ramamritham,et al.  Mutual Consistency in Real-Time Databases , 2006, 2006 27th IEEE International Real-Time Systems Symposium (RTSS'06).

[7]  Krithi Ramamritham Real-time databases , 2005, Distributed and Parallel Databases.

[8]  Sanjoy K. Baruah,et al.  Algorithms and complexity concerning the preemptive scheduling of periodic, real-time tasks on one processor , 1990, Real-Time Systems.

[9]  Young-Kuk Kim,et al.  Predictability and consistency in real-time database systems , 1995 .

[10]  Krithi Ramamritham,et al.  Where Do Time Constraints Come From? Where Do They Go? , 1996 .

[11]  Krithi Ramamritham,et al.  Deriving deadlines and periods for real-time update transactions , 1999, IEEE Transactions on Computers.

[12]  Tei-Wei Kuo,et al.  Similarity-based load adjustment for real-time data-intensive applications , 1997, Proceedings Real-Time Systems Symposium.

[13]  Sang Hyuk Son,et al.  A QoS-sensitive approach for timeliness and freshness guarantees in real-time databases , 2002, Proceedings 14th Euromicro Conference on Real-Time Systems. Euromicro RTS 2002.

[14]  Yang Guo,et al.  Statistical quality of service guarantee for temporal consistency of real-time data objects , 2004, 25th IEEE International Real-Time Systems Symposium.

[15]  Chi-Sheng Shih,et al.  State-dependent deadline scheduling , 2002, 23rd IEEE Real-Time Systems Symposium, 2002. RTSS 2002..

[16]  Xiaofeng Wang,et al.  Period and Deadline Selection for Schedulability in Real-Time Systems , 2008, 2008 Euromicro Conference on Real-Time Systems.

[17]  Jane W.-S. Liu,et al.  Maintaining Temporal Consistency: Pessimistic vs. Optimitic Concurrency Control , 1995, IEEE Trans. Knowl. Data Eng..

[18]  Doug Locke,et al.  Real-Time Databases: Real-World Requirements , 1997 .

[19]  Sang Hyuk Son,et al.  Real-Time Databases and Data Services , 2004, Real-Time Systems.

[20]  Lars Lundberg,et al.  Utilization Based Schedulability Bounds for Age Constraint Process Sets in Real-Time Systems , 2002, Real-Time Systems.

[21]  Jörgen Hansson,et al.  Dynamic on-demand updating of data in real-time database systems , 2004, SAC '04.

[22]  Giorgio Buttazzo,et al.  Hard Real-Time Computing Systems: Predictable Scheduling Algorithms and Applications , 1997 .

[23]  Song Han,et al.  Deferrable Scheduling for Maintaining Real-Time Data Freshness: Algorithms, Analysis, and Results , 2008, IEEE Transactions on Computers.

[24]  Steve Vestal,et al.  Real-time sampled signal flows through asynchronous distributed systems , 2005, 11th IEEE Real Time and Embedded Technology and Applications Symposium.

[25]  Tei-Wei Kuo,et al.  Real-Time Data Semantics and Similarity-Based Concurrency Control , 2000, IEEE Trans. Computers.

[26]  Patricia Balbastre Betoret,et al.  Minimum Deadline Calculation for Periodic Real-Time Tasks in Dynamic Priority Systems , 2008, IEEE Transactions on Computers.

[27]  Alan Burns,et al.  Choosing Task Periods to Minimise System Utilisation in Time Triggered Systems , 1996, Inf. Process. Lett..

[28]  Giorgio C. Buttazzo,et al.  Computing the Minimum EDF Feasible Deadline in Periodic Systems , 2006, 12th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA'06).

[29]  Song Han,et al.  A Schedulability Analysis of Deferrable Scheduling Using Patterns , 2008, 2008 Euromicro Conference on Real-Time Systems.

[30]  Alan Burns,et al.  Schedulability Analysis for Real-Time Systems with EDF Scheduling , 2009, IEEE Transactions on Computers.

[31]  Jörgen Hansson,et al.  Data management in real-time systems: a case of on-demand updates in vehicle control systems , 2004, Proceedings. RTAS 2004. 10th IEEE Real-Time and Embedded Technology and Applications Symposium, 2004..

[32]  Richard Gerber,et al.  Guaranteeing end-to-end timing constraints by calibrating intermediate processes , 1994, 1994 Proceedings Real-Time Systems Symposium.

[33]  Song Han,et al.  Online Scheduling Switch for Maintaining Data Freshness in Flexible Real-Time Systems , 2009, 2009 30th IEEE Real-Time Systems Symposium.