Reaves.dev

v0.1.0

built using

Phoenix v1.7.12

Time Sensitive Linux

Stephen M. Reaves

::

2024-04-26

Notes about Lecture 10a for CS-6210

Summary

Sources of Latency

Timers Available

Choice of TimerProCon
PeriodicPeriodicityEvent recognition latency
One-shotTimelyOverhead
SoftReduce OverheadPolling overhead, latency, checked on syscalls
FirmCombines all of above

Firm Timer Design

Accurate timing with low overhead

Firm Timer Implementation

Timer-q data structure

APIC Hardware

Long oneshot distance means dispatch oneshot and next periodic timer

Reducing Kernel Preemption Latency

Approaches:

Lock-Breaking Preemptible kernel combines both approaches

Proportional Period Scheduling

Priority Inversion