Timing isolation and improved scheduling of deep neural networks for real-time systems

被引:11
|
作者
Casini, Daniel [1 ,2 ]
Biondi, Alessandro [1 ,2 ]
Buttazzo, Giorgio [1 ,2 ]
机构
[1] Scuola Super Sant Anna, Dept Excellence Robot & AI, Pisa, Italy
[2] Scuola Super Sant Anna, TeCIP Inst, Pisa, Italy
来源
SOFTWARE-PRACTICE & EXPERIENCE | 2020年 / 50卷 / 09期
关键词
deep learning; neural networks; predictability; real-time systems; temporal isolation; tensorflow;
D O I
10.1002/spe.2840
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In recent years, the performance of deep neural networks (DNNs) is significantly improved, making them suitable for many application fields, such as autonomous driving, advanced robotics, and industrial control. Despite a lot of research being devoted to improving the accuracy of DNNs, only limited efforts have been spent to enhance their timing predictability, required in several real-time applications. This paper proposes a software infrastructure based on the Linux operating system to integrate DNNs within a real-time multicore system. It has been realized by modifying both the internal scheduler of the popular TensorFlow framework and the SCHED_DEADLINE scheduling class of Linux. The proposed infrastructure allows providing timing isolation of DNN inference tasks, hence improving the determinism of the temporal interference generated by TensorFlow. The proposal is finally evaluated with a case study derived from a state-of-the-art benchmark inspired by an autonomous industrial system. Extensive experiments demonstrate the effectiveness of the proposed solution and show a significant reduction of both average and longest-observed response times of TensorFlow tasks.
引用
收藏
页码:1760 / 1777
页数:18
相关论文
共 50 条
  • [1] Neural networks for process scheduling in real-time communication systems
    Cavalieri, S
    Mirabella, O
    [J]. IEEE TRANSACTIONS ON NEURAL NETWORKS, 1996, 7 (05): : 1272 - 1285
  • [2] Artificial neural networks for real-time scheduling
    Nureldin, HM
    O'Connor, RF
    Duffill, AW
    [J]. ADVANCES IN MANUFACTURING TECHNOLOGY XII, 1998, : 251 - 256
  • [3] FAST HEURISTIC SCHEDULING BASED ON NEURAL NETWORKS FOR REAL-TIME SYSTEMS
    THAWONMAS, R
    CHAKRABORTY, G
    SHIRATORI, N
    [J]. REAL-TIME SYSTEMS, 1995, 9 (03) : 289 - 304
  • [4] Heterogeneous Scheduling of Deep Neural Networks for Low-power Real-time Designs
    Shea, Colin
    Mohsenin, Tinoosh
    [J]. ACM JOURNAL ON EMERGING TECHNOLOGIES IN COMPUTING SYSTEMS, 2019, 15 (04)
  • [5] Designing Neural Networks for Real-Time Systems
    Pearce, Hammond
    Yang, Xin
    Roop, Partha S.
    Katzef, Marc
    Strom, Torur Biskopsto
    [J]. IEEE EMBEDDED SYSTEMS LETTERS, 2021, 13 (03) : 94 - 97
  • [6] Scheduling and Timing Analysis for SAFETY-CRITICAL REAL-TIME SYSTEMS
    Burns, Alan
    Dale, Chris
    [J]. ELECTRONICS WORLD, 2010, 116 (1886): : 18 - 20
  • [7] Special issue on scheduling and timing analysis for advanced real-time systems
    Robert I. Davis
    Emmanuel Grolleau
    [J]. Real-Time Systems, 2015, 51 : 125 - 127
  • [8] Special issue on scheduling and timing analysis for advanced real-time systems
    Davis, Robert I.
    Grolleau, Emmanuel
    [J]. REAL-TIME SYSTEMS, 2015, 51 (02) : 125 - 127
  • [9] An improved dynamic scheduling algorithm for multiprocessor real-time systems
    Zhu, XB
    Tu, SL
    [J]. PARALLEL AND DISTRIBUTED COMPUTING, APPLICATIONS AND TECHNOLOGIES, PDCAT'2003, PROCEEDINGS, 2003, : 710 - 714
  • [10] RealNet:: a neural network architecture for real-time systems scheduling
    Domínguez, E
    Jerez, J
    Llopis, L
    Morante, A
    [J]. NEURAL COMPUTING & APPLICATIONS, 2004, 13 (04): : 281 - 287