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:54] – 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, | User-space partitioning, | ||
| Line 9: | Line 22: | ||
| Dual-OS partitioning, | Dual-OS partitioning, | ||
| + | https:// | ||
| Line 34: | Line 48: | ||
| * taskset | * taskset | ||
| - | ===== Linux specific APIs ===== | + | ==== Linux specific APIs ==== |
| * sched_setattr | * sched_setattr | ||
| * sched_setaffinity | * sched_setaffinity | ||
| Line 40: | Line 54: | ||
| * pthread_setaffinity_np | * pthread_setaffinity_np | ||
| - | ===== POSIX realtime APIs ===== | + | ==== POSIX realtime APIs ==== |
| * sched_setscheduler | * 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.1594396482.txt.gz · Last modified: by admin
