Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Task Splitting and Load Balancing of Dynamic Real-Time Workloads for Semi-Partitioned EDF

Published: 01 December 2021 Publication History
  • Get Citation Alerts
  • Abstract

    Many real-time software systems, such as those commonly found in the context of multimedia, cloud computing, robotics, and real-time databases, are characterized by a dynamic workload, where applications can join and leave the system at runtime. Global schedulers can transparently support dynamic workload without requiring any off-line task-allocation phase, thus providing advantages to the system designer. Nevertheless, such schedulers exhibit poor worst-case performance when compared to semi-partitioned schedulers, which instead can achieve near-optimal schedulability performance when used in conjunction with smart task splitting and partitioning techniques, and they are also lighter in terms of run-time overhead. This article proposes an approach to efficiently schedule dynamic real-time workloads on multiprocessor systems by means of semi-partitioned scheduling. A linear-time approximation scheme for the C=D splitting algorithm under partitioned EDF scheduling is proposed. Then, a load-balancing algorithm is presented to admit new real-time workloads with a limited number of re-allocations. The article finally reports on a large-scale experimental study showing that (i) the linear-time approximation is characterized by a very limited utilization loss compared with the corresponding exact approach (that has a much higher complexity), and that (ii) the whole approach allows achieving considerable improvements with respect to global and partitioned EDF scheduling.

    References

    [1]
    T. Cucinotta, L. Abeni, L. Palopoli, and G. Lipari, “A robust mechanism for adaptive scheduling of multimedia applications,” J. ACM Trans. Embedded Comput. Syst., vol. 10, no. 4, pp. 1–24, Nov. 2011.
    [2]
    K. Konstanteli, T. Cucinotta, K. Psychas, and T. Varvarigou, “Admission control for elastic cloud services,” in Proc. 5th Int. Conf. Cloud Comput., 2012, pp. 41–48.
    [3]
    “ROS Website,” 2020. [Online]. Available: http://www.ros.org/
    [4]
    D. Casini, T. Blaß, I. Lütkebohle, and B. B. Brandenburg, “Response-time analysis of ROS 2 processing chains under reservation-based scheduling,” in Proc. 31th Euromicro Conf. Real-Time Syst., 2019, pp. 6:1–6:23.
    [5]
    R. Davis and A. Burns, “A survey of hard real-time scheduling for multiprocessor systems,” ACM Comput. Surv., vol. 43, no. 4, pp. 35:1–35:44, Oct. 2011.
    [6]
    P. Regnier, G. Lima, E. Massa, G. Levin, and S. Brandt, “Multiprocessor scheduling by reduction to uniprocessor: An original optimal approach,” Real-Time Syst., vol. 49, no. 4, pp. 436–474, Nov. 2013.
    [7]
    G. Nelissen, V. Berten, V. Nelis, J. Goossens, and D. Milojevic, “U-EDF: An unfair but optimal multiprocessor scheduling algorithm for sporadic tasks,” in Proc. 24th Euromicro Conf. Real-Time Syst., 2012, pp. 13–23.
    [8]
    E. Massa, G. Lima, P. Regnier, G. Levin, andS. Brandt,“Quasi-partitioned scheduling: Optimality and adaptation in multiprocessor real-time systems,” Real-Time Syst., vol. 52, no. 5, pp. 566–597, 2016.
    [9]
    H. Cho, B. Ravindran, and E. D. Jensen, “An optimal real-time scheduling algorithm for multiprocessors,” in Proc. 27th Real-Time Syst. Symp., 2006, pp. 101–110.
    [10]
    Y. Sun and M. Di Natale, “Pessimism in multicore global schedulability analysis,” J. Syst. Archit., vol. 97, pp. 142–152, Aug. 2019.
    [11]
    A. Biondi and Y. Sun, “On the ineffectiveness of 1/m-based interference bounds in the analysis of global EDF and FIFO scheduling,” Real-Time Syst., vol. 54, no. 3, pp. 515–536, Jul. 2018.
    [12]
    B. Brandenburg and M. Gül, “Global scheduling not required: Simple, near-optimal multiprocessor real-time scheduling with semi-partitioned reservations,” in Proc. 37th Real-Time Syst. Symp., 2016, pp. 99–110.
    [13]
    A. Burns, R. Davis, P. Wang, and F. Zhang, “Partitioned EDF scheduling for multiprocessors using a C=D task splitting scheme,” Real-Time Syst., vol. 48, pp. 3–33, Jan. 2012.
    [14]
    D. Casini, A. Biondi, and G. Buttazzo, “Semi-partitioned scheduling of dynamic real-time workload: A practical approach based on analysis-driven load balancing,” in Proc. 29th Euromicro Conf. Real-Time Syst., 2017, 13:1–13:23.
    [15]
    D. Casini, L. Abeni, A. Biondi, T. Cucinotta, and G. Buttazzo, “Constant bandwidth servers with constrained deadlines,” in Proc. 25th Int. Conf. Real-Time Netw. Syst., 2017, pp. 68–77.
    [16]
    I. Shin and I. Lee, “Compositional real-time scheduling framework with periodic model,” J. ACM Trans. Embedded Comput. Syst., vol. 7, no. 3, Apr. 2008, Art. no.
    [17]
    F. Zhang and A. Burns, “Schedulability analysis for real-time systems with EDF scheduling,” IEEE Trans. Comput., vol. 58, no. 9, pp. 1250–1258, Apr. 2009.
    [18]
    S. K. Baruah, L. E. Rosier, and R. R. Howell, “Algorithms and complexity concerning the preemptive scheduling of periodic, real-time tasks on one processor,” Real-Time Syst., vol. 2, no. 4, pp. 301–324, Oct. 1990.
    [19]
    N. Fisher, T. P. Baker, and S. Baruah, “Algorithms for determining the demand-based load of a sporadic task system,” in Proc. 12th Int. Conf. Embedded Real-Time Comput. Syst. Appl., 2006, pp. 135–146.
    [20]
    G. Buttazzo, G. Lipari, M. Caccamo, and L. Abeni, “Elastic scheduling for flexible workload management,” IEEE Trans. Comput., vol. 51, no. 3, pp. 289–302, Mar. 2002.
    [21]
    J. Real and A. Crespo, “Mode change protocols for real-time systems: A survey and a new proposal,” Real-Time Syst., vol. 26, no. 2, pp. 161–197, Mar. 2004.
    [22]
    V. Nélis, J. Marinho, B. Andersson, and S. M. Petters, “Global-EDF scheduling of multimode real-time systems considering mode independent tasks,” in Proc. 23rd Euromicro Conf. Real-Time Syst., 2011, pp. 205–214.
    [23]
    J. Lee and K. Shin, “Schedulability analysis for a mode transition in real-time multi-core systems,” in Proc. IEEE 34th Real-Time Syst. Symp., 2013, pp. 11–20.
    [24]
    D. Casini, A. Biondi, and G. Buttazzo, “Handling transients of dynamic real-time workload under EDF scheduling,” IEEE Trans. Comput., vol. 68, no. 6, pp. 820–835, Jun. 2019.
    [25]
    E. Bini and G. Buttazzo, “Measuring the performance of schedulability tests,” Real-Time Syst., vol. 30, no. 1, pp. 129–154, May 2005.
    [26]
    J. Goossens, S. Funk, and S. Baruah, “Priority-driven scheduling of periodic task systems on multiprocessors,” Real-Time Syst., vol. 25, no. 2, pp. 187–205, Sep. 2003.
    [27]
    T. Baker, “Multiprocessor EDF and deadline monotonic schedulability analysis,” in Proc. 24th Int. Real-Time Syst. Symp., 2003, pp. 120–129.
    [28]
    S. Baruah and T. Baker, “Global EDF schedulability analysis of arbitrary sporadic task systems,” in Proc. 20th Euromicro Conf. Real-Time Syst., 2008, pp. 3–12.
    [29]
    N. W. Fisher, “The multiprocessor real-time scheduling of general task systems,” Ph.D. dissertation, University of North Carolina at Chapel Hill, 2007.
    [30]
    M. Bertogna, M. Cirinei, and G. Lipari, “Schedulability analysis of global scheduling algorithms on multiprocessor platforms,” IEEE Trans. Parallel Distrib. Syst., vol. 20, no. 4, pp. 553–566, Apr. 2009.
    [31]
    N. Balakrishnan and V. B. Nevzorov, A Primer on Statistical Distributions, Hoboken, NJ, USA: Wiley, 2003.
    [32]
    J. Anderson, V. Bud, and U. Devi, “An EDF-based scheduling algorithm for multiprocessor soft real-time systems,” in Proc. 17th Euromicro Conf. Real-Time Syst., 2005, pp. 199–208.
    [33]
    B. Andersson, K. Bletsas, and S. Baruah, “Scheduling arbitrary-deadline sporadic task systems on multiprocessors,” in Proc. 29th Real-Time Syst. Symp., 2008, pp. 385–394.
    [34]
    S. Kato and N. Yamasaki, “Portioned static-priority scheduling on multiprocessors,” in Proc. 22nd Int. Symp. Parallel Distrib. Process., 2008, pp. 1–12.
    [35]
    S. Kato, N. Yamasaki, and Y. Ishikawa, “Semi-partitioned scheduling of sporadic task systems on multiprocessors,” in Proc. 21st Euromicro Conf. Real-Time Syst., 2009, pp. 249–258.
    [36]
    S. Kato and N. Yamasaki, “Semi-partitioned fixed-priority scheduling on multiprocessors,” in Proc. 15th Real-Time Embedded Technol. Appl. Symp., 2009, pp. 23–32.
    [37]
    A. Bastoni, B. B. Brandenburg, and J. H. Anderson, “Is semi-partitioned scheduling practical?” in Proc. 23rd Euromicro Conf. Real-Time Syst., 2011, pp. 125–135.
    [38]
    P. Souto, P. B. Sousa, R. I. Davis, K. Bletsas, and E. Tovar, “Overhead-aware schedulability evaluation of semi-partitioned real-time schedulers,” in Proc. 21st Int. Conf. Embedded Real-Time Comput. Syst. Appl., 2015, pp. 110–121.
    [39]
    C. Maia, P. M. Yomsi, L. Nogueira, and L. M. Pinho, “Real-time semi-partitioned scheduling of fork-join tasks using work-stealing,” EURASIP J. Embedded Syst., vol. 2017, no. 1, Sep. 2017, Art. no.
    [40]
    L. George, P. Courbin, and Y. Sorel, “Job versus portioned partitioning for the earliest deadline first semi-partitioned scheduling,” J. Syst. Archit., vol. 57, no. 5, pp. 518–535, May 2011.
    [41]
    C. Hobbs, Z. Tong, and J. Anderson, “Optimal soft real-time semi-partitioned scheduling made simple (and dynamic),” in Proc. 27rd Int. Conf. Real Time Netw. Syst., 2019, pp. 112–122.
    [42]
    M. L. Dertouzos and A. K. Mok, “Multiprocessor on-line scheduling of hard-real-time tasks,” IEEE Trans. Softw. Eng., vol. 15, no. 12, pp. 1497–1506, Dec. 1989.
    [43]
    N. Fisher, J. Goossens, and S. Baruah, “Optimal online multiprocessor scheduling of sporadic real-time tasks is impossible,” Real-Time Syst., vol. 45, no. 1, pp. 26–71, Jun. 2010.
    [44]
    A. Block and J. H. Anderson, “Accuracy versus migration overhead in real-time multiprocessor reweighting algorithms,” in Proc. 12th Int. Conf. Parallel Distrib. Syst., 2006, Art. no.
    [45]
    A. Block, J. H. Anderson, and G. Bishop, “Fine-grained task reweighting on multiprocessors,” in Proc. 11th Int. Conf. Embedded Real-Time Comput. Syst. Appl., 2005, pp. 429–435.

    Cited By

    View all
    • (2024)Ace-Sniper: Cloud–Edge Collaborative Scheduling Framework With DNN Inference Latency Modeling on Heterogeneous DevicesIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems10.1109/TCAD.2023.331438843:2(534-547)Online publication date: 1-Feb-2024
    • (2023)Multiagent Federated Deep-Reinforcement-Learning-Enabled Resource Allocation for an Air–Ground-Integrated Internet of Vehicles NetworkIEEE Internet Computing10.1109/MIC.2023.330743127:5(15-23)Online publication date: 1-Sep-2023
    • (2022)SniperProceedings of the 59th ACM/IEEE Design Automation Conference10.1145/3489517.3530474(505-510)Online publication date: 10-Jul-2022
    • Show More Cited By

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image IEEE Transactions on Computers
    IEEE Transactions on Computers  Volume 70, Issue 12
    Dec. 2021
    236 pages

    Publisher

    IEEE Computer Society

    United States

    Publication History

    Published: 01 December 2021

    Qualifiers

    • Research-article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 28 Jul 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Ace-Sniper: Cloud–Edge Collaborative Scheduling Framework With DNN Inference Latency Modeling on Heterogeneous DevicesIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems10.1109/TCAD.2023.331438843:2(534-547)Online publication date: 1-Feb-2024
    • (2023)Multiagent Federated Deep-Reinforcement-Learning-Enabled Resource Allocation for an Air–Ground-Integrated Internet of Vehicles NetworkIEEE Internet Computing10.1109/MIC.2023.330743127:5(15-23)Online publication date: 1-Sep-2023
    • (2022)SniperProceedings of the 59th ACM/IEEE Design Automation Conference10.1145/3489517.3530474(505-510)Online publication date: 10-Jul-2022
    • (2021)Migrating Constant Bandwidth Servers on Multi-CoresProceedings of the 29th International Conference on Real-Time Networks and Systems10.1145/3453417.3453441(155-164)Online publication date: 7-Apr-2021

    View Options

    View options

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media