This Article 
 Bibliographic References 
 Add to: 
QoS Control for Pipelines of Tasks Using Multiple Resources
March 2010 (vol. 59 no. 3)
pp. 416-430
Tommaso Cucinotta, Scuola Superiore Sant'Anna, Pisa
Luigi Palopoli, University of Trento, Trento
We consider soft real-time applications organized as pipelines of tasks using resources of different type (communication, computation, and storage). The applications are assumed to be periodically triggered and the different tasks communicate by unidirectional buffers. The problem we cope with is how to effectively share the resources so that some specified Quality of Service (QoS) requirements are met. The QoS considered here is tightly related to the end-to-end temporal behavior of the application. To compensate for time-varying resource requirements, we advocate a distributed control approach whereby the scheduling parameters of each task are tuned depending on the temporal behavior of the application measured by appropriate sensors. The use of real-time scheduling strategies enables a mathematically safe control design in which the QoS requirements are translated into control goals, and formal proofs are provided on the ability of the controller to fulfil these goals. We also offer extensive simulations that validate the approach for multimedia applications.

[1] L. Abeni, T. Cucinotta, G. Lipari, L. Marzario, and L. Palopoli, “QoS Management through Adaptive Reservations,” Real-Time Systems J., vol. 29, nos. 2/3, pp. 131-155, Mar. 2005.
[2] L. Abeni and G. Buttazzo, “Integrating Multimedia Applications in Hard Real-Time Systems,” Proc. IEEE Real-Time Systems Symp., Dec. 1998.
[3] L. Abeni and G. Buttazzo, “Adaptive Bandwidth Reservation for Multimedia Computing,” Proc. IEEE Int'l Conf. Real Time Computing Systems and Applications, Dec. 1999.
[4] L. Abeni, L. Palopoli, G. Lipari, and J. Walpole, “Analysis of a Reservation-Based Feedback Scheduler,” Proc. Real-Time Systems Symp., Nov. 2002.
[5] N.C. Audsley, A. Burns, M.F. Richardson, and A.J. Wellings, “Data Consistency in Hard Real-Time Systems,” Informatica (Slovenia), vol. 19, no. 2, 1995.
[6] S.K. Baruah, N.K. Cohen, C.G. Plaxton, and D.A. Varvel, “Proportionate Progress: A Notion of Fairness in Resource Allocation,” Algorithmica, vol. 15, no. 6, pp. 600-625, 1996.
[7] S.S. Battacharyya, E.A. Lee, and P.K. Murthy, Software Synthesis from Dataflow Graphs. Kluwer Academic Publishers, 1996.
[8] F. Blanchini, “Set Invariance in Control,” Automatica, vol. 35, no. 11, pp. 1747-1767, 1999.
[9] G. Edward, P. Box, and G. Jenkins, Time Series Analysis, Forecasting and Control. Holden Day, Incorporated, 1990.
[10] G. Calafiore and M.C. Camp, “Interval Predictors for Unknown Dynamical Systems: An Assessment of Reliability,” Proc. 41st IEEE Conf. Decision and Control (CDC '02), Dec. 2002.
[11] A. Cervin, J. Eker, B. Bernhardsson, and K.-E. Årzén, “Feedback-Feedforward Scheduling of Control Tasks,” Real-Time Systems, vol. 23, pp. 25-53, 2002.
[12] T. Cucinotta, “Access Control for Adaptive Reservations on Multi-User Systems,” Proc. 14th IEEE Real-Time and Embedded Technology and Applications Symp. (RTAS '08), Apr. 2008.
[13] T. Cucinotta, L. Palopoli, L. Marzario, and G. Lipari, “AQuoSA—Adaptive Quality of Service Architecture,” Software—Practice and Experience, vol. 39, no. 1, pp. 1-31, Jan. 2009.
[14] E. Eide, T. Stack, J. Regehr, and J. Lepreau, “Dynamic cpu Management for Real-Time, Middleware-Based Systems,” Proc. 10th IEEE Real-Time and Embedded Technology and Applications Symp., May 2004.
[15] E. Gelenbe, R. Lent, and A. Nunez, “Self-Aware Networks and QoS,” Proc. IEEE, vol. 92, no. 9, pp. 1478-1489, Sept. 2004.
[16] R. Gerber, S. Hong, and M. Saksena, “Guaranteeing Real-Time Requirements with Resource-Based Calibration of Periodic Processes,” IEEE Trans. Software Eng., vol. 21, no. 7, pp. 579-592, July 1995.
[17] S. Ghosh, J. Hansen, R. (Raj) Rajkumar, and J. Lehoczky, “Integrated Resource Management and Scheduling with Multi-Resource Constraints,” Proc. 25th IEEE Int'l Real-Time Systems Symp. (RTSS '04), pp. 12-22, 2004.
[18] C.D. Gill, J.M. Gossett, D. Corman, J.P. Loyall, R.E. Schantz, M. Atighetchi, and D.C. Schmidt, “Integrated Adaptive QoS Management in Middleware: A Case Study,” Real-Time Systems, vol. 29, nos. 2/3, pp. 101-130, Mar. 2005.
[19] S. Goddard and K. Jeffay, “Managing Latency and Buffer Requirements in Processing Graph Chains,” Computer J., vol. 44, no. 6, pp. 486-503, 2001.
[20] A. Goel, J. Walpole, and M. Shor, “Real-Rate Scheduling,” Proc. Real-Time and Embedded Technology and Applications Symp., p. 434, 2004.
[21] F. Harada, T. Ushio, and Y. Nakamoto, “Adaptive Resource Allocation Control for Fair QoS Management,” IEEE Trans. Computers, vol. 56, no. 3, pp. 344-357, Mar. 2007.
[22] D.-I. Kang, R. Gerber, and M. Saksena, “Parametric Design Synthesis of Distributed Embedded Systems,” IEEE Trans. Computers, vol. 49, no. 11, pp. 1155-1169, Nov. 2000.
[23] Y. Krishnamurthy, V. Kachroo, D.A. Karr, C. Rodrigues, J.P. Loyall, R.E. Schantz, and D.C. Schmidt, “Integration of QoS-Enabled Distributed Object Computing Middleware for Developing Next-Generation Distributed Application,” Proc. Workshop Language, Compiler and Tool Support for Embedded Systems (LCTES)/Workshop Optimization of Middleware and Distributed Systems (OM), pp. 230-237, 2001.
[24] C. Lu, J. Stankovic, G. Tao, and S. Son, “Feedback Control Real-Time Scheduling: Framework, Modeling and Algorithms,” J. Real-Time Systems, Special Issue on Control-Theoretic Approaches to Real-Time Computing, vol. 23, nos. 1/2, pp. 85-126, Sept. 2002.
[25] C. Lu, X. Wang, and X. Koutsoukos, “Feedback Utilization Control in Distributed Real-Time Systems with End-to-End Tasks,” IEEE Trans. Parallel and Distributed Systems, vol. 16, no. 6, pp. 550-561, June 2005.
[26] W.A. Najjar, E.A. Lee, and G.R. Gao, “Advances in the Dataflow Computational Model,” Parallel Computing, vol. 25, nos. 13/14, pp.1907-1929, 1999.
[27] L. Palopoli and T. Cucinotta, “Feedback Scheduling for Pipelines of Tasks,” Proc. 10th Conf. Hybrid Systems Computation and Control 2007 (HSCC '07), Apr. 2007.
[28] L. Palopoli, T. Cucinotta, and A. Bicchi, “Quality of Service Control in Soft Real-Time Applications,” Proc. IEEE 2003 Conf. Decision and Control (CDC '03), Dec. 2003.
[29] R. Rajkumar, C. Lee, J.P. Lehoczky, and D.P. Siewiorek, “Practical Solutions for QoS-Based Resource Allocation,” Proc. Real-Time Systems Symp. (RTSS), pp. 296-306, 1998.
[30] R. Rajkumar, K. Juvva, A. Molano, and S. Oikawa, “Resource Kernels: A Resource-Centric Approach to Real-Time and Multimedia Systems,” Proc. SPIE/ACM Conf. Multimedia Computing and Networking, Jan. 1998.
[31] J. Regehr and J.A. Stankovic, “Augmented CPU Reservations: Towards Predictable Execution on General-Purpose Operating Systems,” Proc. IEEE Real-Time Technology and Applications Symp. (RTAS '01), May 2001.
[32] M. Roitzsch and M. Pohlack, “Principles for the Prediction of Video Decoding Times Applied to MPEG-1/2 and MPEG-4 Part 2 Video,” Proc. 27th IEEE Real-Time Systems Symp. (RTSS '06), Dec. 2006.
[33] N. Shankaran, X.D. Koutsoukos, D.C. Schmidt, Y. Xue, and C. Lu, “Hierarchical Control of Multiple Resources in Distributed Real-Time and Embedded Systems,” Proc. 18th Euromicro Conf. Real-Time Systems (ECRTS '06), pp. 151-160, 2006.
[34] D. Steere, A. Goel, J. Gruenberg, D. McNamee, C. Pu, and J. Walpole, “A Feedback-Driven Proportion Allocator for Real-Rate Scheduling,” Proc. Third Usenix-Osdi, Feb. 1999.
[35] D. Steere, M.H. Shor, A. Goel, J. Walpole, and C. Pu, “Control and Modeling Issues in Computer Operating Systems: Resource Management for Real-Rate Computer Applications,” Proc. 39th IEEE Conf. Decision and Control (CDC '00), Dec. 2000.
[36] I. Stoica, H. Abdel-Wahab, K. Jeffay, S.K. Baruah, J.E. Gehrke, and C.G. Plaxton, “A Proportional Share Resource Allocation Algorithm for Real-Time, Time-Shared Systems,” Proc. IEEE Real-Time Systems Symp., Dec. 1996.
[37] P. Valente and L. Rizzo, “Hybrid: Achieving Deterministic Fairness and High Throughput in Disk Scheduling,” Proc. Int'l Conf. Computing, Comm. and Control Technologies (CCCT '04), Aug. 2004.
[38] R. Zhang, C. Lu, T.F. Abdelzaher, and J.A. Stankovic, “Controlware: A Middleware Architecture for Feedback Control of Software Performance,” Proc. Int'l Conf. Distributed Computing Systems, July 2002.

Index Terms:
Soft real-time systems, resource reservations, QoS control.
Tommaso Cucinotta, Luigi Palopoli, "QoS Control for Pipelines of Tasks Using Multiple Resources," IEEE Transactions on Computers, vol. 59, no. 3, pp. 416-430, March 2010, doi:10.1109/TC.2009.116
Usage of this product signifies your acceptance of the Terms of Use.