====== Preempt-RT ====== {{.:preemptrtlogo.png|Preempt_RT}} [[https://rt.wiki.kernel.org/index.php/Main_Page | Projekt webseite]] ===== Introduction ===== Preempt_RT is a patch for the Linux kernel maintained by Ingo Molnar. It modifies the kernel so that it becomes (almost) completely preemptive. The classic kernel spinlocks are replaced by mutexes which support priority inheritance. In addition, the handling of all interrupts is outsourced to separate kernel threads. The presentation {{:software:linux:preempt_rt:s3r2_jan_altenberg.pdf| Linux und Echtzeit}} (German) by Jan Altenberg offers a very good and short summary about Preemt-RT and Xenomai. \\ \\ \\ \\ \\ \\ \\ * [[.:testedDevices | Tested devices]] ===== Getting started ===== - Choose a machine. See [[.:testedDevices | Tested devices]] for reference - Install a Linux distribution. You can use [[https://unetbootin.github.io/ | UNetbootin]] to create an bootable Live USB drive. - To test the best possible RT performance [[.:build_kernel|Build a Preempt-RT Kernel]] with minimal configuration - [[software:linux:realtime:tune_bios_settings|Tune some BIOS settings]] - [[software:linux:realtime:benchmark|Measure the best possible RT performance of your system]] - [[software:linux:realtime:build_kernel|Compile a full preempt RT kernel]] - [[software:linux:realtime:benchmark|Test your system]] - [[software:linux:realtime:stresstests|Test your system with stress tests]] - If you are not satisfied with the performance of your system, [[software:linux:realtime:tune_rt_system|tune your system]]. ===== Links ===== https://www.toradex.com/community/questions/486/how-to-build-real-time-kernel-for-apalis-imx6.html