4 ms·
Has performance improved in wsl? I was playing around with it a few months ago and filesystem-intensive operations (like running npm install) were horrendously
by josephg 6y ago
Has performance improved in wsl?
I was playing around with it a few months ago and filesystem-intensive operations (like running npm install) were horrendously slow. Has that changed with wsl2?
I’ve been considering picking up a ryzen laptop and running Linux on it, and trying that out as a daily driver. But I don’t have any patience these days for the hacky wifi driver installation dance. And I’m nervous after having a Linux laptop cook it’s own battery when it failed to sleep properly in my backpack. It’s been a couple decades - do Linux laptops just work yet?
- eknkc 6y agoI tried WSL a year ago. Filesystem was slow and it was slow everywhere. WSL2 improves that by offering fast fs on linux side. The boundary is still slow. For example, if you go into /mnt/c and use git status on a large repo it will need to go through the boundary. It is slow (not painful but not pleasant) My current setup has all my source code on the linux fs (/home/user) and I access them using VSCode remote extensions. The performance is fine. I can't really tell if native macos experience or this is faster. I also tried JB iDEA. It works across the filesystem boundary and even if the access is slow, it does not reflect to real world usage much. But you'll feel it if you look for it. Another option is to run GUI apps on Linux side and use an X11 server on Windows. This just works fine and they recently announced that the WSL will have built in support for Linux GUI apps.
- Maakuth 6y agoYes indeed. WSL 2 launched a few weeks ago with the latest Windows 10 version, and it has different sort of filesystem setup. WSL 1 had a Linux-like view of some subdirectory of the host NTFS filesystem, so all the fs IO went through Windows kernel. In WSL 2, there's an ext4 image instead, so filesystem access is essentially as fast as with any Linux system in a virtual machine.
- RealStickman_ 6y agoMake sure to check how well supported your wifi card is. If you try something like Ubuntu drivers generally should be less of a problem. Though you may have to upgrade to the 5.7 kernel for better support of the cpu. I rarely sleep my laptop so I can't tell you anything about that, but general usage on my hp laptop (i5 7200u, intel igpu and intel wifi) has been working fine for me the last six months with Arcolinux on it.
- qalmakka 6y agoYou really have to have a super crappy card to have Wi-Fi issues on Linux. Nowadays laptops have mostly Intel, Qualcomm/Atheros or Broadcom chipsets which work flawlessly out of the box. The only problems I had in the last years were due to Killer WiFi cards or crappy Realtek-based USB dongles, both of which kinda sucked on Windows too in the first place.
- wayneftw 6y agoTry Manjaro Linux on your laptop. Last laptop I installed it on, everything just worked. And it's based on Arch, so you'll be able to take advantage of the excellent Arch software repo and wiki (if necessary).
- qalmakka 6y ago> do Linux laptops just work yet? Linux on laptops is fine nowadays. Recent versions of the kernel vastly improved battery life on Intel. It's much better than it was 10 years ago.
- abrowne 6y agoAgreed. I only have experience with Intel graphics, but all the recent machines I've installed Ubuntu on have just been install and it works. If you pick a distro that doesn't include non-free drivers/firmware, you might have to do some more work to get wi-fi working.
- 2OEH8eoCRo0 6y agoWhat about Nvidia drivers with Wayland? If I remember correctly Nvidia drivers don't work with Wayland and for touch gestures I need Wayland so because of the Nvidia and Wayland mess I can't have touch gestures which seems totally strange that they would be intertwined with touchpad.
- qalmakka 6y agoSadly, Nvidia has shown multiple times to be extremely user hostile and only concerned in keeping its hold on the computing space. There are I think almost no other reasons to refuse to write an open driver except to avoid to expose exactly how CUDA works, I think. AMD's new open source driver is plug and play, and a true joy to use. In general I avoid Nvidia as much as I can, especially on laptops where I honestly don't see the appeal of having a dedicated monster that wrecks your battery every time you power it on. New iGPUs are excellent, especially those from AMD, and for bigger tasks assembling a desktop computer gives you much more processing power for a way lower price.
- 2OEH8eoCRo0 6y agoI understand where you are coming from but at the end of the day it works flawlessly on Windows and not on Linux and to the user that's all that matters. I really don't care whose fault it is.