期刊文献+

Linux内核的进程调度原理及改进算法研究 被引量:2

Research for Process Schedule Fundamental and Improved Algorithm of Linux Kernel
下载PDF
导出
摘要 随着Linux在嵌入式操作系统领域的广泛应用,对Linux实时性能增强的研究也越来越多。通过对LinUX进程调度依据和进程调度过程的分析,提出了一种改进的Linux进程调度算法。该算法改造了进程调度队列数据结构,去掉了进程调度选择时的遍历步骤,更改为直接得到待选最高优先级进程,同时,该算法改统一的时间片重新分配策略为分散的时间片重算策略。通过Linux进程调度算法与改进算法的时间复杂度对比分析,改进算法将Linux调度算法O(n)级的时间复杂度降低为O(1)级时间复杂度,因此能够更好地满足实时操作系统时间可测度以及低延迟等要求。 With Linux broad application in the domain of embedded operating system, more and more researches are aimed at improving the real time performance of it. Through analyzing the schedule basis and the schedule procedure of Linux's process, this paper presents an improved algorithm for the process schedule of Linux. The proposed algorithm rebuilds the data structure of the scheduling queue, replaces the traverse step by a straight computing step for choosing the process with highest priority, and changes the uniform strategy into a dispersed recalculated strategy for time slice distributing. By comparing the primary algorithm with the improved algorithm, the latter reduces the time complexity from O(n) to O ( 1 ), and satisfies the needs of common real time operating system better.
出处 《后勤工程学院学报》 2006年第3期44-48,共5页 Journal of Logistical Engineering University
关键词 LINUX 嵌入式系统 进程调度 实时性 时间复杂度 Linux embedded system process schedule real time time complexity
  • 相关文献

参考文献10

  • 1刘文峰,李程远,李善平.嵌入式Linux操作系统的研究[J].浙江大学学报(工学版),2004,38(4):447-452. 被引量:53
  • 2贺炎,刘曙霞.Linux的进程调度策略[J].电子科技,2004,17(5):31-34. 被引量:5
  • 3李善平.边学边干-Linux内核指导[M].杭州:浙江大学出版社,2002.
  • 4[4]Linus Torvalds.Linux kernel v2.4[ CP/OL].http://www.kernel.org/pub/Linux/kernel/v2.4/,2002 -02 -25/2005-11 -25.
  • 5[6]杨沙洲.Linux 2.6调度系统分析[EB/OL].http://www-128.ibm.com/developerworks/cn/Linux/kernel/l-kn26sch,2004-04-01/2005-11 -25.
  • 6[7]Linus Torvalds.Linux kernel v2.6[ CP/OL].http://www.kernel.org/pub/Linux/kernel/v2.6/,2004-02-03/2005-11-25.
  • 7[8]张焕强.基于Linux 的实时系统[ EB/OL].http://www-128.ibm.com/developerworks/cn/Linux/embed/l-realtime/,2003-10-11/2005-11-25.
  • 8赵慧斌,李小群,孙玉芳.改善Linux核心可抢占性方法的研究与实现[J].计算机学报,2004,27(2):244-251. 被引量:24
  • 9胡志刚,MAHAMMED M E,余正军,吴运星.嵌入式Linux实时性方法[J].中南大学学报(自然科学版),2004,35(4):638-642. 被引量:7
  • 10[11]Wang Yuchung,Lin Kweijay.Implementing a general real-time scheduling framework in the RED-Linux real-time kernel[A].In:Proceedings of 20th IEEE Real-Time Systems Symposium (RTSS99)[ C ].Phoenix,USA:IEEE Computer Society,1999:246-255.

二级参考文献25

  • 1王学龙.嵌人式Linux系统设计与应用[M].北京:清华大学出版社,2001..
  • 2SPURI M,BUTTAZZO G.Scheduling a periodic tasks in dynamic priority systems [J].Real-Time Systems Journal,1996,10(1):179-210.
  • 3LIU C L,LAYLAND J.Scheduling algorithms for multiprogramming in a hard real-time environment [J].Journal of the ACM,1973,20(1):40-60.
  • 4Barabanov M.. A Linux-based real-time operating system. New Mexico Institute of Mining and Technology[M.S. dissertation]. Socorro, New Mexico, 1997
  • 5Tanenbaum A.S., Woodhull A.S.. Operation Systems Design and Implementation. Second Edition. New Jersey: Prentice-Hall, 1997
  • 6Sha L., Rajkumar R., Lehoczky J.. Priority inheritance protocols: An approach to real-time synchronization. IEEE Transactions on Computers, 1990, 39(9):1175~1185
  • 7Mao De-Cao, Hu Si-Ming. Linux Kernel Source Analysis in Scenario. First Volume. Hongzhou: Publishing House of University of Zhejiang,2001(in Chinese)(毛德操,胡希明. Linux内核源代码情景分析.上册. 杭州:浙江大学出版社,2001)
  • 8Lamport L.. The mutual exclusion problem: Part I and II. Journal of the ACM, 1986, 33(2):313-348
  • 9Stalling W.. Operating System.4th Edition. Beijing: Publishing House of Electronic Industry, 2001(in Chinese)(Stalling W.. 操作系统--内核与设计原理. 第4版. 北京:电子工业出版社, 2001)
  • 10Cloutier P., Montegazza P., Papacharalambous S., Soanes I., Hughes S., Yaghmour K.. DIAPM-RTAI position paper. In: Proceedings of the 2nd Real Time Linux Workshop, Orlando, FL, 2000,122~131

共引文献86

同被引文献12

引证文献2

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部