How Can a Long Interrupt Handler Break Real-Time Control?
Time spent in an interrupt handler can delay other work with deadlines.
The key idea
Time spent in an interrupt handler can delay other work with deadlines. An infrequent slow path can introduce jitter even when average CPU utilization looks low.
What to remember
- Measure worst-case execution time
- Defer lengthy processing when deadlines permit
Check your understanding
Why can a rare long handler disrupt a periodic controller?
Show the explanation
Its delay can push one control update past its deadline.