WSL 2 has slow file I/O performance, but WSL 1 as fast as possible to /mnt/c since WSL 2 uses 9P from Plan9 intriguingly… For I/O otherwise WSL 2 is claimed near-native speed, not sure if it reverses for WSL 1 outside of /mnt/c
I’m assuming my info (from AI) is still valid:
Benchmarks consistently show a stark contrast depending on the workload:
Good question, since it’s a “chatty” (according to AI conversation, thus slower) non-ideal networking protocol, used by WSL in non-networking (the Linux kernel talking to the Windows kernel in internal to the CPU “networking”), to mount the C drive (maybe more so networking actually useful?), and was likely chosen as non-GPL. It’s strange they didn’t use e.g. SMB/SAMBA or NFS…
I do nearly all of my dev work in WSL2 sind around 2 years now and am quite happy with it. In nearly never access the mounted c drive. Occasionally, I do it the other way around, for looking at images in a git folder with windows tools for example. Therefore, I never had any performance problems and it felt quite stable. From what i‘ve heard, wsl2 is what most people use nowadays and most of the guides you find (for stuff like gui applications, cuda within wsl, …) will explain stuff for wsl2.