If WSL2 is a VM - which I don't doubt - can you still use all the CPU cores transparently?
Announcement
Collapse
No announcement yet.
Microsoft Promotes Windows Subsystem For Linux "WSL" To GA Status
Collapse
X
-
Originally posted by oleid View PostIf WSL2 is a VM - which I don't doubt
Originally posted by oleid View Postcan you still use all the CPU cores transparently?
- Likes 2
Comment
-
Ironmask : in WSL2, just do a « lsmod » .... and then we discuss !
In WSL2, there's no Linux drivers, no Linux memory management, no Linux IP stack ... it's just an userspace / kernelspace Linux interface. You can't upgrade the WSL2 kernel (because it's not a kernel, it's a NT software). WSL can be seen as an « Linux emulator over NT ». It's not a VM in any case.
The only interesting thing in Microsoft announce is the performance of graphics (Dx12 / Mesa) even if Linux binaries are slower in WSL2.
Comment
-
Originally posted by TNZfr View PostIronmask : in WSL2, just do a « lsmod » .... and then we discuss !
In WSL2, there's no Linux drivers, no Linux memory management, no Linux IP stack ... it's just an userspace / kernelspace Linux interface. You can't upgrade the WSL2 kernel (because it's not a kernel, it's a NT software). WSL can be seen as an « Linux emulator over NT ». It's not a VM in any case.
The only interesting thing in Microsoft announce is the performance of graphics (Dx12 / Mesa) even if Linux binaries are slower in WSL2.
- Likes 3
Comment
-
Originally posted by TNZfr View PostIn WSL2, there's no Linux drivers, no Linux memory management, no Linux IP stack ... it's just an userspace / kernelspace Linux interface. You can't upgrade the WSL2 kernel (because it's not a kernel, it's a NT software). WSL can be seen as an « Linux emulator over NT ». It's not a VM in any case.
- Likes 6
Comment
-
Originally posted by tildearrow View PostOriginal WSL still exists? I thought it was dropped...
- Likes 1
Comment
-
Originally posted by Ironmask View Post
What do you mean "you don't doubt"? That's the entire point of WSL2.
Yes. Actually, everything in WSL2 is configurable, including core count. https://learn.microsoft.com/en-us/wi...with-wslconfig
I recall the early VMs being busy idling, eating host's CPU power.
Comment
-
Originally posted by TNZfr View PostIf you're sure ... it's not because WSL2 use few Hyper-V sub-systems that it's a VM anymore.
And I'd like to see how people can compile and install the last linux kernel version in WSL2 ... I'm curious !
- Likes 1
Comment
Comment