Google has started development of Live Update Orchestrator, a new solution for hot-updating the Linux kernel. This system aims to minimize downtime when applying updates, especially in cloud computing environments. For a deeper understanding of kernel updates, we invite you to read about the improvements in Linux 6.9.
Hot kernel updates are not new. Currently, there are solutions such as Kpatch and Ksplice, which allow you to apply patches to a running system without having to reboot. However, Google is looking at a different approach, allowing for a smoother transition between kernel versions without affecting the operability of critical devices.
How does Live Update Orchestrator work?
According to Google engineer Pasha Tatashin, Live Update is a specialized reboot process. During this procedure, certain devices can continue to operate uninterrupted, even while the kernel is rebooting. This is particularly useful for servers y virtualized environments where every second of inactivity can represent significant losses. For those interested in projects on Raspberry Pi, we suggest you learn about the New GNULinux desktop created for Raspberry Pi.
The system is designed to keep certain hardware devices operational throughout the kernel transition, ensuring that direct memory access (DMA) operations and interrupts continue to function normally. In a cloud environment, this means virtual machines can continue to run even when the underlying hypervisor is updated.
Key System Components
The Live Update Orchestrator introduces several key elements in the Linux kernel:
- A state machine which tracks the progress of the update and coordinates background processes.
- A callback API which allows other kernel subsystems to participate in the update process.
- An infrastructure of devices call dev_liveupdate which allows device drivers to integrate with Live Update Orchestrator.
Some of the kernel subsystems that can take advantage of this new technology include:
- KVM (Kernel-based Virtual Machine), to improve updating in virtualized environments.
- IOMMU, which facilitates secure memory management between devices.
- Interrupt management, to avoid failures in hardware signal processing.
- Memory management, ensuring that memory state is transferred correctly between kernel versions.
For those interested in operating system development, there are also options such as e/OS v2, a Google operating system.
What sets Live Update Orchestrator apart from other solutions?
Unlike Kpatch and Ksplice, which patch the running kernel without rebooting, Live Update Orchestrator takes a hybrid approach. While it requires a reboot, it focuses on keep critical devices running, which minimizes the side effects of the update.
Google highlights that The main objective is to improve stability in cloud environments, allowing essential updates to be applied without affecting the availability of virtual machines. This makes it an attractive option for cloud service providers and large virtualized infrastructures. It is important to consider that the implementation of platforms such as Android and its adaptability to new architectures may influence this approach.
Next steps and availability
For now, Live Update Orchestrator remains in the experimental phase. Google has released a set of patches for the Linux kernel for review and is gathering feedback from the developer community. Those interested in learning more can access the series of patches submitted for discussion on the kernel mailing list.
If the implementation is successful, could become a standard feature of the Linux kernel in future releases, providing a new level of flexibility for system update without interruption critical operations. For those looking for continuous updates, the how to update Kodi could be a useful resource.
The development of Live Update Orchestrator reflects the growing need for advanced solutions for managing cloud infrastructure. As more businesses migrate their services to virtualized environments, the ability to update software without impacting availability becomes a key factor. key factor for competitiveness and operational efficiency.
