realtime

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
realtime [2020/07/10 15:54] adminrealtime [2025/11/27 11:21] (current) admin
Line 1: Line 1:
- 
 https://wiki.linuxfoundation.org/realtime/rtl/start https://wiki.linuxfoundation.org/realtime/rtl/start
  
 https://wiki.linuxfoundation.org/realtime/rtl/all_topics https://wiki.linuxfoundation.org/realtime/rtl/all_topics
  
 +https://www.embedded-software-engineering.de/entwicklung-einer-linux-realtime-applikation-a-b862ea485a877e6a7e2f25edd98f5ef7/
 +
 +====== Learning ======
 +
 +https://realtime-linux.org/a-checklist-for-real-time-applications-in-linux/
 +
 +https://bootlin.com/training/preempt-rt/
 +
 +
 +====== Core partitioning ======
  
 User-space partitioning, core isolation, NO_HZ_FULL User-space partitioning, core isolation, NO_HZ_FULL
Line 9: Line 18:
 Dual-OS partitioning, using a POSIX RTOS in some cores, over a hypervisor Dual-OS partitioning, using a POSIX RTOS in some cores, over a hypervisor
  
 +https://yosh.ke.mu/raspberry_pi_isolating_cores_in_linux_kernel
  
  
Line 34: Line 44:
   * taskset   * taskset
  
-===== Linux specific APIs =====+==== Linux specific APIs ====
   * sched_setattr   * sched_setattr
   * sched_setaffinity   * sched_setaffinity
Line 40: Line 50:
   * 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: 6 years ago
  • by admin