Tutoriel Linux

Linux 7.2: integrated AI and optimized cache management revolutionize this new version – discover all the new features

Débutant4 min de lecture

Linux 7.2 shakes up the Linux kernel landscape with an approach that combines artificial intelligence and targeted optimization. This new version promises to significantly improve resource management, particularly with a caching-aware scheduling. Focus on the essential advancements and their concrete impacts for administrators and passionate users.

Linux 7.2 introduces cache-aware management to boost CPU performance

The standout novelty of this version is undoubtedly the CPU cache-aware scheduling mechanism. Previously, the Linux scheduler distributed tasks across cores without real consideration for cached data sharing. The result: redundant accesses and precious time lost on multi-core hardware.

With Linux 7.2, each task is now assigned considering the shared LLC cache. This approach drastically reduces cache thrashing. Fewer unnecessary transfers mean better resource utilization. For compute-intensive loads like artificial intelligence or multithreaded servers, this is a significant announced gain in efficiency.

An interesting technical point: the scheduler includes a filter to avoid overloading a cache domain, thus preventing harmful contention. This care ensures stable operation even under heavy loads. The choice of this optimization reflects real-world experience where every CPU cycle counts.

Artificial intelligence infiltrates Linux kernel maintenance

Another aspect that marks Linux 7.2 is the integration of AI tools for vulnerability detection and patch management. Linus Torvalds indicated that many recent kernel fixes come from reports generated via automated AI processing.

These tools do not replace developers but provide them with valuable assistance in spotting vulnerabilities upstream, without wasting time on duplicates. It’s a shift in the very way the kernel is refined, betting on a more industrial but also more rigorous development.

However, Torvalds remains cautious: AI should remain a tool at the service of the community, enriching human work without unnecessarily complicating it. A delicate but essential balance in the face of the increasing load of Linux projects.

Notable improvements in file systems and hardware drivers

In addition to cache-aware scheduling and AI support, Linux 7.2 brings several significant adjustments in file system management. The case of Btrfs is notable, as its large folios move out of the experimental stage to become the default, reflecting a 15% jump in sequential write performance.

At the same time, ext4 and XFS continue their transition to a unified iomap model, while exFAT benefits from improvements on large files. These optimizations are not anecdotal: they result in better overall responsiveness, particularly during transfers from common devices like SD cards or USB drives.

NTFS management on Linux is also progressing, offering more stability and fewer bugs. In the hardware ecosystem, HDMI 2.1 support via AMDGPU allows for uncompressed 4K streams at 120 Hz. A delight for high-definition multimedia enthusiasts.

USB4STREAM and Wi-Fi: new energy for transfers and networks under Linux 7.2

Intel contributes to the dynamic with USB4STREAM, a protocol enabling the direct streaming of raw data between hosts via USB4 or Thunderbolt. This method facilitates applications such as the fast backup of a system or the sharing of devices without going through the traditional network stack.

On the other hand, Linux 7.2 introduces support for Wi-Fi Aware. This module revolutionizes direct connections between devices without traditional network infrastructure, akin to a boosted and extended AirDrop. The groundwork is also laid for Wi-Fi 8, a welcome anticipation in an increasingly connected world.

Although some new features were pushed back at the last minute to avoid regressions, this version proves that Linux can combine technical innovation with pragmatism for a more efficient system tailored to current challenges.

The Linux kernel 7.2 is now accessible in its source code. However, it is recommended that critical environments wait for validation from major distributions to avoid any issues with proprietary modules or security during boot. For enthusiasts of custom builds, this overview of new features offers a detailed technical read.

Arch Linux, Fedora Rawhide, and openSUSE Tumbleweed are expected to be among the first to offer packages integrating this kernel, thus paving the way for a gradual and controlled adoption.

What is cache-aware scheduling in Linux 7.2?

It is a system that optimizes the distribution of tasks across the cores by favoring those sharing an LLC cache, thus reducing the costs associated with memory accesses and improving performance on multi-core processors.

How does artificial intelligence intervene in the development of Linux 7.2?

AI is used to automatically detect security vulnerabilities in the code and generate patches, which accelerates the maintenance process without replacing human developers.

Which file systems benefit from improvements in Linux 7.2?

Btrfs sees its sequential write performance improved by 15%, ext4 and XFS transition to a unified iomap model, and exFAT benefits from significant acceleration in handling large files.

What is USB4STREAM and what is it for?

USB4STREAM is a protocol that allows the raw streaming of data between two hosts via USB4 or Thunderbolt, facilitating rapid backup or device sharing without the traditional network layer.

Source: www.zdnet.fr

sudo apt update && sudo apt upgrade