News for hackers. Stuff that matters.
Re:Windows Subsystem for Linux performance is close to bare-... by chmod775 on Thursday December 17, 2020 @05:33AM (#25454334)
Most of these benchmarks do a minimal number of syscalls per unit of work, if any. Meaning, unless syscalls are horribly slow, you'd expect them to be pretty much unaffected by the underlying OS.

It's not even really only WSL being benchmarked here, but also stuff like the OS' scheduling etc.

Micro-benchmarks for each syscall and comparing their actual performance might be more useful - it would allow you to more easily control for auxiliary differences between the operating systems - so you don't accidentally benchmark ext4 vs ntfs or something instead of your syscall.

Edit: I was unaware WSL2 is essentially a linux kernel in a VM now. What is even the point of benchmarking this and why is it supposed to be a successor to WSL? This is something completely different conceptually.

Re:Windows Subsystem for Linux performance is close to bare-... by Snetry on Thursday December 17, 2020 @08:25AM (#25455341)
I believe WSL2 was made for those that wanted a somewhat seamless linux experience non Windows without the incompatibilities WSL1 brought
Re:Windows Subsystem for Linux performance is close to bare-... by ngcc_hk on Thursday December 17, 2020 @08:24AM (#25455334)
You may say it is VM but given it is under hypervisor, it is a different sort of “VM” as the layer under is very thin.