摘要: 标准Linux内核是不可抢占的,导致较大的延迟,增强内核抢占性能、降低内核响应时间,可提高系统内核对实时任务的响应能力。该文对此进行了分析和研究,阐述了减小调度器延时的两种方案:插入抢占点和可抢占内核,并仔细分析了相应的两种补丁。其中着重研究了插入抢占点的方法。最后指出了抢占内核的不足之处和今后的发展方向。
关键词:
抢占,
调度器延时,
进程分配延时
Abstract: Standard Linux kernel is non-preemptive, which leads to long latency. The paper analyzes and researches to this, discusses two schemes of reducing scheduler latency: introducing preemption point and the preemption kernel, and analyzes carefully two relevant patches. Mainly it places emphasis on the method inserting PP into Linux kernel. Lastly it presents test data.
中图分类号:
董晓峰,顾新. 关于Linux内核可抢占性的研究[J]. , 2005, 31(01): 87-.
DONG Xiaofeng, GU Xin. Research on Preemptability of Linux Kernel[J]. , 2005, 31(01): 87-.