Skip to content

Instantly share code, notes, and snippets.

@flamewave000
flamewave000 / mount_win11_fs_on_wsl2.md
Last active September 26, 2025 06:37
Mount Windows 11 Home Folders on WSL2 for Better Performance

Mount Windows 11 Home Folders on WSL2 for Better Performance

The Problem: WSL2 and Windows Files BAD

The reason I have wandered down this road is that the one reson I always stuck with WSL1 is its filesystem performance when working with files on the windows system.

I recently decided to jump to WSL2 due to some of its many features, but was horribly hampered by just how slow it was to interact with Windows files. A lot of my development is for Android and I run Android Studio on my computer but interact with the repo using WSL to manage Git and to sometimes run the Unit Tests. When I switched to WSL2, git ground to a halt. I was seeing typically everything taking 10x more time to complete. Running git status in WSL1 would take 0.5s or less. In WSL2 it takes 6.5 seconds on average, or 23+ seconds if it had to reindex the 1549 files in the project, which only tooke WSL1 about 2.7 seconds to complete previously.

My First Attempt with NFS