Brifing

Linux Kernel 7.2 Introduces Cache-Aware Scheduling and Performance Enhancements

The new Linux kernel brings significant steps forward in filesystem and networking performance.

Latest news2 min

1Linux 7.2 Release

Linus Torvalds announced the release of Linux kernel 7.2. The new version focuses on fixing security vulnerabilities discovered by AI tools. Torvalds noted that security lists have become unmanageable with the increase in AI reports. However, he emphasized that AI tools provide great benefits when used correctly. The new kernel offers performance improvements, especially on systems with complex CPU cache layouts.

2Cache-Aware Scheduling

The new 'Cache Aware Scheduling' feature directs tasks sharing data to the same cache domain, reducing cache bouncing. This provides significant performance gains for multithreaded servers, AI/ML workloads, and games. The system avoids further thread movement when a process consumes more than 25% of CPU time or exceeds one-third of a domain's load.

3Filesystem Improvements

Btrfs large folio support is no longer experimental and enabled by default, offering up to 15% improvements in sequential writes. Experimental folios up to 2MB have also been introduced. I/O map conversion work continues for ext4 and XFS, while exFAT has been updated to improve large file performance.

4Hardware Support and Drivers

AMDGPU gained HDMI 2.1 Fixed Rate Link (FRL) support, enabling uncompressed 4K 120Hz and 8K video playback. I/O speed improvements are available for both AMD and Intel processors. NTFS handling capabilities have been enhanced, and exFAT now uses kernel iomap, offering up to 87% faster read/write speeds on USB drives.

5Networking and Connectivity

USB4STREAM protocol support has been added, facilitating raw packet transfer over USB4/Thunderbolt connections. Wi-Fi Aware support enables device-to-device connections without traditional network infrastructure. Early groundwork for Wi-Fi 8/UHR has also begun.

6AI's Role and Impact

Torvalds stated that AI tools are effective in discovering vulnerabilities but noted that duplicate reports of the same issues waste time. AI-discovered bugs will now be handled publicly rather than on private lists, aiming to reduce unnecessary duplication within the community.

7Reverted Changes

Final testing revealed performance regressions with a fairer GPU scheduler approach on some AMD graphics configurations. As a result, Linux 7.2 reverted to FIFO scheduling. This decision aims to balance stability and performance.

8Overall Assessment and Significance

Linux 7.2 stands out with filesystem and networking performance improvements. AI-assisted security patches and cache management are crucial for modern workloads. New hardware support and protocols expand Linux's use cases while maintaining stability priorities. This release forms an important foundation for Linux's future.

Original article: Latest news — Linux 7.2 Çekirdeği ile Önbellek Farkındalıklı Zamanlama ve Performans İyileştirmeleri