Remix.run Logo
▲ WSL3 Performance is about 5-60% faster than WSL2 depending on the workload(tonym.us)
46 points by tonymet 3 days ago | 9 comments
▲1718627440 19 minutes ago | parent | next [-]

WSL2 is a different product from WSL1, not a different version. Is WSL3 now a different version of WSL2 or another separate product?

▲jesse_dot_id 16 minutes ago | parent | prev | next [-]

I jumped ship from Windows a couple of years ago after having used it since the early 90's. One of the primary reasons was how much I had to fight with WSL2 in my day-to-day work. But now it's becoming even more apparent that Microsoft does not care about its operating system. I don't even know what they could do to get me back. Trust continues to be a huge problem in the AI era of Microsoft.

▲armcat an hour ago | parent | prev | next [-]

Great job in benchmarking! I wasn't even aware of the WSLc (WSL3) release. For others, the release info is available here: https://github.com/microsoft/WSL/releases/tag/3.0.1

EDIT: stumbled on the previous HN post here: https://news.ycombinator.com/item?id=49970507

▲binsquare 22 minutes ago | parent | prev | next [-]

Lot of the WSL2 lag is not the VM itself, it's the 9P file sharing and interop.

I found that seems like anything under /mnt/c goes through 9P

▲xaduha 28 minutes ago | parent | prev | next [-]

I find that stuff that it offers over a normal Hyper-V VM is stuff that I don't need, leaky abstractions galore.

▲tonymet 3 days ago | parent | prev | next [-]

Despite the container support getting most of the attention, I discovered a measurable performance improvement with WSL3 by accident. Luckily I had another machine to upgrade so I ran an AB test comparing WSL 2 to WSL3 .

If you want a real bump in performance, I have a clever trick . Hardware isn’t cheap these days, so we demand the most of our software.

▲la_fayette 34 minutes ago | parent | prev | next [-]

ok great benchmark! I work with herdr/pi for dev work and need to use a windows machine from my company. WSL currently unfortunately lags so much when typing, not sure why when using herdr... Using powershell, some features are missing, so i can't wait to try WSL3 and hope for improvements.

▲cdud3 an hour ago | parent | prev | next [-]

And yet it's still factors faster without a whole Windows around it.

▲bewareofscams 42 minutes ago | parent | prev [-]

[dead]