# Revision history [back]

That depends on the real-time requirements of your system: both response times and ability to tolerate occasional lapses.

Vanilla Linux kernels provide good real-time performance these days. Unless your system requires very low response times or very hard guarantees, I recommend sticking with the stock kernel until measurements reveal a need for something more.

If hard real-time is needed, the simplest Ubuntu upgrade path is probably to install the linux-rt kernel, with Ingo Molnar's real time preemption patch.

In either case, you probably need to set some PAM variables in /etc/security/limits to grant non-root users permission to create SCHED_FIFO threads.

That depends on the real-time requirements of your system: both response times and ability to tolerate occasional lapses.

Vanilla Linux kernels provide good real-time performance these days. Unless your system requires very low response times or very hard guarantees, I recommend sticking with the stock kernel until measurements reveal a need for something more.

If hard real-time is needed, the simplest Ubuntu upgrade path is probably to install the linux-rt kernel, with Ingo Molnar's real time preemption patch.

In either case, you probably need to set some PAM variables in /etc/security/limits to grant non-root users permission to create SCHED_FIFO threads.