Cheap Windows VPS Server Host VPS Hosting Service

Discover Linux 7.2: Enhanced Performance with Cache-Aware Scheduling and Faster ext4 & Btrfs

Discover Linux 7.2: Enhanced Performance with Cache-Aware Scheduling and Faster ext4 & Btrfs

The Linux kernel 7.2 has been officially released, introducing several significant enhancements, including cache-aware scheduling, performance improvements for ext4 and Btrfs filesystems, and a range of updated hardware drivers for various devices.

During its nine-week development cycle, 7.2 set a record with over 2,100 contributors, with about 5% of commits utilizing AI-assisted contributions. However, the update also involved the removal of approximately 13,000 lines of code related to legacy systems, including the elimination of a 40-year-old Hercules graphics card driver and the AppleTalk networking protocol.

Notably, a much-anticipated GPU scheduler feature was removed last minute, reverting to the original first-in-first-out (FIFO) method due to performance issues reported on certain AMD graphics cards.

Key Features of Linux 7.2

Cache-aware Scheduling:
The task scheduler now recognizes when threads belong to the same process and keeps them on cores that share a cache, reducing cache bouncing and improving efficiency.

Pipes Locking Fix:
A fix has been implemented to reduce the lock-holding time in pipes, enhancing performance by 6-28% and decreasing write latency by 5-22% in specific scenarios.

Memory Reclaim Enhancements:
The Multi-Generational LRU (MGLRU) algorithm improvements lead to increased efficiency in memory reclamation, particularly benefiting workloads like MongoDB.

Ext4 Filesystem Improvements:
Minor speed optimizations in ext4 enhance its performance, removing lock contention during heavy usage, and making directory lookups faster.

Other Filesystem Updates:
Linux 7.2 improves NTFS and exFAT functionality, with NTFS now supporting proper symbolic links and exFAT seeing speed increases of up to 87% under heavy load. The Btrfs filesystem has also received performance optimizations.

USB4 Data Transfers:
Support for USB4 data streaming allows for data transmission directly between devices over a compatible USB4 or Thunderbolt cable without requiring a network.

Proc Filesystem Speed Increase:
The efficiency of reading certain files in the /proc virtual filesystem has significantly improved, leading to faster performance for scripts and tools that probe system status.

Laptop Driver Improvements:
Enhanced drivers for various laptops include better battery management for TUXEDO Computers, Surface Pro support, and improved functionality for Lenovo devices.

Peripheral Driver Enhancements:
Linux 7.2 brings new support to various gaming peripherals and network adapters, enhancing compatibility and performance for Linux gamers.

Next Steps for Ubuntu 26.10

Canonical has indicated that Linux 7.2 is the targeted kernel version for Ubuntu 26.10. However, due to the timing of the release, the upcoming Linux 7.3 could also be a candidate, pending confirmation from Canonical’s kernel engineers.

For those interested in downloading Linux 7.2, the source code is available on kernel.org. While this version won’t be an official software update for Ubuntu users, it can be installed via third-party PPAs or Canonical Mainline .deb packages, although this is generally not recommended due to potential stability concerns.

For further insights on this release, details can be found in LWN’s merge reports, and the entire commit history is available on GitHub.

Leave a comment

Your email address will not be published. Required fields are marked *

Ready for a faster, unmetered VPS?

Deploy a high-performance Ryzen, Xeon, Linux or Windows VPS on pure NVMe in minutes.

See VPS plans →