Rate-Monotonic Scheduling and Utilization Bounds

Calculate periodic CPU utilization and validate deadline claims under the assumptions of a fixed-priority theorem.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Shorter periods get higher fixed priority
  2. A sufficient test can leave feasible sets unanswered

Shorter periods get higher fixed priority

For independent periodic tasks with deadline equal to period, one preemptive processor and no blocking, rate-monotonic scheduling assigns higher priority to a shorter period. With execution costs \(1,2\) and periods \(4,5\), total utilization is \(1/4+2/5=0.65\). The classical sufficient bound for \(n\) tasks is \(n(2^{1/n}-1)\), about \(0.828\) for two, so these tasks meet the test under its assumptions.

A sufficient test can leave feasible sets unanswered

A workload above the utilization bound might still meet its deadlines, depending on periods and interference. A response-time analysis can count concrete higher-priority jobs arriving during an estimated response interval. Jitter, locks and resource contention require additional terms or different models. Priority inheritance addresses one blocking mechanism. Advanced CPU scheduling develops response-time recurrence and parallel scheduling together with their distinct assumptions.[1][2]

References

  1. C. L. Liu and James W. Layland, Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment ↩
  2. Remzi H. Arpaci-Dusseau and Andrea C. Arpaci-Dusseau, Operating Systems: Three Easy Pieces ↩