realtime
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| realtime [07/10/2020 15:10] – admin | realtime [06/09/2026 18:45] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | |||
| https:// | https:// | ||
| https:// | https:// | ||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | ====== Learning ====== | ||
| + | |||
| + | https:// | ||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | ====== Core partitioning ====== | ||
| + | |||
| + | User-space partitioning, | ||
| + | |||
| + | Dual-OS partitioning, | ||
| + | |||
| + | https:// | ||
| + | |||
| ====== Multitasking ====== | ====== Multitasking ====== | ||
| Line 19: | Line 40: | ||
| rt includes SCHED_FIFO and SCHED_RR policies. | rt includes SCHED_FIFO and SCHED_RR policies. | ||
| - | dl includes SCHED_DEADLINE policy. | ||
| + | dl includes SCHED_DEADLINE policy (augmented EDF). | ||
| + | |||
| + | |||
| + | ====== Utilities ====== | ||
| + | * chrt | ||
| + | * taskset | ||
| + | |||
| + | ==== Linux specific APIs ==== | ||
| + | * sched_setattr | ||
| + | * sched_setaffinity | ||
| + | * CPU_SET | ||
| + | * pthread_setaffinity_np | ||
| + | |||
| + | ==== POSIX realtime APIs ==== | ||
| + | * sched_setscheduler | ||
| + | * ... | ||
| + | |||
| + | |||
| + | ==== Benchmarking ==== | ||
| + | |||
| + | Latency measurement with **cyclictest** (results for SCHED_FIFO). | ||
| + | |||
| + | Sources of latency: | ||
| + | * Kernel system call | ||
| + | * ISR | ||
| + | * Kernel locks | ||
| + | * Priority inversions | ||
| + | * Timers | ||
| + | * Page faults | ||
| + | |||
| + | **Ftrace** | ||
| + | |||
| + | **Kernel Shark** | ||
| + | |||
| + | **LLTng** | ||
realtime.1594393811.txt.gz · Last modified: by admin
