News for hackers. Stuff that matters.
Re:Pengwin – A Linux Distro Optimized for WSL Based on Debian by zimbatm on Friday April 12, 2019 @01:48PM (#19647217)
The filesystem is notably slower on Windows. It's easy to test it out for yourself; clone any big repo (eg: linux) in WSL and run `git status`. The Microsoft engineers have already done a lot of heroic efforts with WSL. The issue seems to be more inherent to the design and really hard to solve.

ref: https://github.com/Microsoft/WSL/issues/873

To be clear, this is for a specific use-case. I don't believe that all applications will have similar performance profiles and that Linux wins over Windows in all of the cases like OP seems to suggest.

Re:Pengwin – A Linux Distro Optimized for WSL Based on Debian by asveikau on Friday April 12, 2019 @02:32PM (#19647688)
It's definitely true in my experience that disk operations are slower in Windows. Folks on this thread are getting flack for poor comparisons (IMO Windows is worse at lots of small files), but even when you remove that, and say, look at mostly portable code that deals with a single file, as I have seen using sqlite as an example, it does worse.

Not to mention Windows has built in antivirus reacting to all your filesystem activity by default...

Re:Pengwin – A Linux Distro Optimized for WSL Based on Debian by bashinator on Friday April 12, 2019 @03:04PM (#19647975)
It's entirely possible to disable this by adding an exception for the WSL directory in Windows Defender. In my experience, this vastly improves IO from within linux.
Re:Pengwin – A Linux Distro Optimized for WSL Based on Debian by dman on Friday April 12, 2019 @04:08PM (#19648524)
Good luck convincing your employer to do this. One feature request from me in case someone from MSFT is reading - please design things so that no file modify hooks are invoked at all for files under wsl directory. Files in wsl should be in a secure sandbox by default outside the reach of any antivirus.

I have heard that system devs at Microsoft have Admin mode enabled. I think that is why they dont realise how bad the dev experience is on windows when you dont have admin. You cant turn windows indexing off, you cant exclude things from anti virus, you cant launch Application Verifier. All dev workflows should work without Admin.

Re:Pengwin – A Linux Distro Optimized for WSL Based on Debian by ncmncm on Friday April 12, 2019 @10:03PM (#19650618)
I am reliably informed that the top developers ay MS Research are in WSL 80% of the time.
Re:Pengwin – A Linux Distro Optimized for WSL Based on Debian by dman on Friday April 12, 2019 @11:04PM (#19650848)
Satya,if you are reading this - Do an experiment by taking away everyones admin privileges for two weeks. See how many people can still do their jobs. Fix every single developer use case you find that needs admin.
Re:Pengwin – A Linux Distro Optimized for WSL Based on Debian by asveikau on Friday April 12, 2019 @03:10PM (#19648037)
I wasn't talking about WSL at all actually. I have never used it. Disk performance is just worse on Windows. With or without defender. (And defender is the default.)
Re:Pengwin – A Linux Distro Optimized for WSL Based on Debian by wtallis on Friday April 12, 2019 @03:58PM (#19648448)
Based on limited testing, I think IO is slower on Windows even when there's no filesystem involved at all. The block layer is just slower, despite having so few features that it's hardly worthy of being called a layer compared to what's possible on Linux.
Re:Pengwin – A Linux Distro Optimized for WSL Based on Debian by marmaduke on Friday April 12, 2019 @04:33PM (#19648701)
Based on my limited testing, a VM running on a NTFS file backed disk runs just as fast natively.
Re:Pengwin – A Linux Distro Optimized for WSL Based on Debian by swinglock on Friday April 12, 2019 @01:53PM (#19647259)
The WSL filesystem. That says nothing about the question.
Re:Pengwin – A Linux Distro Optimized for WSL Based on Debian by wvenable on Friday April 12, 2019 @02:28PM (#19647650)
Windows supports multiple file systems; Microsoft could solve this by adding ext4 support directly into Windows and running WSL from a separate partition.
Re:Pengwin – A Linux Distro Optimized for WSL Based on Debian by ncmncm on Friday April 12, 2019 @10:05PM (#19650624)
No, because you still suffer from Windows buffer management, Windows I/O scheduling, and Windows kernel-thread scheduling.

It has been tried.