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

TL;DR

Before you orderOffer from Amazon

Get the latest gadgets delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
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.

Products Worth Considering

LG UltraGear 27-Inch QHD OLED Gaming Monitor, 240Hz, 0.03ms, G-SYNC Compatible, FreeSync Premium Pro, HDMI 2.1

LG UltraGear 27-Inch QHD OLED Gaming Monitor, 240Hz, 0.03ms, G-SYNC Compatible, FreeSync Premium Pro, HDMI 2.1

Logitech MX Mechanical Wireless Illuminated Performance Keyboard – Clicky

Logitech MX Mechanical Wireless Illuminated Performance Keyboard – Clicky

Amazon Kindle Paperwhite Signature Edition (12th Generation, 2024), 32 GB, Metallic Black

Amazon Kindle Paperwhite Signature Edition (12th Generation, 2024), 32 GB, Metallic Black

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

You May Also Like

The Steve Jobs $1 coin goes on sale today starting at $61 for a roll

The US Mint starts selling the Steve Jobs $1 coin today at $61 per 25-rolls, honoring the tech pioneer with exclusive collectible currency.

Melania Trump: Stirring Up Anticipation

Delve into the buzz surrounding Melania Trump's role at the Republican National Convention, hinting at exciting developments to come.

These Shenzhen factory workers test up to 10,000 vapes a day.

Workers in Shenzhen are testing as many as 10,000 vapes daily, raising questions about manufacturing and safety standards in the industry.

EU fines Temu €200M for allowing sale of illegal products

The EU has imposed a €200 million fine on Temu for selling illegal and unsafe products, marking a significant enforcement action under digital marketplace regulations.