Multiprocessor Real-Time Scheduling with Hierarchical Processor Affinities

被引:7
|
作者
Bonifaci, Vincenzo [1 ]
Brandenburg, Bjoern [2 ]
D'Angelo, Gianlorenzo [3 ]
Marchetti-Spaccamela, Alberto [4 ]
机构
[1] CNR, IASI, I-00185 Rome, Italy
[2] SWS, MPI, Madison, WI 53703 USA
[3] Gran Sasso Sci Inst, Laquila, Italy
[4] Sapienza Univ Roma, Rome, Italy
关键词
TASK SYSTEMS;
D O I
10.1109/ECRTS.2016.24
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Many multiprocessor real-time operating systems offer the possibility to restrict the migrations of any task to a specified subset of processors by setting affinity masks. A notion of "strong arbitrary processor affinity scheduling" (strong APA scheduling) has been proposed; this notion avoids schedulability losses due to overly simple implementations of processor affinities. Due to potential overheads, strong APA has not been implemented so far in a real-time operating system. We show that, in the special but highly relevant case of hierarchical processor affinities (HPA), strong APA scheduling can be implemented with a vastly improved runtime complexity. In particular, we present a strong HPA scheduler with a runtime complexity of O(m) per task arrival and O(log n+m(2)) per task departure, where m is the number of processors and n is the number of tasks, thus improving on the previous bounds of O(m(2)) and O(mn). The improved runtime algorithms allowed us to implement support for strong hierarchical processor affinities in LITMUSRT. We benchmarked this implementation on a 24-core platform and observed nonnegligible, but still viable runtime overheads. Additionally, in the case of a bilevel affinity hierarchy and when job priorities are based on deadlines, we argue that the performance of our strong HPA scheduler, HPA-EDF, can be related to system optimality in the following way: any collection of jobs that is schedulable (under any policy) on m unit-speed processors subject to hierarchical affinity constraints is correctly scheduled by HPA-EDF on m processors of speed 2.415.
引用
收藏
页码:237 / 247
页数:11
相关论文
共 50 条
  • [1] Multiprocessor real-time scheduling with arbitrary processor affinities: from practice to theory
    Gujarati, Arpan
    Cerqueira, Felipe
    Brandenburg, Bjoern B.
    [J]. REAL-TIME SYSTEMS, 2015, 51 (04) : 440 - 483
  • [2] Multiprocessor real-time scheduling with arbitrary processor affinities: from practice to theory
    Arpan Gujarati
    Felipe Cerqueira
    Björn B. Brandenburg
    [J]. Real-Time Systems, 2015, 51 : 440 - 483
  • [3] Multiprocessor real-time scheduling
    Anderson, James H.
    Devi, UmaMaheswari
    [J]. JOURNAL OF SYSTEMS ARCHITECTURE, 2011, 57 (05) : 485 - 486
  • [4] Real-time scheduling algorithms for multiprocessor
    Algorithmes pour l'ordonnancement temps réel multiprocesseur
    [J]. 1600, Lavoisier (48): : 7 - 8
  • [5] A Novel Task-to-Processor Assignment Approach for Optimal Multiprocessor Real-time Scheduling
    Duy, Doan
    Tanaka, Kiyofumi
    [J]. 2018 IEEE 12TH INTERNATIONAL SYMPOSIUM ON EMBEDDED MULTICORE/MANY-CORE SYSTEMS-ON-CHIP (MCSOC 2018), 2018, : 101 - 108
  • [6] Computation scheduling in multiprocessor real-time automatic control systems with constrained processor memory
    D. S. Guz
    M. G. Furugyan
    [J]. Automation and Remote Control, 2005, 66 : 295 - 303
  • [7] Computation scheduling in multiprocessor real-time automatic control systems with constrained processor memory
    Guz, DS
    Furugyan, MG
    [J]. AUTOMATION AND REMOTE CONTROL, 2005, 66 (02) : 295 - 303
  • [8] A hierarchical processor scheduling policy for multiprocessor systems
    Ayachi, S
    Dandamudi, SP
    [J]. EIGHTH IEEE SYMPOSIUM ON PARALLEL AND DISTRIBUTED PROCESSING, PROCEEDINGS, 1996, : 100 - 109
  • [9] Scheduling algorithms for multiprocessor real-time systems
    Zhang, LC
    Huang, JW
    Zheng, Y
    [J]. ICICS - PROCEEDINGS OF 1997 INTERNATIONAL CONFERENCE ON INFORMATION, COMMUNICATIONS AND SIGNAL PROCESSING, VOLS 1-3: THEME: TRENDS IN INFORMATION SYSTEMS ENGINEERING AND WIRELESS MULTIMEDIA COMMUNICATIONS, 1997, : 1470 - 1474
  • [10] An optimal multiprocessor real-time scheduling algorithm
    Khemka, A
    Shyamasundar, RK
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1997, 43 (01) : 37 - 45