Re:Part of Windows 11 is a revamped Windows Subsystem for Linux
by samsaga2 on Saturday October 09, 2021 @04:02PM
(#28812761)
What's the performance? WSL2 was really slow for hard disk access.
[ Parent
| on HN ]
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux
by judge2020 on Saturday October 09, 2021 @04:05PM
(#28812789)
WSL2 on Windows 11 uses the same file translation layer between the host FS and the VM FS as it did on 10, so pretty slow. The big improvement with WSLg is that now you can run desktop linux apps (such as your IDE) within the WSL file world, which should give you near-native FS performance as long as you're not accessing /mnt (and if you want to browse those files on Windows, you can always open \\wsl$ in file explorer).
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux
by veesahni on Saturday October 09, 2021 @04:13PM
(#28812858)
Both WSL1 and WSL2 are slow for cross-platform disk access... but WSL2 is fast for within-the-vm disk access (unlike WSL1).
Means if code resides in the linux vm and you can somehow edit it directly (eg: VSCode + WSL2 plugin), it's fast.
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux
by dboreham on Saturday October 09, 2021 @04:12PM
(#28812850)
It's not slow for native Linux filesystem, only if you access the host NTFS. Avoid doing that. Git clone inside WSL2.
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux
by kyriakos on Sunday October 10, 2021 @01:10AM
(#28815920)
Here are some benchmarks
https://www.phoronix.com/scan.php?page=article&item=windows1...
They don't account for disk performance when accessing Windows storage though. If you stick to wsl2 storage paths performance is great.