为改进并提高Linux系统的响应时间,从而达到实时化的目的,本文分析Linux时钟系统在实时性方面存在的不足,研究时钟中断服务、多模式时钟中断以及精密的时钟系统.具体修改了原时钟系统,实现一个具有较高软实时性的Linux内核,重点实现一个与原时钟系统共存的精密时钟系统,提出采用双时钟系统提高Linux实时性.支持具有强实时(精度为微秒)的应用,仿真结果表明效果良好.
For shortening the response time of Linux, research is focused on the following three aspects after analyzing drawback of Linux time, which are modifying the time interrupt services, multi-mode time interrupt and precise time system. A new Linux kernel with high real-time performance by reform its time system is implemented. The key achievement is adding a high-precision time system that coexists with the old one. The reformed kernel runs on PC for long time and meets the real- time demands in the microsecond level. The experiment results are given.