Adaptive real-time scheduling for legacy applications

A remarkable research activity has been carried out in the past few years to support real-time applications by means of appropriate scheduling solutions. For scarcely known or highly dynamic applications, feedback scheduling has emerged as an effective technique to tune the scheduling parameters, based on a run-time monitoring of the timing performance of the application. This technique requires a specialised API for the application and is therefore unfit for legacy applications, for which the source code is not accessible. In this paper, we present an alternative technique, called legacy feedback scheduling (LFS), for feedback based adaptation of the scheduling parameters. LFS does not make any assumption on the programming model of the application and is applicable to legacy applications. Throughout the paper, we carry out a comparison between a well settled technique (called adaptive reservations), which leverages a particular structure for the application, and LFS. The conclusion is that the greater generality and flexibility of the LFS has to be paid in terms of timing performance. However, LFS successfully identifies the ldquoaveragerdquo scheduling parameters needed to sustain a given execution rate.

[1]  Antonio Casimiro,et al.  The Timely Computing Base Model and Architecture , 2002, IEEE Trans. Computers.

[2]  Calton Pu,et al.  A feedback-driven proportion allocator for real-rate scheduling , 1999, OSDI '99.

[3]  John P. Lehoczky,et al.  The rate monotonic scheduling algorithm: exact characterization and average case behavior , 1989, [1989] Proceedings. Real-Time Systems Symposium.

[4]  Fabio Checconi,et al.  The wizard of OS: a heartbeat for Legacy multimedia applications , 2009, 2009 IEEE/ACM/IFIP 7th Workshop on Embedded Systems for Real-Time Multimedia.

[5]  Sanjoy K. Baruah,et al.  Proportionate progress: a notion of fairness in resource allocation , 1993, STOC '93.

[6]  Michael B. Jones,et al.  An overview of the Rialto real-time architecture , 1996, EW 7.

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

[8]  Hennadiy Leontyev,et al.  LITMUS^RT : A Testbed for Empirically Comparing Real-Time Multiprocessor Schedulers , 2006, 2006 27th IEEE International Real-Time Systems Symposium (RTSS'06).

[9]  Richard Gerber,et al.  Parametric Design Synthesis of Distributed Embedded Systems , 2000, IEEE Trans. Computers.

[10]  Sang Hyuk Son,et al.  Feedback Control Real-Time Scheduling: Framework, Modeling, and Algorithms* , 2001, Real-Time Systems.

[11]  Shuichi Oikawa,et al.  Resource kernels: a resource-centric approach to real-time and multimedia systems , 2001, Electronic Imaging.

[12]  Klara Nahrstedt,et al.  A control theoretical model for quality of service adaptations , 1998, 1998 Sixth International Workshop on Quality of Service (IWQoS'98) (Cat. No.98EX136).

[13]  Sang Hyuk Son,et al.  Design and evaluation of a feedback control EDF scheduling algorithm , 1999, Proceedings 20th IEEE Real-Time Systems Symposium (Cat. No.99CB37054).

[14]  Fabio Checconi,et al.  Self-tuning schedulers for legacy real-time applications , 2010, EuroSys '10.

[15]  Luigi Palopoli,et al.  Legacy Real-Time Applications in a Reservation-Based System , 2009, IEEE Transactions on Industrial Informatics.

[16]  Douglas C. Schmidt,et al.  Integration of QoS-Enabled Distributed Object Computing Middleware for Developing Next-Generation Distributed Application , 2001 .

[17]  Giorgio C. Buttazzo,et al.  Adaptive bandwidth reservation for multimedia computing , 1999, Proceedings Sixth International Conference on Real-Time Computing Systems and Applications. RTCSA'99 (Cat. No.PR00306).

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

[19]  Jonathan Walpole,et al.  Real-rate scheduling , 2004, Proceedings. RTAS 2004. 10th IEEE Real-Time and Embedded Technology and Applications Symposium, 2004..

[20]  Luigi Palopoli,et al.  On the Application of Hybrid Control to CPU Reservations , 2003, HSCC.

[21]  Luigi Palopoli,et al.  Real-time control system analysis: an integrated approach , 2000, Proceedings 21st IEEE Real-Time Systems Symposium.

[22]  Aloysius K. Mok,et al.  Resource partition for real-time systems , 2001, Proceedings Seventh IEEE Real-Time Technology and Applications Symposium.

[23]  Matt Mackall Linux-tiny And Directions For Small Systems , 2010 .

[24]  Tommaso Cucinotta,et al.  AQuoSA—adaptive quality of service architecture , 2009 .

[25]  Ragunathan Rajkumar,et al.  Linux/RK: A Portable Resource Kernel in Linux , 2005 .

[26]  Ashvin Goel,et al.  Fair and timely scheduling via cooperative polling , 2009, EuroSys '09.

[27]  Kwei-Jay Lin,et al.  Enhancing the real-time capability of the Linux kernel , 1998, Proceedings Fifth International Conference on Real-Time Computing Systems and Applications (Cat. No.98EX236).

[28]  Corporate Ieee,et al.  Information Technology-Portable Operating System Interface , 1990 .

[29]  Hideyuki Tokuda,et al.  Applying Hard Real-Time Technology to Multimedia Systems , 1993 .

[30]  B. Kedem,et al.  Spectral analysis and discrimination by zero-crossings , 1986, Proceedings of the IEEE.

[31]  Giorgio C. Buttazzo,et al.  Integrating multimedia applications in hard real-time systems , 1998, Proceedings 19th IEEE Real-Time Systems Symposium (Cat. No.98CB36279).

[32]  Reinder J. Bril,et al.  QoS Control Strategies for High-Quality Video Processing , 2004, Proceedings. 16th Euromicro Conference on Real-Time Systems, 2004. ECRTS 2004..

[33]  Stefan Savage,et al.  Processor Capacity Reserves for Multimedia Operating Systems , 1993 .

[34]  Tommaso Cucinotta,et al.  QoS Management Through Adaptive Reservations , 2005, Real-Time Systems.

[35]  Antonio Casimiro,et al.  Using the timely computing base for dependable QoS adaptation , 2001, Proceedings 20th IEEE Symposium on Reliable Distributed Systems.

[36]  Emery D. Berger,et al.  Usenix Association 8th Usenix Symposium on Operating Systems Design and Implementation 73 Redline: First Class Support for Interactivity in Commodity Operating Systems , 2022 .

[37]  Qiang Ling,et al.  Soft real-time scheduling of networked control systems with dropouts governed by a Markov chain , 2003, Proceedings of the 2003 American Control Conference, 2003..

[38]  Robin Fairbairns,et al.  The Design and Implementation of an Operating System to Support Distributed Multimedia Applications , 1996, IEEE J. Sel. Areas Commun..

[39]  Jonathan Walpole,et al.  Analysis of a reservation-based feedback scheduler , 2002, 23rd IEEE Real-Time Systems Symposium, 2002. RTSS 2002..

[40]  B. P. Bogert,et al.  The quefrency analysis of time series for echoes : cepstrum, pseudo-autocovariance, cross-cepstrum and saphe cracking , 1963 .

[41]  Iakovos S. Venieris,et al.  Supporting QoS for Legacy Applications , 2001, ICN.

[42]  B. Galler,et al.  Predicting musical pitch from component frequency ratios , 1979 .

[43]  Harrick M. Vin,et al.  A hierarchial CPU scheduler for multimedia operating systems , 1996, OSDI '96.

[44]  Eric Eide,et al.  Dynamic CPU management for real-time, middleware-based systems , 2004, Proceedings. RTAS 2004. 10th IEEE Real-Time and Embedded Technology and Applications Symposium, 2004..

[45]  Harrick M. Vin,et al.  A hierarchial CPU scheduler for multimedia operating systems , 1996, OSDI '96.