Docker’s new custom VMM leaves WSL 2 in the dust, running Windows codebase searches up to 19.5x faster

Docker’s new custom VMM leaves WSL 2 in the dust, running Windows codebase searches up to 19.5x faster

Published Dec 2, 2026, 1:50 PM EST Simon is a Computer Science BSc graduate who has been writing about technology since 2014, and using Windows machines since 3.1. After working for an indie game studio and acting as the family's go-to technician for all computer issues, he found his passion for writing and decided to use his skill set to write about all things tech. Since beginning his writing career, he has written for many different publications such as WorldStart, Listverse, and MakeTechEasier. However, after finding his home at MakeUseOf in February 2019, he would eventually move on to its sister site, XDA, to bring the latest and greatest in Windows, Linux, and DIY electronics. Summary Docker VMM in Docker Desktop brings major speed gains, up to 19.5× faster than WSL2 in one test. It avoids WSL2's 9P file-system penalty: keep files on Windows and access them in Linux fast. Existing users can update their Docker today, then enable the feature under Settings → General → Virtual Machine Options. If you want to run Linux software, but you also want to use Windows or macOS as your daily driver, there are a few options available to you. One of them is called Docker, and while it has been a trustworthy tool for developers across the years, the people behind the software have released Docker VMM. The best part is, it shows some pretty significant gains over Windows' own solution, WSL, with up to a 19.5x speed gain during one test. Docker VMM is here, and it's fast The tests look very good Credit: Docker As announced on the Docker website, the developers have released Docker VMM. The goal was to give users a way to use a VMM with Docker without relying on third-party virtualization layers (like WSL 2, Hyper-V, or QEMU); now, everything is bundled in one package. Plus, Docker now controls all the working parts, meaning it can focus on enhancing performance. You can check out the results of that work in the image above. Docker performed these tests by sharing code into the container. Docker VMM took the win from Apple Virtualization, WSL 2, and Hyper-V with a generous lead on each. The biggest gap was when searching a large codebase, which was 19.5x faster (a 2.4-minute process down to 7.4 seconds) than using WSL 2. So, how did they achieve those kinds of speeds? On Windows, a huge part of why WSL 2 slows down here is the 9P bridge 'tax'. WSL 2 users learned pretty quickly that you had to save your files within the Linux WSL filesystem; otherwise, doing lots of little transactions (such as that large codebase search) racks up a huge delay. Docker VMM doesn't have this flaw, meaning people can save their files on Windows, access them in Linux via Docker, and enjoy fast speeds. Docker VMM also avoids the RAM-hogging behavior of some tech like Hyper-V: "With Docker VMM, your containers are still allocated more memory when they need it. However, now when those containers finish, that memory is returned to your machine, so Docker Desktop holds only what your containers are using, and the rest is free for everything else you run." If you want to give it a spin, it's already live on Windows (x86), macOS, and Linux as a part of Docker Desktop v4.101. It won't be enabled by default for existing users, so you'll need to go to Settings, then General, then Virtual Machine Options to get it working. However, it is planned for new installations to have it on by default in the future.

Original Source

Read the full article at Xda-developers →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.