ubuntu real time
Ubuntu不支持實時
可參考
看看如何才能支持
想要自己編譯實時內核的話
參考
去:
下載:The Real Time Preempt Patch
然后自己編譯即可。
對于實時系統所支持的功能和特性以及平臺,詳見
這里提供了 已編譯好的實時的Debian
相關內容
或參考
注意:
Note: Booting into Real-time Linux is not recommended for day to day work on Ubuntu as the performance with Real-time Linux is slightly slow and sluggish with normal desktop environments (such as gnome, unity etc) and apps than with the normal kernel OS.
還有人嘗試樹莓派加上實時的
看起來很不錯啊
-》
目前有2個git倉庫
有機會可以去下載和編譯試試效果
有空也可以去試試:
專門針對于Ubunt去編譯的實時的版本:
和其他嘗試:
【總結】還在維護的版本=Actively maintained PREEMPT_RT versions5.0-rt Sebastian A. Siewior, development
4.19-rt Steven Rostedt 2020-12
4.14-rt Tom Zanussi 2020-01
4.9-rt Julia Cartwight 2023-01
4.4-rt Daniel Wagner 2022-02
3.18-rt Tom Zanussi EOL
實時系統所支持的功能和特性以及平臺
關于實時Ubuntu性能部分Ubuntu支持了實時的話,(大部分的)延遲也要3ms以上
關于參數 -rt ?-realtimeQ: 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.
去更新和安裝sudo add-apt-repository ppa:abogani/realtime
sudo gedit /etc/apt/sources.list
deb http://ppa.launchpad.net/abogani/realtime/ubuntu precise main
deb-src http://ppa.launchpad.net/abogani/realtime/ubuntu precise main
sudo apt-get update
sudo apt-get install linux-realtime