10 comments

  • jesse_dot_id 28 minutes ago
    I jumped ship from Windows a couple of years ago after having used it since the early 90's. One of the primary reasons was how much I had to fight with WSL2 in my day-to-day work. But now it's becoming even more apparent that Microsoft does not care about its operating system. I don't even know what they could do to get me back. Trust continues to be a huge problem in the AI era of Microsoft.
    • throwa356262 19 minutes ago
      WSL has been god send for corporate employees who get a windows laptop but need to do real work.

      But everyone knows that performance of WSL is nowhere near native linux on the same machine.

    • shevy-java 3 minutes ago
      For me Win11 was the final stop.

      I still use Win10 for a few things, including testing stuff works there too, via java. I switched to Linux in 2004 or so, though.

  • 1718627440 30 minutes ago
    WSL2 is a different product from WSL1, not a different version. Is WSL3 now a different version of WSL2 or another separate product?
    • pilif 23 minutes ago
      Looks like a different version of WSL2 with a newer kernel and newer VM host software
      • pjmlp 4 minutes ago
        An evolution, better said.

        Now there is virtio support, finally no need to depend on external CLI tools for what should have been in the box on day on.

        Until now, even for Windows containers, we needed some Docker compatible CLI tool.

  • armcat 1 hour ago
    Great job in benchmarking! I wasn't even aware of the WSLc (WSL3) release. For others, the release info is available here: https://github.com/microsoft/WSL/releases/tag/3.0.1

    EDIT: stumbled on the previous HN post here: https://news.ycombinator.com/item?id=49970507

    • pjmlp 45 minutes ago
      That is quite relevant, and compose ability is on the way, or for some workloads Aspire would be an alternative I guess.

      Unfortunately most companies are too cheap to pay for Docker Desktop, and having Windows containers depend on a third party tool has been a problem in such customers.

      Because using Rancher Desktop or Podman isn't also a given, due to similar issues.

    • Randomno 31 minutes ago
      Is it accurate to call this WSL3? WSL 2 was released in 2019, but WSL 2.0.0 was released in 2023 https://github.com/microsoft/WSL/releases/tag/2.0.0
  • binsquare 34 minutes ago
    Lot of the WSL2 lag is not the VM itself, it's the 9P file sharing and interop.

    I found that seems like anything under /mnt/c goes through 9P

    • pjmlp 3 minutes ago
      There is virtio support now, and to be fair 9P was never an issue for me.
    • usrusr 5 minutes ago
      And yet I had results perfectly within the range of "good enough" having an ai harness muck about in a work folder in a docker mount on a 9P mapped drive under permanent observation by an intelliJ instance on the Windows side before some buggy Windows update made it occasionally lock up under `npm i` sized filesystem loads. Crazy how far we've come.
  • xaduha 39 minutes ago
    I find that stuff that it offers over a normal Hyper-V VM is stuff that I don't need, leaky abstractions galore.
    • shevy-java 2 minutes ago
      Well, you can use linux-tools on windows too. I kind of compiled most of LFS/BLFS on it, and it works. So it just gives you more options.
  • la_fayette 46 minutes ago
    ok great benchmark! I work with herdr/pi for dev work and need to use a windows machine from my company. WSL currently unfortunately lags so much when typing, not sure why when using herdr... Using powershell, some features are missing, so i can't wait to try WSL3 and hope for improvements.
    • TZubiri 38 minutes ago
      ... does it lag on the shell or does it lag when you are in some vibecoded "TUI" njs monstrosity? Because if the latter, the issue is probably not cause of wsl...
      • la_fayette 29 minutes ago
        The TUIs alone work fine, so something must be done by herdr to make it slow...
      • ricardobeat 35 minutes ago
        herdr might be the culprit there, it can significantly slow down tui apps with its terminal capture. This happens on mac/linux, WSL will surely make it worse.
  • shevy-java 4 minutes ago
    WSL is one of the few good ideas Microsoft had in the last ... 5000 years or so.
  • tonymet 2 days ago
    Despite the container support getting most of the attention, I discovered a measurable performance improvement with WSL3 by accident. Luckily I had another machine to upgrade so I ran an AB test comparing WSL 2 to WSL3 .

    If you want a real bump in performance, I have a clever trick . Hardware isn’t cheap these days, so we demand the most of our software.

  • cdud3 57 minutes ago
    And yet it's still factors faster without a whole Windows around it.
    • pjmlp 48 minutes ago
      Unfortunately that acquisition option isn't available in most physical stores, where normies buy their computers, even though there isn't a single OEM not running some distro on their data centers.
      • TZubiri 36 minutes ago
        everything I use it for executes virtually instantly, 60% slower than virtually instantly is still virtually instantly.

        If something is slow on WSL, but not on bare metal linux, it means that the application is slop that only works when MAXING OUT your CPU, it's slop, the app is the slop

        • pjmlp 30 minutes ago
          Yeah, I haven't dual booted in decades, it started with Windows 7 and VMWare Workstation for me.

          The Year of Desktop Linux is delivered on VMs.

  • bewareofscams 54 minutes ago
    [dead]