4.8. Process scheduling to meet real-time requirements

Although preemptive scheduling with carefully chosen process priorities may ensure optimum use of resources it may not be sufficient to ensure that a number of processes meet their timing requirements in a real-time system.

Real-time systems were introduced in Section 1.1. There we defined two kinds of real-time process: those which are periodic and carry out some cyclic activity like data sampling and analysis, and those which must respond to unpredictable events in a specified time. A real-time scheduler must ensure that all processes satisfy their timing constraints.

Another example was introduced in the discussion on multimedia workstations in Section 1.1.1. A video and voice stream must ...

Get Operating Systems: Concurrent and Distributed Software Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.