Remix.run Logo
▲ binsquare an hour 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

▲chris_money202 32 minutes ago | parent | next [-]

You’re not supposed to work out of the /mnt/c. A lot of people make this mistake and then complain that WSL is slow. On the native linux file system WSL is 100x faster for everything

▲pjmlp an hour ago | parent | prev | next [-]

There is virtio support now, and to be fair 9P was never an issue for me.

▲DiabloD3 22 minutes ago | parent [-]

9P is very slow for certain operations (such as, for example, git from either direction).

virtio is not enabled by default because its buggy in certain corner cases, and will be enabled by default when it stops doing that. That said, I do have that enabled, it is certainly faster.

▲pjmlp 13 minutes ago | parent [-]

Since nowadays I use WSL to run immutable containers, and not really classical Linux Desktop, it isn't something that bothers me.

Agents take more time than building Docker images.

▲usrusr an hour ago | parent | prev [-]

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.