News for hackers. Stuff that matters.
Re:Initial preview of GUI app support for the Windows Subsys... by craigaloewen on Wednesday April 21, 2021 @02:28PM (#26893589)
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! :)
Re:Initial preview of GUI app support for the Windows Subsys... by Negitivefrags on Wednesday April 21, 2021 @03:23PM (#26894255)
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.

Re:Initial preview of GUI app support for the Windows Subsys... by madeofpalk on Wednesday April 21, 2021 @08:45PM (#26897295)
> 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.

Re:Initial preview of GUI app support for the Windows Subsys... by e12e on Wednesday April 21, 2021 @04:40PM (#26895148)
With native opensshd in windows, and a windows build of rsync - why would wsl be needed?
Re:Initial preview of GUI app support for the Windows Subsys... by Negitivefrags on Wednesday April 21, 2021 @04:43PM (#26895193)
What windows build of Rsync are you referring to?

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

Re:Initial preview of GUI app support for the Windows Subsys... by e12e on Wednesday April 21, 2021 @05:08PM (#26895471)
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).

Re:Initial preview of GUI app support for the Windows Subsys... by Negitivefrags on Wednesday April 21, 2021 @08:28PM (#26897176)
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.

Re:Initial preview of GUI app support for the Windows Subsys... by binarycrusader on Wednesday April 21, 2021 @05:13PM (#26895523)
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

Re:Initial preview of GUI app support for the Windows Subsys... by Negitivefrags on Wednesday April 21, 2021 @08:22PM (#26897134)
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.