Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We improved the file system performance overall when we introduced WSL 2 by about 3-6x in general, and 20x for specific disk heavy operations. This still does bring its own challenges (You'll need to move your files to the Linux file system, and Cross OS file perf is slower in WSL 2) but we are working on these as well! :)


From our perspective WSL2 only made file system performance worse. The caviet of moving files to the Linux file system is kind of a big one.

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.


> The caviet of moving files to the Linux file system is kind of a big one.

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.


With native opensshd in windows, and a windows build of rsync - why would wsl be needed?


What windows build of Rsync are you referring to?

I haven’t found one that doesn’t use Cygwin (slow filesystem).


I thought there was a mingw build, but apparently not. :/

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).


Cygwin is faster than WSL2 but not faster than WSL1 from the last time we tested.

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.


Haven't tried this commercial client myself and I'm not endorsing it, but this one claims to be native rsync without cygwin:

https://acrosync.com/windows.html


I’ve looked into it. It’s not really the right use case for pushing data to and from a build server. It’s more designed for a continuous backup situation with a GUI.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: