PREEMPT RT Kernel Patch

Jump to: navigation, search

Change into the source directory:

cd /usr/src/

Get Ingo Molnar's patch and the corresponding Kernel:


Unpack the Kernel:

tar xfvz linux-2.6.15.tar.gz
ln -s linux-2.6.15.tar.gz

Patch it:

patch -p1 < ../patch-2.6.15-rt21

When choosing complete preemption, you don’t have to specifically enable the threaded irq handlers as they are mandatory in this preemption model. And you want to download:


Schedutils is a collection of tools related to realtime scheduling, working much like 'nice' and 'renice', except they change the priority and scheduler.This enables a process to run in soft realtime, as specified by POSIX1.1b. the tools are

  • getsched - prints out current scheduler/priority for a process/PID
  • resched - changes the scheduler/priority for a process/PID
  • sched - executes a program with another scheduler/priority.