WSL 2 is getting faster Windows file system access
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

PRIME GAMING

Play games included with Prime

Start a Prime free trial and play with Amazon Luna on your devices.

Start playing

As an affiliate, we earn on qualifying purchases.

Microsoft’s WSL 2 has implemented a new feature that assigns dedicated DMA pools to each virtio device, reducing contention and improving file system performance. This change, landed in May 2026, targets workflows involving frequent cross-OS file access.

Microsoft has introduced a new optimization in WSL 2 that assigns dedicated DMA pools to each virtio device, significantly improving cross-OS file system performance. This update reduces contention at the DMA layer, benefiting workflows involving frequent file exchanges between Windows and Linux environments.

The change, merged into the WSL 2 kernel in May 2026, addresses a longstanding bottleneck where multiple virtio devices shared a single DMA pool, causing performance degradation during heavy I/O. By providing each device with its own dedicated pool, file-heavy workflows—such as development projects on Windows that build or run in Linux—see improved speed and responsiveness.

This update requires the latest WSL kernel (Microsoft.WSL.Kernel 6.18.26.3-1) and specific configuration steps, including setting virtiofs=true in the .wslconfig file and updating WSL via wsl.exe –update –pre-release. The performance boost is primarily relevant for users with workloads that involve frequent read/write operations across the OS boundary.

Why It Matters

This development matters because it directly enhances productivity for developers and IT professionals who rely on WSL 2 for cross-platform workflows. Faster file system access reduces build times, improves responsiveness, and streamlines development cycles, making WSL 2 more competitive with native Linux environments.

Amazon

WSL 2 compatible Linux kernel update

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background

Since its launch in 2019, WSL 2 has progressively improved cross-OS file access performance. Initially, WSL 1 used DrvFs for direct NTFS access, which was fast but limited to simple workloads. WSL 2 introduced a full Linux kernel in a Hyper-V VM, switching to a 9P protocol for file sharing, which added protocol overhead. Over time, Microsoft introduced virtiofs as an experimental feature to reduce this overhead, culminating in the recent addition of per-device DMA pools to address contention issues at the DMA layer.

“The per-device SWIOTLB pools remove contention at the DMA layer, significantly improving performance for file-heavy workflows.”

— Microsoft WSL team

“The kernel now allocates a dedicated physical range for each virtio device at boot, which reduces contention and boosts throughput.”

— Ben Hillis, Microsoft engineer

What Remains Unclear

It is not yet clear how widespread the performance improvements will be across all workloads or whether future updates will make virtiofs the default transport method. The long-term stability and compatibility of this feature are still being evaluated.

What’s Next

Microsoft is expected to continue refining WSL 2’s file system performance, potentially making virtiofs the default transport in future releases. Users should monitor updates and test their workflows with the latest kernel to benefit from these improvements.

Key Questions

What is the main benefit of this update in WSL 2?

The main benefit is a significant reduction in file I/O bottlenecks during cross-OS workflows, leading to faster build times and improved responsiveness.

How do I enable this feature?

Set ‘virtiofs=true’ in the [wsl2] section of your .wslconfig file, and update your WSL kernel using ‘wsl.exe –update –pre-release’.

Do I need to change my existing WSL 2 setup?

Yes, you should update to the latest kernel and configure your .wslconfig as described to benefit from the new DMA pool allocation feature.

Will virtiofs become the default transport method?

It is not yet confirmed; currently, plan 9 over Hyper-V socket remains the default, with virtiofs being an opt-in feature for now.

Source: Hacker News

FALL YARD WORK

Fall yard work Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like

OpenBSD 7.9 Released

OpenBSD 7.9, the latest stable release, launched on May 19, 2026, introduces significant platform support and kernel improvements for security and performance.

Christian Yelich's Rich Multicultural Ancestry Unveiled

Ancestral roots intertwine in Christian Yelich's heritage, blending Serbian, Japanese, Macedonian, Bulgarian, and European traditions, offering a captivating glimpse into his diverse background.

Behind Xbox’s Big Layoffs, a Streaming Strategy That Failed

Microsoft’s recent layoffs at Xbox are linked to a failed streaming strategy, revealing challenges in gaming and cloud ambitions.

Denise Jackson: A Living Entertainment Icon

Immerse yourself in the extraordinary life of Denise Jackson, a living entertainment icon whose journey embodies resilience and inspiration.