More Details On Microsoft's WSL2 Implementation For Running Linux Binaries On Windows 10
Written by Michael Larabel in Microsoft on 9 May 2019 at 02:27 PM EDT. 28 Comments
MICROSOFT --
Earlier this week Microsoft announced Windows Subsystem for Linux 2 (WSL2) as a more performant implementation of this Linux binary compatibility layer for Windows. Following that news, during their annual Build Conference, was a more detailed presentation on the WSL2 architecture.

Windows Subsystem for Linux 2 will begin shipping to insiders in June, which we are quite eager to see in order to test the WSL2 performance claims ourself. It also sounds like Microsoft may be supplying us with earlier access to WSL2 in order to validate their performance results. But for now, there's at least this Build video to watch for those wanting to learn more about the design of WSL2 and how it differs from the original Windows Subsystem for Linux.

Some of the key takeaways from this session include:

- For the faster I/O of WSL2, they reported Git clones are 2.5x faster, Node.js NPM installs are 4.7x faster, and CMake runs 3.1x faster.

- As covered previously, WSL2 is using a Linux 4.19 LTS based kernel that has been tuned by Microsoft for their purposes. They will be working on upstreaming their changes moving forward.

- The WSL2 design is more akin to a traditional VM compared to WSL1 but is integrated into Windows 10, offers a smaller memory footprint, and is lighter weight in general.

- On the roadmap still for WSL2 is to make it feel the same as WSL1 and improving integration.

The WSL2 architecture "deep dive" video is embedded below for those interested.

Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week