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

Linux进程调度机制分析
引用本文:方林波,黄樟钦,侯义斌.Linux进程调度机制分析[J].北京工业大学学报,2005,31(4):415-419.
作者姓名:方林波  黄樟钦  侯义斌
作者单位:北京工业大学,计算机学院,北京,100022;第二炮兵工程学院四系,西安,710025;北京工业大学,计算机学院,北京,100022
基金项目:北京市自然科学基金资助项目(KZ200510005006)
摘    要:从如何增强Linux操作系统对实时任务的支持出发,阐述了2.4内核进程调度系统设计上存在的缺陷:缺乏对实时任务的支持,无法保证实时任务得到及时响应和调度;对多处理器环境的支持较差.分析了Linux的最新2.6内核进程调度系统的原理和实现细节.与2.4内核相比,2.6内核增强了对实时任务和多处理器环境的支持,实现了O(1)调度算法,支持抢占式调度,在响应时间及系统开销上均有大的改进,其显著特点是支持抢占式调度、支持多处理器负载平衡等,更加适合于实时应用环境.

关 键 词:进程调度  调度策略  优先级  时间片  抢占式
文章编号:0254-0037(2005)04-0415-05
收稿时间:2004-10-30
修稿时间:2004年10月30日

Analysis on the Mechanism of Linux Process Scheduler
FANG Lin-bo,HUANG Zhang-qin,HOU Yi-bin.Analysis on the Mechanism of Linux Process Scheduler[J].Journal of Beijing Polytechnic University,2005,31(4):415-419.
Authors:FANG Lin-bo  HUANG Zhang-qin  HOU Yi-bin
Abstract:In order to study how to strengthen the real-time support of Linux operating system, some weaknesses of the process scheduler of the 2.4 kernel are discusses. Owing to the lack of real-time support, the system can not guarantee that the real-time tasks be responded and scheduled in time. The 2.4 kernel is not e-nough to the multiprocessor support. This paper analyses the principles and implementing details of process scheduler in the 2.6 kernel. Compared with the 2.4 kernel, the 2.6 kernel strengthens the support of realtime tasks and multiprocessor environment, implements the O(1) scheduling algorithm and preeption. The article also describes some improvement in the 2.6 kernel on response time and system spending. The prominence characteristics of the 2.6 process scheduler are to support preemption and the loading balance of multiprocessor etc. , so it can be used in the real-time environment.
Keywords:process scheduling  scheduling policy  priority  timeslice  preemption
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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