Kernel thread scheduling in real-time Linux for wearable computers

被引:6
作者
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
相关论文
共 6 条
  • [1] Bovet Daniel P, 2005, Understanding the Linux Kernel: from I/ O ports to process management
  • [2] Dietrich S.-T., 2005, 7 RTL WORKSH
  • [3] Leyva-del-Foyo Luis E., 2006, P 12 IEEE REAL TIM E
  • [4] Love R., 2005, LINUX KERNEL DEV
  • [5] MEHAFFEY J, 2004, MONTA VISTA LINUX OP
  • [6] PRIORITY INHERITANCE PROTOCOLS - AN APPROACH TO REAL-TIME SYNCHRONIZATION
    SHA, L
    RAJKUMAR, R
    LEHOCZKY, JP
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 1990, 39 (09) : 1175 - 1185