Kernel thread scheduling in real-time Linux for wearable computers

被引:5
|
作者
Kang, Dongwook [1 ]
Lee, Woojoong [1 ]
Park, Chanik [1 ]
机构
[1] POSTECH, Dept Comp Sci & Engn, Pohang, South Korea
关键词
real-time scheduling; Linux; kernel threads; priority inheritance; wearable computers;
D O I
10.4218/etrij.07.0506.0019
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
In Linux, real-time tasks are supported by separating real-time task priorities from non-real-time task priorities. However, this separation of priority ranges may not be effective when real-time tasks make the system calls that are taken care of by the kernel threads. Thus, Linux is considered a soft real-time system. Moreover, kernel threads are configured to have static priorities for throughputs. The static assignment of priorities to kernel threads causes trouble for real-time tasks when real-time tasks require kernel threads to be invoked to handle the system calls because kernel threads do not discriminate between real-time and non-real-time tasks. We present a dynamic kernel thread scheduling mechanism with weighted average priority inheritance protocol (PIP), a variation of the PIP. The scheduling algorithm assigns proper priorities to kernel threads at runtime by monitoring the activities of user-level real-time tasks. Experimental results show that the algorithms can greatly improve the unexpected execution latency of real-time tasks.
引用
收藏
页码:270 / 280
页数:11
相关论文
共 50 条
  • [1] Energy-Aware Real-Time Scheduling in the Linux Kernel
    Scordino, Claudio
    Abeni, Luca
    Lelli, Juri
    [J]. 33RD ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, 2018, : 601 - 608
  • [2] Enhancing the real-time capability of the Linux kernel
    Wang, YC
    Lin, KJ
    [J]. FIFTH INTERNATIONAL CONFERENCE ON REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS, PROCEEDINGS, 1998, : 11 - 20
  • [3] A case study of real-time applications of Real Time Linux kernel
    Rajakumar, M
    Shen, XP
    [J]. PDPTA '05: Proceedings of the 2005 International Conference on Parallel and Distributed Processing Techniques and Applications, Vols 1-3, 2005, : 1106 - 1112
  • [4] An Architecture for Declarative Real-Time Scheduling on Linux
    Serra, Gabriele
    Ara, Gabriele
    Fara, Pietro
    Cucinotta, Tommaso
    [J]. 2020 IEEE 23RD INTERNATIONAL SYMPOSIUM ON REAL-TIME DISTRIBUTED COMPUTING (ISORC 2020), 2020, : 20 - 28
  • [5] Design and implementation of real-time scheduling in Linux
    Li, Xiao-Qun
    Zhao, Hui-Bin
    Ye, Yi-Min
    Sun, Yu-Fang
    [J]. Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2003, 40 (05):
  • [6] Periodic real-time scheduling for FPGA computers
    Danne, K
    Platzner, M
    [J]. PROCEEDINGS OF THE THIRD INTERNATIONAL WORKSHOP ON INTELLIGENT SOLUTIONS IN EMBEDDED SYSTEMS, 2005, : 117 - 127
  • [7] OPTIMAL SCHEDULING STRATEGIES FOR REAL-TIME COMPUTERS
    HERZOG, U
    [J]. IBM JOURNAL OF RESEARCH AND DEVELOPMENT, 1975, 19 (05) : 494 - 504
  • [8] Study and Improvements for the Real-time Performance of Linux Kernel
    Xu, Hong
    Tang, Rong
    [J]. 2010 3RD INTERNATIONAL CONFERENCE ON BIOMEDICAL ENGINEERING AND INFORMATICS (BMEI 2010), VOLS 1-7, 2010, : 2766 - 2769
  • [9] Analysis of Linux kernel's real-time performance
    Zhang Yanyan
    Ran Xiangjin
    [J]. 2018 INTERNATIONAL CONFERENCE ON SMART GRID AND ELECTRICAL AUTOMATION (ICSGEA), 2018, : 191 - 194
  • [10] CMU wearable computers for real-time speech translation
    Smailagic, A
    Siewiorek, D
    Reilly, D
    [J]. IEEE PERSONAL COMMUNICATIONS, 2001, 8 (02): : 6 - 12