Live data from Hacker News

The New Windows Subsystem for Linux (WSL2) Architecture [video]

youtube.com

101–110 of 111 posts

Re: The New Windows Subsystem for Linux (WSL2) Architecture [video]

#101

Although many people seem to be receiving the WSL2 news well, I am one of the few that feels that we will be missing something important with this new direction. WSL1 was pushing the boundaries of OS research: - a method for having multiple syscall interfaces in a mainstream OS - processes in WSL1 were real NT processes (even if lacking some of the NTOS environment) - direct integration with the rest of the OS withou…

> Finally WSL2 will be distributed with Windows which raises some licensing questions (IANAL) if not in the letter of the GPL license at least in spirit. I write GPL'ed software myself and I would be somewhat miffed if I saw my software used in a similar manner (i.e. "via a VM", but still distributed with non-GPL code). Mere aggregation of non-GPL code with (“distributed with”) GPL code expressly is consistent with t…

But is it really just "aggregation"?

https://www.gnu.org/licenses/gpl-faq.html#MereAggregation https://www.gnu.org/licenses/gpl-faq.html#AggregateContainer...

I do not know, but I can see arguments on both sides. This is why I would love to hear the opinion of the FSF on this.

Re: The New Windows Subsystem for Linux (WSL2) Architecture [video]

#102

Since it uses Hyper-V, does that mean it won't work anymore on the Home editions of Windows 10?

I asked @craigaloewen that question on reddit and he said the following:

"It'll be available on all SKUs that run WSL currently including windows home!"

Re: The New Windows Subsystem for Linux (WSL2) Architecture [video]

#103
post #99

Although many people seem to be receiving the WSL2 news well, I am one of the few that feels that we will be missing something important with this new direction. WSL1 was pushing the boundaries of OS research: - a method for having multiple syscall interfaces in a mainstream OS - processes in WSL1 were real NT processes (even if lacking some of the NTOS environment) - direct integration with the rest of the OS withou…

I agree that WSL1 was a fascinating project. It’s too bad all that work has gone to waste.

> I agree that WSL1 was a fascinating project. It’s too bad all that work has gone to waste.

Has it? WSL1 and WSL2 seem to be parallel alternatives, the latter isn't replacing the former now, and it's not clear that it is intended to.

Re: The New Windows Subsystem for Linux (WSL2) Architecture [video]

#104
post #99

Earlier quoted context omitted.

I agree that WSL1 was a fascinating project. It’s too bad all that work has gone to waste.

> I agree that WSL1 was a fascinating project. It’s too bad all that work has gone to waste. Has it? WSL1 and WSL2 seem to be parallel alternatives, the latter isn't replacing the former now, and it's not clear that it is intended to.

Perhaps you are right, but to me this feels more like Microsoft hedging their bets, rather than a genuine interest in having two parallel products doing effectively the same thing (from a user perspective).

I asked the same question on their GitHub issues: https://github.com/microsoft/WSL/issues/4022

Re: The New Windows Subsystem for Linux (WSL2) Architecture [video]

#105
post #90

Earlier quoted context omitted.

As described in the Video, they could not keep up with feature parity of syscalls in Linux and some concepts are simply incompatible with the two systems. They reference the concept of open file handles and moving folder structures. I think they found the boundary of OS research in this case, and a better product is using the actual Linux kernel.

> They reference the concept of open file handles and moving folder structures. I think this comment may have been disingenuous on their part. The reason is that this problem more than likely still exists in WSL2 for the /mnt/c, /mnt/d file systems (i.e. what they used to call "DrvFs" in WSL1). WSL1 comes with (at least) 2 file systems. "VolFs" which is the file system that they use for the Linux root file system and…

> My contention is that they could have instead replaced VolFs with a native WSL1 file system that uses a disk partition or VHD as its backend storage, thus eliminating the Windows I/O stack in the same way. They could then have implemented proper Linux file system semantics without any baggage.

But that would require them to implement a new file system from scratch wouldn't it? VolFs in WSL1 relied on NTFS to do the heavy lifting.

Far easier to just let the Linux kernel handle it.

Re: The New Windows Subsystem for Linux (WSL2) Architecture [video]

#106
post #22

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.

> 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 [video]

#107
post #89
post #62

Earlier quoted context omitted.

why is that? performance?

The last time I checked virtualbox and hyper v can't run at the sametime.

VirtualBox 6.0 should support it. Still considered an experimental feature though.

https://docs.oracle.com/cd/E97728_01/F12470/html/hyperv-inte...

Re: The New Windows Subsystem for Linux (WSL2) Architecture [video]

#108
post #83

Why would I want to run a proprietary, closed-source implementation of what is supposed to be an open source operating system?

Their kernel implementation will actually be open source and hosted on Github in the close future.

Re: The New Windows Subsystem for Linux (WSL2) Architecture [video]

#109

Earlier quoted context omitted.

> They reference the concept of open file handles and moving folder structures. I think this comment may have been disingenuous on their part. The reason is that this problem more than likely still exists in WSL2 for the /mnt/c, /mnt/d file systems (i.e. what they used to call "DrvFs" in WSL1). WSL1 comes with (at least) 2 file systems. "VolFs" which is the file system that they use for the Linux root file system and…

> My contention is that they could have instead replaced VolFs with a native WSL1 file system that uses a disk partition or VHD as its backend storage, thus eliminating the Windows I/O stack in the same way. They could then have implemented proper Linux file system semantics without any baggage. But that would require them to implement a new file system from scratch wouldn't it? VolFs in WSL1 relied on NTFS to do the…

> But that would require them to implement a new file system from scratch wouldn't it? VolFs in WSL1 relied on NTFS to do the heavy lifting.

You are correct.

Re: The New Windows Subsystem for Linux (WSL2) Architecture [video]

#110

Earlier quoted context omitted.

How's Office for Linux going to help my laptop reliably wake from hibernation?

What hardware do you use? I use Linux exclusively on all my systems, and have not had any problems at all. So I always wonder what hardware is being used that does not work... For my laptops I use Think pads and various Dell systems. The only thing I always try to make sure when buying a laptop though is it is a Intel CPU with integrated inlet GPU -- just doing that and I have never really had any problems. In any ca…

Dell XPS with Fedora (work laptop). I don't think it's specific to the model because my colleagues don't all have the same model but most have the same problem.
Post reply on HN