摘要

分析了Linux和VxWorks两种多任务操作系统任务调度机制的异同,从任务控制块、调度的时机、调度的优先级和调度的策略方面进行了详细的分析和对比。分析了VxWorks和Linux在POSIX1003.1b调度标准实现上的差异。

关键词:Linux,VxWorks,任务调度,调度策略,优先级

通用的分时操作系统面向多用户的不同任务,意在追求系统整体运行的效率和资源的均衡利用,软件的执行在时间上要求并不严格。实时操作系统不同于分时操作系统,它主要是对任务进行实时的处理,要求任务的运行具有可确定性和可预测性,提供即时响应和高可靠性。由此导致通用分时系统和实时操作系统的内核在任务调度机制方面的不同。本文以Linux(2.4版本内核)和VxWorks(5.4版本)为代表,着重分析二者任务调度机制的异同。

下载地址

Files:
Date 2018-09-05
File Size 715.05 KB
Download 565

AbStract

In this paper, diferences in task scheduling mechanism between the two multi-tasks operating systems Linux and VxWorks are analyzed. The two are compared with aspects of task control block,the standard of scheduling and the policy of scheduling. Further more, the implementation of task scheduling in POSIX 1003.1b specification are analyzed both in Linux and VxWorks.

Keywords:Linux, VxWorks, task scheduling, scheduling policy, priority