realtime

This is an old revision of the document!


https://wiki.linuxfoundation.org/realtime/rtl/start

https://wiki.linuxfoundation.org/realtime/rtl/all_topics

Multitasking

In user space:

  • Process (fork)
  • Thread (pthread_create)

In kernel:

  • Kernel thread (kthreadd)

Scheduler

sched_class stop > dl > rt > cfs > idle (e.g. rt threads will run with higher priority than cfs threads) (stop and idle scheduling class are not accessible for user space applications)

rt includes SCHED_FIFO and SCHED_RR policies.

dl includes SCHED_DEADLINE policy (augmented EDF).

Utilities

  • chrt
  • taskset
  • sched_setattr
  • sched_setaffinity
  • CPU_SET
  • pthread_setaffinity_np
  • sched_setscheduler
  • realtime.1594394154.txt.gz
  • Last modified: 6 years ago
  • by admin