Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by jchw on Thursday May 09, 2019 @11:33AM
(#19869179)
I was initially very excited for WSL2, but I do worry it will require Hyper-V to be enabled. I use VMWare Workstation and it’s a true pain to switch Hyper-V on and off. Also, I cant help but worry that this will somehow be a downgrade in some way... will it be just as integrated? Windows Firewall worked on WSL Pico processes for example.
[ Parent
| on HN ]
Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by OkGoDoIt on Thursday May 09, 2019 @12:19PM
(#19869605)
I hate the way HyperV messes up networking with its virtual network adapters. It gets complicated with a VPN or LTE connection really quickly. Maybe I’m just doing it wrong, but I’ve never found networking to work properly on a machine with HyperV enabled.
Switching to a virtualization model feels like a step backwards. If I wanted a virtualized Linux on Windows, I’d run a virtual Linux on Windows. WSL is special because it’s a middle ground.
Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by zamadatix on Thursday May 09, 2019 @12:21PM
(#19869627)
For PC use you should use the default NAT switch that way your adapters stay physical.
Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by skrebbel on Thursday May 09, 2019 @01:33PM
(#19870280)
if it needs hyper-v, then what's the point? how is it fundamentally different from just running ubuntu in virtualbox with a shared network drive, then? except where the terminal window is?
Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by chrisdfrey on Thursday May 09, 2019 @04:07PM
(#19871859)
Because Hyper-V is a type 1 hypervisor, VMs that use it can be faster; I've found using docker in virtualbox is a lot slower than using docker for Windows (which uses Hyper-V).
Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by orf on Thursday May 09, 2019 @01:53PM
(#19870484)
The tight integration of course. And not having to use Virtualbox.
Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by anon4242 on Thursday May 09, 2019 @04:18PM
(#19871974)
Well, you won't be able to use Virtualbox anymore.. at least for 64 bit OSes :(
Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by sorz on Friday May 10, 2019 @03:19AM
(#19875769)
> Windows Firewall worked on WSL Pico processes for example.
In WSL1 they share the same IP addresses and TCP/UDP port space, while WSL2 has an separated IP address. I suppose there is some NAT to make the network working in WSL2.
At the end of Q&A part they mentioned that sharing localhost, IP addresses, and port number space (which is a WSL1 feature) may be done in future, but they have no roadmap for it right now.
Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by wnevets on Thursday May 09, 2019 @01:40PM
(#19870364)
Yeah one of the big selling points of WSL1 was the lack of VM.
Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by resters on Thursday May 09, 2019 @02:35PM
(#19870870)
why is that? performance?
Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by CWuestefeld on Thursday May 09, 2019 @03:51PM
(#19871676)
Hyper-V and VMWare don't work well together. If your machine is running on VMWare (as do our development workstations), then you won't be able to use Hyper-V. This already prevents us from using Docker on the dev workstations themselves (which are Win10).
Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by Skunkleton on Thursday May 09, 2019 @02:36PM
(#19870887)
VMs give near-native performance, and it's not like WSL1 was particularly fast.
Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by Tuna-Fish on Thursday May 09, 2019 @02:52PM
(#19871046)
WSL1 was notably slow, because the windows file system stack is much slower on metadata than Linux.
Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by wnevets on Thursday May 09, 2019 @05:28PM
(#19872612)
The last time I checked virtualbox and hyper v can't run at the sametime.
Re:The New Windows Subsystem for Linux (WSL2) Architecture [...
by nikbackm on Friday May 10, 2019 @03:24AM
(#19875795)
VirtualBox 6.0 should support it. Still considered an experimental feature though.
https://docs.oracle.com/cd/E97728_01/F12470/html/hyperv-inte...