首页 | 本学科首页   官方微博 | 高级检索  
   检索      

Linux内核的进程调度原理及改进算法研究
引用本文:张立,王茜竹,王朝霞,练有品.Linux内核的进程调度原理及改进算法研究[J].后勤工程学院学报,2006,22(3):44-48.
作者姓名:张立  王茜竹  王朝霞  练有品
作者单位:1. 后勤工程学院,后勤信息工程系,重庆,400016
2. 重庆邮电大学,重邮信科公司,重庆,400065
摘    要:随着Linux在嵌入式操作系统领域的广泛应用,对Linux实时性能增强的研究也越来越多。通过对Linux进程调度依据和进程调度过程的分析,提出了一种改进的Linux进程调度算法。该算法改造了进程调度队列数据结构,去掉了进程调度选择时的遍历步骤,更改为直接得到待选最高优先级进程,同时,该算法改统一的时间片重新分配策略为分散的时间片重算策略。通过Linux进程调度算法与改进算法的时间复杂度对比分析,改进算法将Linux调度算法O(n)级的时间复杂度降低为O(1)级时间复杂度,因此能够更好地满足实时操作系统时间可测度以及低延迟等要求。

关 键 词:嵌入式系统  进程调度  实时性  时间复杂度
文章编号:1672-7843(2006)03-0044-05
修稿时间:2006年1月16日

Research for Process Schedule Fundamental and Improved Algorithm of Linux Kernel
ZHANG Li,WANG Qianzhu,WANG Zhaoxia,LIAN Youpin.Research for Process Schedule Fundamental and Improved Algorithm of Linux Kernel[J].Journal of Logistical Engineering University,2006,22(3):44-48.
Authors:ZHANG Li  WANG Qianzhu  WANG Zhaoxia  LIAN Youpin
Abstract: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.
Keywords:Linux
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号