pwshub.com

Real-time Linux has been integrated into the main kernel code following two decades of development

Serving tech enthusiasts for over 25 years.
TechSpot means tech analysis and advice you can trust.

What just happened? Linux has long been the versatile open-source workhorse behind everything from web servers to Android phones. A significant milestone now enables the penguin mascot to showcase its capabilities in even more areas, especially where precise real-time performance is critical.

After two decades of dedicated development, the "PREEMPT_RT" patch set for real-time Linux has finally been integrated into the main kernel code, receiving approval from Linus Torvalds – the lead developer of the Linux kernel.

For those unfamiliar, a real-time operating system ensures that it will respond to inputs and execute specific tasks, regardless of other processes. This differs from conventional operating systems like Windows, which aim for a consistent user experience and handle tasks sequentially.

Momentary hiccups during context switches between tasks are usually inconsequential for activities like document editing or media playback, for which regular operating systems are designed. However, if that same brief delay occurs in a self-driving car's sensors or a medical device, real-time guarantees become critically important.

While RTOSes have existed for years, they have largely operated outside the Linux ecosystem. Specialized options like Nucleus RTOS, QNX, ThreadX, and VxWorks have managed mission-critical tasks that Linux couldn't handle, though they could still run alongside Linux in embedded systems where real-time capabilities were necessary.

However, it's important to note that such OSes were not entirely off-limits for Linux enthusiasts. For instance, the popular distribution Ubuntu released a real-time version last year, but it required an Ubuntu Pro subscription. This changes with the new patch, allowing all Linux maintainers to benefit from real-time capabilities within the Linux kernel.

As for why this undertaking took so long, Steven Rostedt, the founder of the PREEMPT_RT project, told ZDNet that the code has been rewritten from the ground up multiple times over the past two decades to prepare it for the kernel. Funding issues also hindered the project, but progress accelerated with support from the Linux Foundation starting in 2015.

For mainstream desktop Linux users, this breakthrough will likely have minimal direct impact – your app launchers and browser tabs probably won't feel any faster. However, for Linux's presence in fields like automotive, robotics, and industrial control systems, this could usher in a new stage of open-source growth.

Source: techspot.com

Related stories
1 month ago - Among the changes in Visual Studio 2022 17.11.1, we find AI breakpoints to help you debug more efficiently, improved symbol recognition, and other productivity enhancements.Read Entire Article
1 month ago - Zen 5 reviews that focused primarily on server workloads, development software, and AI-type benchmarks found Zen 5 to be generally excellent, often offering good performance gains over Zen 4 with improved power efficiency. However,...
1 month ago - Computer scientists brainstorm in Pentagon-backed competition to design an AI program that scans open-source code for flaws bad actors could exploit
4 days ago - Automation is driving the next wave of commoditization, threatening to replace skilled workers Part 1 As we have said before, the software industry has a decades-long history of cost-cutting, commoditization, and a successful sales model...
20 hours ago - No RTO needed for RTOS — Now you can run your space laser or audio production without specialty patches. Enlarge...
Other stories
3 minutes ago - And pro tip: Switching to a smaller cellphone company may be the best way to save money.
33 minutes ago - With one exception, a strong link between carbon dioxide and global temperatures.
33 minutes ago - Microsoft would claim all of the nuclear plant's power generation for at least 20 years.
48 minutes ago - Instead of letting the Netflix algorithm decide, take streaming into your own hands.
48 minutes ago - Samsung’s Galaxy Z Fold line has been around for a few years now. Here’s what makes the latest Galaxy Z Fold 6 different from its predecessors.