DEV Community

Discussion on: Modern Windows 10 development setup

Collapse
 
elmuerte profile image
Michiel Hendriks

People say WSL2 is better

Not me. For some things WSL2 is better than WSL1, but for a lot of things it is worse.

  • In WSL2 Linux IO is much better, but Linux->Windows IO is much much worse.
  • WSL2 will eat your memory (originally 80%, now reduced to 50%) because they have no disabled the Linux Kernel IO caching functionality.
  • WSL2's time is not synchronized, cause serious clock drift when you let Windows sleep.
  • SystemD is broken for a large part in WSL2
  • WSL2 does offer much better Docker support in Windows
  • WSL2 runs in a hidden HyperV VM and tuning it is a bit limited