Live data from Hacker News

WSL 2 is getting faster Windows file system access

boxofcables.dev

31–40 of 178 posts

Re: WSL 2 is getting faster Windows file system access

#31
post #18

Proton, Copilot, and literally this single issue are what pushed people to Linux. If I were in charge there would be a team devoted to fixing this a decade ago. WSL singlehandedly stemmed much of tide of developers moving away from Windows, but WSL native filesystem performance gave devs that magical experience when they boot into Linux the first time and see that the filesystem doesn't have to be ass. There's always…

Perhaps you meant Pluton and not Proton? https://news.ycombinator.com/item?id=25191319

Re: WSL 2 is getting faster Windows file system access

#34
post #18

Proton, Copilot, and literally this single issue are what pushed people to Linux. If I were in charge there would be a team devoted to fixing this a decade ago. WSL singlehandedly stemmed much of tide of developers moving away from Windows, but WSL native filesystem performance gave devs that magical experience when they boot into Linux the first time and see that the filesystem doesn't have to be ass. There's always…

Perhaps you meant Pluton and not Proton? https://news.ycombinator.com/item?id=25191319

Proton is a tool Valve made, based on Wine, to easily run Windows games, on Linux [0]. GP meant Proton.

[0]: https://github.com/valvesoftware/proton

Re: WSL 2 is getting faster Windows file system access

#35

Earlier quoted context omitted.

Sounds like you were just doing it wrong Either you run npm install from Windows if you are operating on the Windows file system or you run it on WSL if you are operating on the WSL file system both cases will be very fast

The entire Windows operating system is doing it wrong. Seriously who daily drives windows these days. lol.

I do and I have no problems. Feel free to ask me anything.

Re: WSL 2 is getting faster Windows file system access

#37

Earlier quoted context omitted.

Unlikely due to the better and more stable NVIDIA drivers available to Windows and the greater compatibility with every game without having to mess around with configuration files or other hacks. But you do you.

Linux drivers are now first class and are faster and easier to install than any Windows drivers. There's no bullshit extras with them. They just work. Plus steam launches games in containers so there's zero configuration. If you don't know what you're talking about it is in fact better to say nothing than to just make shit up.

It's great that gaming on Linux has gotten a lot better over the last several years but let's not pretend like Windows still isn't far ahead on this

Also how can drivers be easier to install than on Windows when updating my GPU driver is one click?

Re: WSL 2 is getting faster Windows file system access

#38
post #6

They are undoubtly doing this because so many users operate out of /mnt/c with zero clue of that implication.

Would you mind elaborating (for those of us uninformed)

/mnt/c is a mounted C: drive in WSL2, that allows WSL2 guests to read/write files on the Windows host.

The mount is fine and speedy enough, but the underlying reads/writes turn into native NTFS reads/writes through Windows. NTFS file API is incredibly slow - high fixed overhead for initial file access.

So patterns like node_modules with many small individual files (or compiling code in general) are much much slower on Windows or WSL2 /mnt/c due to the fixed overhead adding up over a large number of files.

It's a ridiculous problem that has plagued Windows for years.

Re: WSL 2 is getting faster Windows file system access

#39

Earlier quoted context omitted.

Nah my frames on Linux beat yours easily.

Unlikely due to the better and more stable NVIDIA drivers available to Windows and the greater compatibility with every game without having to mess around with configuration files or other hacks. But you do you.

> better and more stable NVIDIA drivers available to Windows

Huh? It's the same driver. It works the same on every platform. There's no consistent difference in performance (at least not between FreeBSD and Windows, it's been a while since I ran Linux).

Re: WSL 2 is getting faster Windows file system access

#40

Earlier quoted context omitted.

Linux drivers are now first class and are faster and easier to install than any Windows drivers. There's no bullshit extras with them. They just work. Plus steam launches games in containers so there's zero configuration. If you don't know what you're talking about it is in fact better to say nothing than to just make shit up.

It's great that gaming on Linux has gotten a lot better over the last several years but let's not pretend like Windows still isn't far ahead on this Also how can drivers be easier to install than on Windows when updating my GPU driver is one click?

Here's a pre-configured Fedora based distro that is zero clicks. You sign into Steam and go. Drivers are preinstalled. You literally sign into steam and hit play.

https://nobaraproject.org/

Post reply on HN