You are viewing a single comment's thread from:

RE: Windows Subsystem for Linux 2.0

in #windows5 years ago (edited)

Are you sure? WSL 2 claims to be 2-5x faster for git/npm style I/O ops and up to 20 times faster for things like apt.

I noticed a huge performance boost with WSL 2.
Apt and npm was dog shit slow on WSL 1. Just doing apt update && apt dist-upgrade made me want to throw my computer out the window.

In fact, it's pretty close to native performance on Windows.

Full disclosure, I run a fast machine. Quad 4.8Ghz, 32GB Ram, NVME drives.

Are you using the older insider edition of WSL 2? Maybe try the latest mainstream release in 2004.

EDIT:

Another thing, you want to use the Linux file system for the best performance, if you are using Windows file system via WSL, you will have a penalty on I/O performance.