ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 2011-03-21 02:04:52 -0500

joq gravatar image

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.