We just want to Rsync some files from a Linux server to a windows build server without garbage performance and somehow there isn’t a way to do that still.
Trying not to sound reductive, but either it's an issue for you or not. It's really going to depend on your use case which should be super apparent for you.
I do all my web development within WSL2 and its great. I suspect this is the main use case they're optimising for.
I haven’t found one that doesn’t use Cygwin (slow filesystem).
You see that slow file access with cygwin?
Last time I had such a use case for windows, I used unision - but isn't rsync, of course.
https://www.cis.upenn.edu/~bcpierce/unison/
Judging by this scoop.sh issue, there are no obvious not-cygwin builds/ports:
https://github.com/lukesampson/scoop/issues/2295
Looks like there are libraries for rust and go - but not clients that are a drop in replacement (yet).
Our builds involve syncing directories that have several hundred thousand files in them so the speed of stat() is really the bottleneck.
I’ll give unison a look, I haven’t tried that.
The libraries are an interesting idea, I’ll look into that too.
WSL2 takes a different approach: HyperV was always good at thin VMs... they took it to the next level and made WSL2 a super thin VM. Now performance is near native, depending on your benchmark.
Bias: I work at MS in an unrelated area. I run Arch as my daily driver, but am damn impressed by the engineering in WSL2.
This is a big deal because, say you wanted to use intellij idea on wsl, using it on windows side and accessing the wsl filesystem does not really work. It is too slow. Now you can run it in linux, access the native fs. I imagine it would perform pretty good.
Theoretically this change would eliminate the need for that but it's nice to have the same VSCode on Windows as in WSL.
FYI, WSL 1 and WSL 2 are completely different architectures, so you have to explicitly upgrade your instances from 1 to 2.
When I tried WSL a while back, file system access was pretty slow especially for scanning large folder trees with many files (important for programming projects). Is this still an issue or has it improved in that area?