RealTime
Realtime
Basic introduction is available at:
https://help.ubuntu.com/community/UbuntuStudio/RealTimeKernel
For a more in-depth look at kernels, please see: https://wiki.ubuntu.com/Kernel/Dev
News:
The -preempt and -rt kernels are no longer being developed due to lack of support. Focus has instead turned to the -lowlatency and -realtime kernels, particularly for the the release of Ubuntu 11.04 Natty Narwhal. The long-term goal is to have -lowlatency in the official Ubuntu repositories, while maintaining -realtime in a dedicated PPA.
If you wish to see work continued on -preempt or -rt, you are encouraged to volunteer. To do so, join the Ubuntu Studio Developers e-mail list (see Ubuntu Studio).
Make-up of the team and roles officially assigned:
Kernel Responsibility Matrix |
||||||
Kernels |
Code & Packaging |
Upstream Relations |
Bug Triage |
Kernel/DKMS External Driver Upload |
Testing |
Video Driver Testing |
Lucid -lowlatency i386 |
none |
none |
none |
none |
none |
none |
Lucid -lowlatency amd64 |
none |
none |
none |
none |
none |
none |
Lucid -rt i386 |
none |
none |
none |
none |
none |
Brian David |
Lucid -rt amd64 |
none |
none |
none |
none |
none |
none |
Maverick -lowlatency i386 |
none |
none |
none |
none |
none |
none |
Maverick -lowlatency amd64 |
none |
none |
none |
none |
none |
none |
Maverick -rt i386 |
none |
none |
none |
none |
none |
none |
Maverick -rt amd64 |
none |
none |
none |
none |
none |
none |
Natty -lowlatency i386 |
Luke Yelavich/Scott Lavender |
Scott Lavender |
Scott Lavender |
Luke Yelavich |
Scott Lavender |
none |
Natty -lowlatency amd64 |
Luke Yelavich |
none |
none |
Luke Yelavich |
none |
none |
Natty -rt i386 |
none |
Alessio Igor Bogani |
none |
none |
none |
none |
Natty -rt amd64 |
none |
Alessio Igor Bogani |
none |
none |
none |
none |
Persons who would want help but not yet assigned to something:
- Asmo Koskinen: Test on -rt on Lucid, Maverick and Natty (AMD64 and i386) with nVidia, M-Audio Delta 66 and Echo Audio Fire 4
- Erik Rasmussen : Test on -rt
- Mike Holstein : -realtime on Lucid
- ailo : -rt on Maverick with nvidia
- Brian David: Testing fglrx in all kernel variants, testing -realtime and -rt kernels, if available
- Laurent Bellegarde: testing, advertising, conference, demonstration to large public
- Tim Cook: test on -rt and Relationships with other communities
- Jeremy Jongepier: Test and packaging on -rt/-realtime
- Janne Jokitalo: Testing, packaging, Ubuntu and Ubuntu Studio relation, learning to generally tweak kernels
- Ronan Jouchet: Testing, packaging, bug triaging on -lowlatency
Work in progress:
Nvidia on -realtime kernel at Alessio's PPA: testers?
Known issues:
Missing a decent FAQ section
Firewire audio devices: again volunteers?
FAQ:
Q: What is the difference between an -rt kernel and a -realtime kernel?
A: From a technical point of view, -rt and -realtime are the same kernel. They are both based on the PREEMPT_RT patchset, although the version may be different. The main difference is that the -rt kernel should be based on the Ubuntu source tree (and therefore can use the same features, patches, enabled hardware, security fixes and so on) and should offer the same services that the Ubuntu default -generic kernel offers. For example, it should be compatible with closed video drivers (nvidia and fglrx), any external DKMS drivers, and have available backport packages. The goal of an -rt kernel is to obtain a real time variant of the Ubuntu kernel that is aligned with the -generic kernel.
On the other hand, the -realtime kernel is a PREEMPT_RT patched kernel based on the vanilla source tree (not the Ubuntu source). This kernel will be missing Ubuntu specific code, patches or security fixes and it isn't guaranteed to be compatible with any external software (low level utilities, DKMS drivers and so on). It does not use the same Linux kernel version as the -generic kernel, and so these two kernels are not aligned. It is a working, upstream real-time kernel that is being used on Ubuntu. No more no less.
Ancient stuff
These wiki pages covers hard real time support in Ubuntu.
RealTime Feisty
RealTime Gutsy
RealTime Hardy
RealTime Intrepid
RealTime Jaunty
RealTime Karmic
RealTime Lucid
The RT kernel is still around! If you can help by describing it's current state, please do so. In the mean time see the official rt.wiki.kernel.org and the Ubuntu Studio team for more information.
Reference Material'
Make-up of the team and rules officially assigned:
Leader |
|
|
i386 amd64 |
vacant |
Code & Packaging |
Natty |
-lowlatency |
i386 amd64 |
Luke Yelavich |
Upstream relationship |
Natty |
-realtime |
i386 amd64 |
Alessio Igor Bogani |
Bug triage |
|
|
|
vacant |
Kernel and DKMS external driver upload |
Natty |
-lowlatency |
i386 amd64 |
Luke Yelavich |
Test |
Lucid |
fglrx on -realtime |
i386 |
Brian David |
-lowlatency == -generic + more aggressive low latency kernel configuration It can offers all things that Ubuntu offer with -generic so -backport modules, video closed drivers and so on. It is very solid and oriented to "soft" users. Trade-off between low latency and power consumption.
In less words: if you need of closed video drivers, external DKMS kernel modules, linux-backports-* you should probably start to use -lowlatency (when it will be available through Ubuntu repos). Instead if you really need of an real-time system you should avoid all above or trying to make those working alone.
To put it simply: -lowlatency all the way! It delivers impressive results for maintenance requirements way lower than -realtime (or -rt even more), meaning less work for maintainers and new kernel candy for users.
Life is a trade-off: someone want a very hard real-time system without adopt other hardware architectures than pc (MCU, FPGA/ASIC, and so on), others want use normal and cheap pc, others want use also accelerated drivers also, others want a real-system which take care of they laptop's batteries too. And at the end we have limited resources(*) for give an answer on these needs (we are all volunteers).