Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting our team. We will be in touch shortly.Close

  1. Blog
  2. Article

Edoardo Barbieri
on 8 June 2022


A real-time system responds to events within a specified deadline. If the timing constraints of the system are unmet, failure has occurred. In the kernel context, real-time denotes a deterministic response to an external event, aiming to minimize the response time guarantee.

Real-time Beta now available in Ubuntu 22.04 LTS 

Last April, Canonical announced real-time Ubuntu 22.04 LTS Beta for x86 and Arm64 architectures. Based on v5.15 of the Linux kernel, Real-time Ubuntu integrates PREEMPT_RT to power the next generation of industrial, robotics, IoT and telco innovations by providing a deterministic response time to their extreme low-latency requirements.

Real-time Ubuntu is available for free for personal use via Ubuntu Advantage, the most comprehensive Linux enterprise subscription, covering all aspects of open infrastructure. Anyone can enable the real-time kernel per the instructions, and we encourage Real-time Ubuntu users to help us by reporting bugs

Do you want to run real-time Ubuntu Linux in production?

Get in touch

Watch our webinar 

If you want to delve deeper into this topic, we recently hosted a webinar covering:

  • What real-time is and common misconceptions
  • Market applications
  • Linux kernel preemption 
  • Preemption modes available in mainline
  • PREEMPT_RT
  • Real-time Ubuntu 22.04 LTS Beta

Thanks to everyone who attended, asked questions and provided feedback throughout the discussion! For those who couldn’t make it, the webinar is now available on-demand

Below is a recap of the questions asked during the webinar. 

[Q&A] An Introduction to real-time Linux

Q1) What is inside real-time Ubuntu 22.04 LTS Beta? 

A1) Real-time Ubuntu is a Jammy Jellyfish kernel with the upstream real-time patches applied. 

Q2) When do you expect to be out of Beta?

A2) We are targeting April 2023 for the GA of real-time Ubuntu 22.04 LTS. Extensive testing will help us bring the real-time kernel to production earlier. Please support the Ubuntu community by reporting any bugs you may encounter.

Q3) How will the Beta and the GA release differ?

A3) The GA release will run the latest stable kernel available, and it will include the upstream real-time patches matching up with the version.

Q4) What are the main advantages of using the Ubuntu real-time kernel rather than patching a standard kernel?

A4) The main advantage is the enterprise-grade support you will receive from Canonical. 

Q5) Do you have a recommended hardware configuration for testing real-time Ubuntu?

A5) A feature of the real-time kernel in Linux is that it allows for freedom of hardware. We are testing the Beta release on ARM, AMD and Intel hardware and don’t recommend a particular configuration. 

Q6) Does real-time Ubuntu work with a 32-bit architecture?

A6) No, we currently focus only on 64 bits.

Q7) Are NVIDIA drivers supported under the Ubuntu real-time kernel? 

A7) The Beta release does not support NVIDIA drivers, but that may change in the future.

Q8) Do you plan on supporting this full task isolation patchset?

A8) We will consider including the patch once it lands in the mainline.

Q9.1) Do you plan on making the upcoming Ubuntu releases have a hybrid of real-time queues and standard Linux kernel queues? Q9.2) Will Ubuntu support a kernel with both FIPS 140-2 and real-time enabled?  Q9.3) Is there a plan to move toward certification for safety-critical applications such as DO-178 for aviation?

A9) Those are not currently in the plans, but that could change in the future.

Q10) Why would someone pick PREEMPT_RT over a hard real-time solution like Xenomai?

A10) Hard-real-time solutions are expensive and require specific hardware.

Q11) When do you expect PREEMPT_RT to be fully upstreamed?

A11) This is not within Canonical’s control. PREEMPT_RT, the de-facto Linux real-time implementation, is hosted by the Linux Foundation and is slowly being mainlined. Whereas a relevant portion of the locking is in mainline, the upstream patch set still provides much code.

Q12) How does PREEMPT_RT reduce scheduling and interrupt latency? 

A12) PREEMPT_RT uses different locking mechanisms (e.g. preemptable spin locks) and a scheduler other than CFS. When enabling PREEMPT_RT, the kernel uses the real-time scheduling class, which has a higher priority over the CFS scheduler and provides the first-in-first-out and round-robin scheduling policies.

Q13) What is the maximum latency guaranteed by PREEMPT_RT?

A13) PREEMPT_RT does not currently guarantee any maximum latency.

Q14) What is the CPUfreq governor used in PREEMPT_RT?

A14) The CPU governor is currently set to CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND. The cpufrequtils package enables switching to the performance governor with: cpufreq-set -g performance

Join the free real-time Linux beta programme

Join our free beta programme today. We will keep you up-to-date with the latest news and efforts towards GA, and we will notify you first once the kernel is production-ready. By signing up, you may have the opportunity to establish an open communication channel with our team to provide feedback and share suggestions. 

Further reading

How real-time Linux accelerates industrial transformation


Related posts


Canonical
12 September 2023

이제 인텔 SoC에서 일반적으로 사용 가능한 최적화된 실시간 우분투

IoT Article

Canonical이 TSN 및 인텔 TCC를 지원하는 인텔 코어 프로세서에서 실시간 우분투를 제공 2023년 7월 26일, 런던: Canonical은 오늘 인텔 코어 프로세서에 최적화된 실시간 우분투를 이용할 수 있음을 발표했습니다. 이 솔루션을 통해 기업은 통신회사 워크로드에서 생명을 구하는 의료 장비 및 공장용 자동화 시스템에 이르기까지 광범위한 사용 사례에 인텔 실리콘에 최적화된 리눅스의 성능을 이용할 수 있습니다. Canonical의 ...


Canonical
22 May 2024

Advantech RSB-3810, a new Single Board Computer powered by MediaTek Genio 1200, is now certified on Ubuntu 22.04 LTS

Internet of Things Article

Discover this new hardware solution designed for IoT and edge applications Canonical has partnered with MediaTek to optimise Ubuntu for IoT innovations and announced the first Ubuntu images optimised for MediaTek’s Genio 1200 System on Chip (SoC) in 2023. The solution is designed to deliver AI innovation in diverse markets. Devices built ...


Pierre Guillemin
18 March 2024

Canonical’s commitment to quality management

Ubuntu Article

As Canonical approaches its 20th anniversary, we have proven our proficiency in managing a resilient software supply chain. But in the pursuit of excellence, we are always looking to set new standards in software development and embrace cutting-edge quality management practices. This enables us to meet current technological landscape need ...