Re:WSL 1.3.10 Brings Experimental Memory Reclaim, Updated DX...
by 8n4vidtmkvmk on Monday June 19, 2023 @03:40AM
(#36388363)
I still run WSL1. Perf on WSL2 was still horrible if your files are under Windows last I checked.
Re:WSL 1.3.10 Brings Experimental Memory Reclaim, Updated DX...
by sterlind on Monday June 19, 2023 @04:30AM
(#36388647)
but filesystem perf on WSL1 is horrible in general. Windows is much, much slower at touching a bunch of files than Linux, due to the filesystem filter driver architecture and NT's deep understanding of paths, the way NT does file locking, etc. it's night and day if you ever have to deal with something like a giant npm project or a huge git repo.
WSL2 is much faster on files that live inside it. I haven't found the 9P bridge to Windows to be too slow.
honestly, I don't know why they couldn't bypass the FS filter stack or something for WSL1.
(disclaimer: I work at MS, but not on WSL.)
Re:WSL 1.3.10 Brings Experimental Memory Reclaim, Updated DX...
by WorldMaker on Monday June 19, 2023 @02:08PM
(#36394534)
They said Dev Drive supports bypassing most of the FS filter stack, and it somewhat makes sense that it is easier to bypass the stack at the drive level than the folder level (WSL1 was using folders deep in %LocalAppData%).
I'm very curious what WSL1 performance sitting on top of Dev Drive will be like. I have no idea yet if that's even an expected to be supported scenario. (In further curiosity with a few quick searches: no direct mention of it in the Dev Home repo, the only WSL-related issues they seem to be currently tracking are installing Repos to WSL paths from Dev Home. I don't see anything on automating installing WSL[1] distros to Dev Drive.)
Re:WSL 1.3.10 Brings Experimental Memory Reclaim, Updated DX...
by 8n4vidtmkvmk on Tuesday June 20, 2023 @01:29AM
(#36400087)
I did try WSL2 on a new machine, and it does indeed seem pretty fast even on this dinky laptop, but then working on those files with JetBrains tools (PhpStorm) is a bit of an issue. It looks like they've added some support for it now, but I think it's running the IDE under Linux and then forwarding the GUI or I don't know what, but it adds a bit of latency on the IDE side instead. So I lose one way or the other.
Re:WSL 1.3.10 Brings Experimental Memory Reclaim, Updated DX...
by kastden on Monday June 19, 2023 @05:15AM
(#36388955)
On a fresh install I first setup WSL1, duplicated it and then converted the other one to WSL2. I don't really use the WSL1 one much, but it's nice whenever I need touch files "in Windows".
Re:WSL 1.3.10 Brings Experimental Memory Reclaim, Updated DX...
by comfypotato on Monday June 19, 2023 @04:14AM
(#36388559)
Microsoft's formal stance is still that WSL1 won't be deprecated. I use it every day!
Re:WSL 1.3.10 Brings Experimental Memory Reclaim, Updated DX...
by sebazzz on Monday June 19, 2023 @07:21AM
(#36389739)
Yes yes, just like ".NET Framework is a mature application platform" or any other vague terms they like to speak out just not to explicitly say "We will only do security fixes because we're obliged by the Windows Support cycle but really don't like to work on this anymore".
Re:WSL 1.3.10 Brings Experimental Memory Reclaim, Updated DX...
by comfypotato on Monday June 19, 2023 @09:07AM
(#36390634)
Good enough for me. It works well enough for editing Windows-side files which is all I need WSL1 for.
Re:WSL 1.3.10 Brings Experimental Memory Reclaim, Updated DX...
by junon on Monday June 19, 2023 @06:39AM
(#36389475)
I'm still on 1, but admittedly this is the last time I ever set something up on WSL. VMs are still superior, at least for me.
Re:WSL 1.3.10 Brings Experimental Memory Reclaim, Updated DX...
by WorldMaker on Monday June 19, 2023 @02:12PM
(#36394585)
WSL2 is basically the VM solution (the distro and unix files are installed into a VHD just like a VM; the "real" Linux kernel runs directly on top of Hyper-V, the Windows hypervisor, as opposed to WS1 having the NT Kernel acting like Linux), so it may be a "best of both worlds" for you if you were to try "upgrading" your WSL to it.
Re:WSL 1.3.10 Brings Experimental Memory Reclaim, Updated DX...
by junon on Tuesday June 20, 2023 @09:50PM
(#36413381)
I tried, it didn't work. The upgrade hangs and then never completes. Known issue apparently. Plus git on WSL2 has had a lot of issues in the past to make me not want to upgrade. Also worth mentioning that using portable VM disks is easier with other softwares than it is with WSL.
Re:WSL 1.3.10 Brings Experimental Memory Reclaim, Updated DX...
by oefrha on Monday June 19, 2023 @08:11AM
(#36390138)
I used WSL2 for a long time and it was okay, but one day out of the blue CIFS (SMB) slowed to a crawl, like 10Mbps or something on a 1Gbps LAN connection. Downgraded to WSL1 and the problem went away, have been on 1 since. At least they made it easy to downgrade.
Re:WSL 1.3.10 Brings Experimental Memory Reclaim, Updated DX...
by fodkodrasz on Monday June 19, 2023 @08:33AM
(#36390330)
Wow, just updated WSL, and this new version also brought the support for the `--version` command line switch, finally I can check which version I have installed!
WSL (option 1) is pretty dead I believe, so this should be WSL2 version 1.3.10...