Linux 6.15 Launches with Major Performance and Hardware Upgrades
The Linux 6.15 kernel, released on May 25, 2025, marks a pivotal moment in open-source development, introducing several groundbreaking features and technical advancements.
Most notably, this release debuts the first Rust-written Direct Rendering Manager (DRM) driver, NOVA, targeting NVIDIA RTX 2000 “Turing” series and newer GPUs.
The NOVA driver, written entirely in Rust, represents a paradigm shift toward memory-safe kernel development, aiming to succeed the existing Nouveau driver and modernize NVIDIA GPU support.
Rust’s integration into the kernel is not limited to graphics.
Linux 6.15 also extends Rust support to hrtimer and ARMv7, reflecting a growing trend toward leveraging Rust’s safety guarantees in critical kernel subsystems.
This move is significant for reducing memory safety vulnerabilities that have historically plagued low-level system software.
Enabling Rust Support in Kernel Configuration
bashCONFIG_RUST=y
CONFIG_DRM_NOVA=y
These kernel configuration flags enable Rust infrastructure and the NOVA DRM driver, allowing developers to experiment with the new memory-safe components.
Feature | Language | Target Hardware | Status |
---|---|---|---|
NOVA DRM Driver | Rust | NVIDIA RTX 2000+ | Experimental |
hrtimer Support | Rust | ARMv7 | Stable |
Performance and Flexibility
Linux 6.15 brings dramatic improvements to file system operations, particularly for exFAT.
Thanks to optimized cluster discarding algorithms, deleting large files on exFAT is now up to 150 times faster.
For example, deleting an 80GB file with the discard
mount option now takes just 1.6 seconds, down from over 4 minutes in previous versions.
This is achieved by batching contiguous clusters for discard rather than processing them individually.
Benchmark Command Example:
bash# Mount exFAT with discard option and test file deletion
mount -t exfat -o discard /dev/sdX1 /mnt/exfat
time rm /mnt/exfat/largefile.img
Other file system enhancements include:
- Btrfs: Now supports fast and real-time zstd compression levels (-15 to -1), enabling improved speed with acceptable compression ratios. It also falls back to buffered writes for files requiring checksums, reducing checksum mismatch errors in virtual machines.
- FUSE: Can now handle file names longer than 1024 characters and enforce timeouts on unresponsive user-space servers.
- bcachefs: Gains case-insensitivity support and new “scrub” functionality for error detection and repair.
On the networking front, Linux 6.15 introduces zero-copy receive (zcrx) via the io_uring subsystem.
This feature allows network packet data to flow directly into userspace memory, eliminating the overhead of kernel-to-user copying and bypassing traditional alignment or complex memory mapping requirements.
The networking stack also adds the TCP_RTO_MAX_MS
socket option, granting fine-grained control over TCP retransmission timeouts.
Technical Example: Setting TCP_RTO_MAX_MS
cint timeout_ms = 3000;
setsockopt(sockfd, IPPROTO_TCP, TCP_RTO_MAX_MS, &timeout_ms, sizeof(timeout_ms));
File System | Key Enhancement | Impact |
---|---|---|
exFAT | Batch discard for deletes | 150x faster file deletion |
Btrfs | Fast/realtime zstd compression | Improved speed, lower errors |
FUSE | >1024 char file names, timeouts | Better stability |
bcachefs | Case-insensitivity, scrub | Data integrity, flexibility |
Hardware Support and Kernel Infrastructure
Linux 6.15 significantly expands hardware compatibility and kernel infrastructure:
- Apple Touch Bar: Dedicated drivers now support both Intel and Apple M1/M2 MacBook Pros, enabling backlight, touch interaction, and function key display.
- Samsung GalaxyBook: New drivers provide full ACPI platform support, battery management, and function key handling.
- Game Controllers: Improved support for Sony PlayStation 5, Xbox, and Turtle Beach controllers, as well as new drivers for racing and flight simulator peripherals.
- Intel Killer E5000 Ethernet: Now supported with minimal code changes.
Kernel infrastructure enhancements include a new fwctl
subsystem for standardized firmware RPCs, a new fanotify API for real-time mount/unmount event monitoring, and support for hardware-encrypted keys in the block layer.
Example: Monitoring Filesystem Events with fanotify
cfanotify_init(FAN_CLASS_NOTIF, O_RDONLY);
fanotify_mark(fd, FAN_MARK_ADD, FAN_MOUNT, AT_FDCWD, "/mnt");
Hardware/Subsystem | New Feature/Support | Benefit |
---|---|---|
Apple Touch Bar | Dedicated driver (Intel/M1/M2) | Full touch bar functionality |
Samsung GalaxyBook | ACPI, battery, function keys | Enhanced laptop experience |
Networking | Zero-copy receive (zcrx) | Lower latency, higher speed |
Block Layer | Hardware-encrypted keys | Improved security |
Linux 6.15 stands out as a landmark release, blending cutting-edge language integration, massive performance gains, and broader hardware support, setting the stage for a safer and faster Linux ecosystem.
Find this News Interesting! Follow us on Google News, LinkedIn, & X to Get Instant Updates!
Source link