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 条
  • [31] Real-time scheduling in distributed systems
    Thai, ND
    [J]. PAR ELEC 2002: INTERNATIONAL CONFERENCE ON PARALLEL COMPUTING IN ELECTRICAL ENGINEERING, 2002, : 165 - 170
  • [32] SCHEDULING OF HARD REAL-TIME SYSTEMS
    MOITRA, A
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1986, 241 : 362 - 381
  • [33] SCHEDULING FOR REACTIVE REAL-TIME SYSTEMS
    CHOU, P
    WALKUP, EA
    BORRIELLO, G
    [J]. IEEE MICRO, 1994, 14 (04) : 37 - 47
  • [34] Scheduling in Real-Time Mobile Systems
    Chen, Cong
    Hong, Zhong
    Jiang, Jian-Min
    [J]. ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2022, 21 (03)
  • [35] Scheduling for embedded real-time systems
    Balarin, F
    Lavagno, L
    Murphy, P
    Sangiovanni-Vincentelli, A
    [J]. IEEE DESIGN & TEST OF COMPUTERS, 1998, 15 (01): : 71 - 82
  • [36] Real-time vehicle type classification with deep convolutional neural networks
    Wang, Xinchen
    Zhang, Weiwei
    Wu, Xuncheng
    Xiao, Lingyun
    Qian, Yubin
    Fang, Zhi
    [J]. JOURNAL OF REAL-TIME IMAGE PROCESSING, 2019, 16 (01) : 5 - 14
  • [37] Real-time and Robust Driver Yawning Detection with Deep Neural Networks
    Xie, Yongquan
    Chen, Kexun
    Murphey, Yi Lu
    [J]. 2018 IEEE SYMPOSIUM SERIES ON COMPUTATIONAL INTELLIGENCE (IEEE SSCI), 2018, : 532 - 538
  • [38] Real-time and Embedded Compact Deep Neural Networks for Seagrass Monitoring
    Wang, Jiangtao
    Li, Baihua
    Zhou, Yang
    Meng, Qinggang
    Rende, Sante Francesco
    Rocco, Emanuele
    [J]. 2020 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2020, : 3570 - 3575
  • [39] Real-time vehicle type classification with deep convolutional neural networks
    Xinchen Wang
    Weiwei Zhang
    Xuncheng Wu
    Lingyun Xiao
    Yubin Qian
    Zhi Fang
    [J]. Journal of Real-Time Image Processing, 2019, 16 : 5 - 14
  • [40] Towards Real-Time Drone Detection Using Deep Neural Networks
    Pulido, Cristhiam
    Ceron, Alexander
    [J]. DEVELOPMENTS AND ADVANCES IN DEFENSE AND SECURITY, MICRADS 2021, 2022, 255 : 149 - 159