The new Windows subsystem for Linux architecture: a deep dive - BRK3068

  Рет қаралды 183,677

Microsoft Developer

Microsoft Developer

Күн бұрын

Пікірлер: 355
@stephenjames2951
@stephenjames2951 5 жыл бұрын
Vs code remote with WSL is a game changer
@nmihaylove
@nmihaylove 5 жыл бұрын
That's why in Unix under the X WIndows system you can run any app on one machine and have it show up on another. Also, can this remote to an arbitrary Linux installation, say on another machine, or they gimped it to only work with local WSL?
@beardymonger
@beardymonger 5 жыл бұрын
Only VS code remote is a game changer. I'll wait for wsl3 :-P
@k1ngjulien_
@k1ngjulien_ 5 жыл бұрын
@@nmihaylove well since wsl2 supports all linux system calls, i don't see why you wouldn't be able to run Xorg in WSL and forword the UI with X11
@ShawnThuris
@ShawnThuris 5 жыл бұрын
@@nmihaylove the VS Code remote is actually three different extensions: for WSL, for Docker containers, and for ssh into remote machines. I've been using the WSL (1) version and haven't had a single hiccup so far.
@johnsimon8457
@johnsimon8457 5 жыл бұрын
@@k1ngjulien_ I've gotten it to work, graphical glitches abound, performance is dogshit. Code is a hardware accelerated electron app, not some graphical emacs using motif. VS Code remoting is the editor running locally but operating on remote files. The neat bit is that extensions that depend on remotely installed components like go's gofmt or delve run just the same as they do locally.
@kebabimpaler
@kebabimpaler 5 жыл бұрын
WSL was and is an extraordinary technical achievement and I use it every single day. WSL2 looks like another leap forward I'm very much looking forward to it.
@LiegeMaximo
@LiegeMaximo 2 жыл бұрын
++
@Sam-ws1rj
@Sam-ws1rj 2 жыл бұрын
Incredible product for software developer using Windows OS. You get the best of both world, Linux and Windows.
@zexli6709
@zexli6709 5 жыл бұрын
The next Linux distribution, Windows
@dukajelvis
@dukajelvis 5 жыл бұрын
the nice thing of Windows are only drivers and software capabilities. The linux in UI is not that bad IMHO
@EJM07
@EJM07 4 жыл бұрын
@@dukajelvis Never heard of "The linux in UI".
@patricknelson
@patricknelson 4 жыл бұрын
Better than Lindows! Then again, *everything* was better than Lindows.
@Jeancahu
@Jeancahu 3 жыл бұрын
Windows has a great GUI, but it's kernel is trash, Linux is the best kernel, but it doesn't have a GUI good enough, MS using linux as kernel moving windows on it would be amazing
@nathans4957
@nathans4957 5 жыл бұрын
need to reupload all these videos with boosted audio
@MoMoadeli
@MoMoadeli 4 жыл бұрын
The engineer is singularly excellent in providing information on WSL 2 architecture.
@CedricMialaret
@CedricMialaret 5 жыл бұрын
WSL is amazing, looking forward to WSL2 !
@QuentinFahrner
@QuentinFahrner 4 жыл бұрын
WSL2 is BIG for web development. Thank you so much for investing in this tool !
@k1ngjulien_
@k1ngjulien_ 5 жыл бұрын
The next step is creating a reverse WSL which translates Windows NT System calls to Linux System Calls so Wine finally works 100% of the time :D
@Trigex
@Trigex 5 жыл бұрын
But... That's already what Wine does, the true next step is to have Microsoft contribute to Wine!
@salatwurzel-4388
@salatwurzel-4388 5 жыл бұрын
@@Trigex There's alot of reverse engineering going on for example, as a result, wine is often not 100% correct how to exactly "translate" it to linux. If wine would already do that (correctly), all games, applications etc would work out of the box (there are alot who do not)
@dorinelpisau
@dorinelpisau 5 жыл бұрын
o/ Most interesting and useful Microsoft project, ... for me ;). WSL has all my undivided attention. Keep up the good work guys!
@NabekenProG87
@NabekenProG87 5 жыл бұрын
@Nobody here but us Chaotic Neutral chickens Why not both? And at the same time?
@privetvastutnestoyalo2339
@privetvastutnestoyalo2339 5 жыл бұрын
​@Nobody here but us Chaotic Neutral chickens No thanks, I like to be able to get my work actually be done.
@Ersaurabhsaxena
@Ersaurabhsaxena 4 жыл бұрын
this is marvelous engineering and game changing stuff from Microsoft guys...they got left behind for sometime in the open source world..but with vscode and now this awesome linux subsystem they are definitely back in the game...kudos
@erikkunz
@erikkunz 5 жыл бұрын
With this, im gonna be able to run native Android, Linux and Windows on one OS! Windows as the host WSL2 Just like normal And then a linux program called Anbox that adds some stuff to the linux kernel to make android apps run native! I can code my apps, build them and test them on one machine, with no VMs. :D
@RanEncounter
@RanEncounter 5 жыл бұрын
You can do this already on Linux...
@erkinalp
@erkinalp 5 жыл бұрын
A: Do you use Windows or Linux? B: I use both. A: How? B: Both run at the same time using virtualisation.
@erikkunz
@erikkunz 5 жыл бұрын
@@erkinalp I use both, but not as a vm. I have a dual boot
@spogs
@spogs 5 жыл бұрын
WSL made me realize how useful Linux is when it comes to development and how little i use Windows features. I removed Windows from my laptop and downloaded a Linux distro on it :) Thanks WSL!
@citronski
@citronski 5 жыл бұрын
;)
@zoomosis
@zoomosis 5 жыл бұрын
It's honestly not a bad advertisement for Linux. But prior to WSL, nothing stopped someone curious about Linux running it under Windows in a virtual machine. So ultimately Microsoft isn't losing much here and probably have more to gain from it.
@queenannsrevenge100
@queenannsrevenge100 5 жыл бұрын
They keep calling them virtual machines - they sound more like containers! Fascinating!
@jeffwells641
@jeffwells641 5 жыл бұрын
A container is a type of virtual machine, so it makes sense that they are similar.
@SumanPokhrel0
@SumanPokhrel0 2 жыл бұрын
Amazing piece of software...Fantastic Job .
@hanspetervollhorst1
@hanspetervollhorst1 5 жыл бұрын
Expected to see a Windows Subsystem for Linux, not a Linux Subsystem for Windows. Chapeau nonetheless
@ivailogeimara
@ivailogeimara 5 жыл бұрын
I think it's called Windows Subsystem for Linux because it's a subsystem in Windows that translates Linux (kernel) calls to Windows (kernel). WSL is kinda short for "Windows' subsystem for translating Linux kernel calls to Windows kernel calls" or "Windows subsystem for Linux kernel calls" or "Subsystem within Windows for Linux calls". Now WSL2 running Linux kernel I think makes the name wrong (unless it still translates Linux kernel calls to Windows kernel call despite actually running Linux kernel) but it's known name so it'll be stupid to change it.
@TheoParis
@TheoParis 5 жыл бұрын
Yeah that would be way better but at least we made progress
@Aresydatch
@Aresydatch 4 жыл бұрын
hanspetervollhorst1 Wine
@lixiaochen6
@lixiaochen6 5 жыл бұрын
THEY IMPROVED NPM INSTALLLLLLLL!!!
@s3rverlord
@s3rverlord 5 жыл бұрын
I have used WSL 1. Excited for WSL 2.
@climatechangedoesntbargain9140
@climatechangedoesntbargain9140 5 жыл бұрын
me, too
@leonardomarinho3950
@leonardomarinho3950 5 жыл бұрын
WSL is amazing. I need to run ROS in Linux, while running Siemens/Sick/Solid Works software in Windows, instead dual-booting, WSL let me have both at the same time
@sciencegirl100
@sciencegirl100 5 жыл бұрын
This is some serious nerd shit here, and I'm so happy I'm a part of this community!
@blaat3211
@blaat3211 5 жыл бұрын
I can finally get rid of OSX and go back to Windows. Hallelujah!
@monad_tcp
@monad_tcp 2 жыл бұрын
@@tmbrwn osx is terrible. It looks like a Unix, but everthing is a bit different and missing parts. Also, Linux has its own flavor of posix. And OSX has its own libraries that you really should use instead of unix/posix layer. Basically it just creates illusion of being a Unix. There's this reason why cygwin fails, wine fails, interix fails and then WSL1 failed. It's never quit like the original. So virtualizing the real thing is the best option. You pay a bit of performance, but hardware is cheap.
@vinoth9381
@vinoth9381 5 жыл бұрын
Is it possible to access a linux filesystem in a physical partition or a 2nd harddisk from WSL2.
@shamringo7438
@shamringo7438 5 жыл бұрын
It might be possible since FUSE will work on WSL 2 + Run as admin. macOS users are using FUSE to mount ext4 drives. The same can happen to WSL 2 if somebody makes one that is. Or alternatively, WSL 2 already uses ext4 as their root filesystem. If you run WSL as admin, you might be able to just mount the drive directly. For now all we can do it wait.
@llothar68
@llothar68 5 жыл бұрын
@@shamringo7438 Windows should really come up with a FUSE library. It's possible because it's on sale from 3rd party developers but cost $30000 per created app.
@glewfw7989
@glewfw7989 5 жыл бұрын
nice, now there's no reason to dualboot the windows ui is far better than anything in linux
@jimbmakin7975
@jimbmakin7975 5 жыл бұрын
furreal, work has been slow in my trade and I've been using this time to sharpen my dev skills. So much easier to develop in linux, have it installed on an old laptop that's missing the 'A' key cap lol. Looking forward to not having to dual boot or use my 10 year old toughbook for the task.
@Pouya..
@Pouya.. 5 жыл бұрын
Really? Try KDE you will change your mind
@PsyberSenpai
@PsyberSenpai 4 жыл бұрын
@@Pouya.. No, not really, the Windows UI is much better and does not feel laggy.
@Pouya..
@Pouya.. 4 жыл бұрын
@psyber I work with both of them I work with windows at my office and manjaro-kde at home I really enjoy manjaro. With customization level that kde has the usage is so enjoyable but it’s so opinion base I feel so much better when i use kde
@PsyberSenpai
@PsyberSenpai 4 жыл бұрын
Pouya Samie I have used Linux for the past three years, while I’m not an expert, I know at least a thing or two to set up and and get my Arch i3 up and running. The problem with Linux is the hardware compatibility. While for you the experience was good, mine was terrible. My system would freeze occasionally, wifi would not work all the time and I lose all the features like fingerprint scanner and such. Then comes HiDPI scaling, it’s an absolute nightmare on some laptops and you end up with something which only does the work but doesn’t feel right. Scrolling a webpage is significantly slower as the lines per scroll is lower than Windows. Gaming is a thing where I just don’t want to spend any more of my precious time and interest so I just ended up with Windows. It just works!
@carloslemare6060
@carloslemare6060 5 жыл бұрын
I have a question: Can we mount an ext4 filesystem from an USB device on linux yet?
@TPHRyan
@TPHRyan 5 жыл бұрын
I feel like technically you should be able to, but I haven't tried it so can't say with 100% certainty that you can. However, you have access to a Linux kernel and a Linux shell, so I don't see why not.
@WispyFrost371
@WispyFrost371 5 жыл бұрын
USB comes under sharing hardware as asked in that QnA about sharing GPUs, so once that's enabled there'll be a more direct link. Otherwise by forwarding the Windows mount point to WSL, you might be able to do it on WSL 1 as well
@jojoposter
@jojoposter 5 жыл бұрын
@Inu Yasha and then theres this guy. There's always one
@MinusTechTips
@MinusTechTips 5 жыл бұрын
20:43 all the Windows Update memes flashed in his mind :D
@abnersilvap
@abnersilvap 5 жыл бұрын
loooool
@alivecoding4995
@alivecoding4995 2 жыл бұрын
I am surprised that WSL1 even worked at all. 😮
@jiwang4342
@jiwang4342 2 жыл бұрын
Thank you
@rob28459
@rob28459 2 жыл бұрын
21:26 hell yeah. I am totally agree
@krzysztofrodak876
@krzysztofrodak876 3 жыл бұрын
For me the drawback of wsl2 is the virtual disk which just grows and does not automatically shrink back to a proper size
@alivecoding4995
@alivecoding4995 2 жыл бұрын
I am missing the possibility to run Linux commands on the Windows host system. The description is uni-directional. I assume that was possible with WSL1, because it is at the heart of running Linux within Windows.
@johnknight9150
@johnknight9150 5 жыл бұрын
Isn't the name the wrong way around? Isn't it a Linux subsystem for Windows?
@Meddixi
@Meddixi 5 жыл бұрын
Nope - it is subsystem inside Windows (so Windows subsystem) to run Linux apps (so for Linux). It's all good :)
@kangalio
@kangalio 5 жыл бұрын
@@Meddixi It does make sense when you think about it but it's still misleading. I was confused the first 3 minutes of the video until I realized what WSL is actually supposed to mean
@johnknight9150
@johnknight9150 5 жыл бұрын
@@Meddixi I remain unconvinced.
@DrDot
@DrDot 5 жыл бұрын
I'd just like to interject for a moment. What you're referring to as Windows subsystem for Linux, is in fact, Linux subsystem for Windows, or as I've recently taken to calling it, LSW.
@stopusingthisavatar56
@stopusingthisavatar56 5 жыл бұрын
@OldPossum Yep... like Linux was THEIR idea...
@patrickdee7365
@patrickdee7365 5 жыл бұрын
love it, wished you could release this tomorrow already
@Ozuqam
@Ozuqam 5 жыл бұрын
So are we finally getting nvidia-docker support.
@artemsky7334
@artemsky7334 5 жыл бұрын
That moment when I'm proud of the MS
@yigaeloscar
@yigaeloscar 5 жыл бұрын
just WOW!
@Phobos11
@Phobos11 5 жыл бұрын
So basically WSL is exactly the same as Solaris 10 branded zones for Linux. Interesting, I love the technology. How will Dtrace integrate with WSL and applications running in the subsystem?
@GabrielCarrillo_EGC
@GabrielCarrillo_EGC 3 жыл бұрын
This is exactly the parallel I drew here too :)
@jacklong2182
@jacklong2182 5 жыл бұрын
that's awesome
@beardymonger
@beardymonger 5 жыл бұрын
9p protoco is also used in crostini, the linux integration in chromebooks. So plan 9 (look it up on wikipedia) is starting to have impact (also /proc is a plan 9 invention).
@bobsalita3417
@bobsalita3417 5 жыл бұрын
Mention of GPU/CUDA support at 50:45 in response to audience question. TLDR: Often requested feature. Had to wait for WSL2 technology. Requires additional plumbing. I'm guessing here - maybe Build 2020.
@MeAtHome5
@MeAtHome5 5 жыл бұрын
It's kinda difficult to get malware on Linux, but damn, you did it!
@shamringo7438
@shamringo7438 5 жыл бұрын
So basically instead of writing their own translation kernel in WSL 1. They essentially just made docker, except it runs on an actual ext4 filesystem and has access to host resources.
@JohnHaugeland
@JohnHaugeland 5 жыл бұрын
nope
@shamringo7438
@shamringo7438 5 жыл бұрын
​@@JohnHaugeland explain. It runs within its container held by a deamon and request host resources through their protocol. It does not use a hypervisor to emulate hardware so it isn't an actual virtual machine. Like what else could it be? It's docker.
@northshorepx
@northshorepx 5 жыл бұрын
No the things that make docker possible on windows are being leveraged to to improve the linux kernel support in windows.
@shamringo7438
@shamringo7438 5 жыл бұрын
@northshorepx That's why I said it's just a modified docker that only runs Linux.
@michalberezowski9802
@michalberezowski9802 5 жыл бұрын
...after all these years - finally, Linux becoming usable ;)
@hexfish3422
@hexfish3422 5 жыл бұрын
Why didn't they give Ted Mielczarek credit for reporting that bug at 9:27 instead of saying "a user"? They even cropped his name out of the screenshot...
@hanro50
@hanro50 5 жыл бұрын
If I where to take a guess, they probably just want to protect the guy's identity...
@LimitedWard
@LimitedWard 5 жыл бұрын
@Kenryov what? It was an issue posted on a public forum on Github. Anyone could access it and know who posted it. Sooner I think it really shouldn't matter. The whole point of OSS is that everyone has a voice in how the software is written, and it defeats the purpose if one person's voice has more sway simply due to clout or importance. Does the issue raised become any more or less important because Ted wrote it? No of course not!
@beardymonger
@beardymonger 5 жыл бұрын
2019, the year of Linux on the desktop - for developers at least :-P
@vladislavkozlov
@vladislavkozlov 5 жыл бұрын
I cant really move to HyperV machines because of it's unable to operate with USB devices :( VMWare can passthrough iPhone to VM MacOS and it works seamlessly. With HyperV it becomes a real pain
@aboutit-coursesandtutorial561
@aboutit-coursesandtutorial561 5 жыл бұрын
Wow! Remote VSCode is awsome!
@Cipotalp
@Cipotalp 5 жыл бұрын
I want 32bit support and to change the stack size with ulimit. I hate virtualbox and cygwin :D I WANT FULL LINUX ON MY WINDOWS!!!! so it can be used for work
@UPPERKEES
@UPPERKEES 5 жыл бұрын
32 bit? 2004 called, they want their computer back.
@danielmasters8145
@danielmasters8145 5 жыл бұрын
How old is your pc?
@Cipotalp
@Cipotalp 5 жыл бұрын
@@danielmasters8145 My PC has core i7 8th generation with SSD and 16GB ram.... So I think it is not bad :D I need 32bit support for my work :) I'm developing compilers and writing tests for car industry. Currently I SSH to a native Linux PC with my Windows PC. I love WSL but some programs are not working because of the 32bit is unsupported... And I hate VirtualBox :D "ulimit" command is not working too and some programs for example "LAPACK (Linear Algebra PACKage)" require to change the stack pointer size to unlimited... Otherwise I can't build the program...
@s3rverlord
@s3rverlord 5 жыл бұрын
Just write a comment on their GitHub.
@jef8278
@jef8278 5 жыл бұрын
@@Cipotalp just use a virtual machine
@Soarineagle
@Soarineagle Жыл бұрын
How do we get support when it breaks? I have issues with WSL working on my Windows 10 Pro 22H system. it was working and all of a sudden something happened that broke it. So I uninstalled WSL2 and now I am unable to reinstall it. Is there someting in regedit or else where in the system that needs to be removed that is preventing me from re-installing WSL2?
@fuseteam
@fuseteam 5 жыл бұрын
wait if windows runs on the hypervisor along with linux can we really call windows the 'host' 🤔🤔🤔
@ShawnThuris
@ShawnThuris 5 жыл бұрын
Was thinking the same thing. It seems like putting everything on top of Hyper-V will give some flexibility in the future. Maybe consigning some of the crustiest backwards compatibility stuff to a container that's always on but not in the way (if that's workable)
@fuseteam
@fuseteam 5 жыл бұрын
@@ShawnThuris imo it feels like the can or will everything put everthing on kvm under to "outsource" the whole kernel development xD
@parthghughriwala6799
@parthghughriwala6799 5 жыл бұрын
THIS IS DAMN COOL!!!!!!!!!!!!🤩🤩🤩
@wacesferpit
@wacesferpit 5 жыл бұрын
Still don't like Microsoft, but as a Linux user this seems pretty good tbh I don't see it as trying to take people away from Linux, but as letting developers work on a """native""" environment, meaning there is no hassle of having to setup new machines or VMs if you're a Windows user and want to develop something for Linux. I mean, let's be honest, no amount of benefits will change someone's choice environment they had for year, for example as a Linux user for 5 years I have no reason to use Windows as all the day to day things I need are here and no shiny new thing there will change it But what do I know tbh, just find it quite stupid of many people acting like "or you commit 100% to Linux or you don't" as it just makes people go away
@northshorepx
@northshorepx 5 жыл бұрын
I know - dumb people gonna dumb! MS knows the desktop is not the future but getting people to their cloud is. They want to make it easy for any dev and thus any app to be developed so you're likely to consider using Azure. I've been a MS technologies dev since 1988 and I can tell you that WSL is the most cool thing I've played with in years!!! You should watch the new terminal talk - I think you're going to like it!
@skewty
@skewty 5 жыл бұрын
As a current Linux user who will likely switch back to Windows, I disagree. The X/Wayland issue is going nowhere fast (still no great remote desktop in Wayland + poor video driver support), and Gnome development moves forward at drunken snail pace. Remove 6 working features, fix 3 and and add 1 nobody wants while ignoring most day-to-day essential features and bugs like icon view in the file chooser. Now we have the SNAP / Flatpak / AppImage battle on top of the DEB / RPM battle.. The fat cats in the Linux Foundation have little to no interest in investing in the Desktop (interest is shown by spending money, not words). Until Canonical and IBM can get together on a distribution method, I just see the ongoing mess we have seen for the last decade continuing.
@YZB-h6u
@YZB-h6u 5 ай бұрын
Now all 3 GPU vendors (Nvidia, AMD, Intel) have WSL2 support.
@goeiecool9999
@goeiecool9999 5 жыл бұрын
At 40:00 he realises that he's said "That's pretty cool" too much.
@Ybalrid
@Ybalrid 5 жыл бұрын
37:40 And that's how you exit Vi folks! :O
@nicklesseos
@nicklesseos 5 жыл бұрын
lol bro esc then :q! :wq w = write q = quit
@LimitedWard
@LimitedWard 5 жыл бұрын
Windows Subsystem for Linux is a really misleading name. It implies windows is running as a subsystem for linux and not the other way around. Real opportunity missed not calling it LWS (pronounced Lewis)
@LimitedWard
@LimitedWard 5 жыл бұрын
@AmbientVibes not sure what that has to do with the naming scheme.
@MrDavibu
@MrDavibu 5 жыл бұрын
Windows's Substystem for Lnux
@shady4tv
@shady4tv 5 жыл бұрын
You're booting into a Windows system and running GNU/Linux inside of it. NT is the subsystem for the Linux kernel. NT does the Hardware translation from the Linux Kernel. Hyper V is part of the NT Kernel (Like KVM for Linux). Hence Windows subsystem for Linux.
@queenannsrevenge100
@queenannsrevenge100 5 жыл бұрын
@LimitedWard looking at slide around 29:36 - the windows NT kernel and WSL are BOTH subsystems of the hypervisor. :)
@ShawnThuris
@ShawnThuris 5 жыл бұрын
Windows Linux Subsystem, or Linux Subsystem in Windows, or Windows Subsystem for Running Linux all make more sense than WSL...though the WSL acronym is easy to say, at least
@suhailanjumabdurraheemsayy7639
@suhailanjumabdurraheemsayy7639 4 жыл бұрын
I am using anaconda python 3 on windows10. Is it advisable to install it using wsl2 instead of directly on windows10?
@balasuar
@balasuar 5 жыл бұрын
13m characters seems like a useful metric :/
@ABOhiccups
@ABOhiccups 5 жыл бұрын
I think the world is coming to an end. Seriously, like, fire and brimstone coming down from the skies, rivers and seas boiling! 40 years of darkness! Earthquakes, volcanoes! The dead rising from their graves! Human sacrifice! Windows and Linux living together, mass hysteria!
@princepatel7652
@princepatel7652 5 жыл бұрын
GPU interaction with Docker is still not supported
@sebagoomez
@sebagoomez 5 жыл бұрын
So, once I install docker on WSL2, will I be able to see the same docker images from either windows or wsl? Talking about Linux containers of course
@GuiPoM
@GuiPoM 5 жыл бұрын
What about symbolic links ? I currently have that limitation in WSL that I use git/npm and links between my projects. But links in WSL are linux symlink on a windows filesystem. But then, when you combine that with VSCode under Windows, this app can't understand that symlink. Will WSL2 somehow improve that state ? I can't really imagine how, but I would love to know if there is any option in WSL1 or 2 to overcome it !
@OlivierK.
@OlivierK. 5 жыл бұрын
They say in the video that WSL2 natively supports EXT4 instead of rewriting FS syscalls, so i think symlinks should work as expected.
@oussamasethoum2755
@oussamasethoum2755 5 жыл бұрын
How can i check weather i have WSL 1 or 2, plus when will Microsoft release WSL 2 ?
@geev18
@geev18 5 жыл бұрын
"Kernel Version 4.4.0-18362-Microsoft x86_64 [lxss] Distro Name - Ubuntu 18.04.2 LTS"
@stopusingthisavatar56
@stopusingthisavatar56 5 жыл бұрын
Still running everything through the windows kernel ultimately though? So barely any of the security benefits...
@Aresydatch
@Aresydatch 4 жыл бұрын
Stop Using This Avatar If you are not stupid then it’s secure don’t be a Gnubitch
@songer1993
@songer1993 5 жыл бұрын
So can it access hardware like GPU?
@love-hammer
@love-hammer 5 жыл бұрын
So this converts the host to running on top of a hypervisor? Does that impact the performance of the host?
@fbifido2
@fbifido2 5 жыл бұрын
1. Doesn't the Hypervisor already have a Windows NT Kernel, can't that be used and remove the double hop? 2. Can you combine the NT Kernel & the Linux Kernel to one kernel? 3. or replace the Hypervisor with the WSL 2 or 3?
@valshin
@valshin 5 жыл бұрын
I tried to launch VirtualBox hypervisor beside of Hyper-V (running docker host), it doesn't work. Will it be a possibility to run WSL 2 and VirtualBox VMs simultaneously?
@junielkatarn
@junielkatarn 5 жыл бұрын
Valerii Shynkarenko No :(
@ShawnThuris
@ShawnThuris 5 жыл бұрын
I will probably wait to use WSL2 until I can do without VirtualBox. I get that only one hypervisor can run at a time, this is just unfortunate. Microsoft has been embracing Docker over the past couple of years. Wouldn't be too surprised if they bought them (no inside info, just might make sense for msft)
@valshin
@valshin 5 жыл бұрын
Just checked - VirtualBOX 6.+ already can run whith Hyper-V
@kvdhar5041
@kvdhar5041 4 жыл бұрын
WSL Architecture - 14:10
@Chiramisudo
@Chiramisudo 4 жыл бұрын
For those wondering. The Microsoft maintained kernel is found on GitHub here: github.com/microsoft/WSL2-Linux-Kernel If I'm not mistaken, it's based on this source here: git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tag/?h=v4.19
@cwmoriarty
@cwmoriarty 5 жыл бұрын
Missed the part where justify breaking USB support.
@MinusTechTips
@MinusTechTips 5 жыл бұрын
Those 5 dislikes are from Sun OS users
@talesaraujo979
@talesaraujo979 5 жыл бұрын
Or MacOS users.
@ORagnar
@ORagnar 5 жыл бұрын
Can you run a full version of Linux (e.g. Ubuntu 18.04) and do everything you can do with a full version? E.g. run games, music applications, web browsers? I'm wondering if this would be good for developing applications on Linux or if there would be obviously limitations.
@talesaraujo979
@talesaraujo979 5 жыл бұрын
Did anyone tested this out running Docker, or Tensorflow with CUDA? Went something wrong?
@GoodWill-s8j
@GoodWill-s8j 7 ай бұрын
The new old or the old new?
@MrMeneillos
@MrMeneillos 5 жыл бұрын
Best think from MS in lot of years. I supported from the start the WSL1 architecture was not quite right. All that "interpretation" is extremely inefficient. WSL2 is the right choice (hyperv). The best linux desktop is going to be Windows 10 in the next years.
@bigworldmemes
@bigworldmemes 5 жыл бұрын
beware, pulse audio is still a buggy mess, and there is still no support for ALSA
@solobackpacking
@solobackpacking 4 жыл бұрын
Having a LOT of problems accessing nVidia API, especially CUDA.
@opaquefog
@opaquefog 5 жыл бұрын
Amazing!
@lypingsh
@lypingsh 4 жыл бұрын
could wsl2 run Linux x-apps ? looks not.
@Hasansaid51
@Hasansaid51 5 жыл бұрын
I wonder if mongodb works on it as well?
@dmmikerpg
@dmmikerpg 5 жыл бұрын
Can we get LSW?
@efficiencyvi8369
@efficiencyvi8369 5 жыл бұрын
Nice, now do it the other way around as I will never use Windows as my main OS. 🙈
@fuseteam
@fuseteam 5 жыл бұрын
if they sold a anbox like solution for windows on linux i'd be inclined to buy that :3
@digbythedog9585
@digbythedog9585 5 жыл бұрын
Is it now possible to access USB devices from bash ?
@erizpl
@erizpl 5 жыл бұрын
I wonder what is the real performance difference on `/mnt/c` share in two ways.
@eddraper
@eddraper 5 жыл бұрын
Failing at sound check... bummer
@abhignaconscience358
@abhignaconscience358 5 жыл бұрын
Does it mean we can run Linux apps in future on windows ??
@HickoryDickory86
@HickoryDickory86 5 жыл бұрын
I would prefer the reverse: running Windows apps natively in Linux.
@chenxin4741
@chenxin4741 5 жыл бұрын
back to Windows +1
@glenw3814
@glenw3814 5 жыл бұрын
"YAAAYY come on a little energy"... In the immortal words of Lorde, "I'm kind of over gettin' told to throw my hands up in the air". I find this belief of entitlement of praise among speakers and performers to be rather bothersome. If I am not of a mind to cheer for you perhaps it is your job to EARN a cheer with your performance. Being on stage does not entitled you to praise or welcome.
@ChristopherGray00
@ChristopherGray00 5 жыл бұрын
Yeah it's basically the microsoft version of "Please clap".
@tapanbasak1453
@tapanbasak1453 Жыл бұрын
Is there a paper that describes the architecture of WSL2 in detail? The documentation is poor and only talks about its positive aspects.
@MaxCoplan
@MaxCoplan 5 жыл бұрын
Where can I hear more about WSL2?
@olegvi5183
@olegvi5183 5 жыл бұрын
Hm, and what about GUI ? Can i just open program from WSL2 ? In linux i just create some files and open it in vim, and all this in terminal, can i do it by WSL2? Naw in Windows 10 i have vim in WSL and vim in Windows... and its 2 different programm... and its so drammaticaly
@chrismoore9997
@chrismoore9997 5 жыл бұрын
Does it support ZFS?
@HenrikRClausen
@HenrikRClausen 5 жыл бұрын
I can run any Linux app on Windows..? Pretty damned cool!!
@caetydid882
@caetydid882 5 жыл бұрын
Well... technically you could have done that already years before. It just meant pain and suffering due to performance and usability-loss due to VM integration. Thus the question is how well MSFF solves these issues with WSL2.
@MrNortise
@MrNortise 5 жыл бұрын
is there a fix for using wlan0 yet
@MrNortise
@MrNortise 5 жыл бұрын
i think the virtual machine that windows is running is restricting access to the wlan0 and other features. If this gets sorted out it will be the best thing since sliced bread!!
@Hoowwwww
@Hoowwwww 5 жыл бұрын
just remove NTFS and give us a better filesystem, that's all you need to do to make stuff faster than what we currently have, even much better than wsl2
@LimitedWard
@LimitedWard 5 жыл бұрын
And break all legacy code relying on ntfs? No thanks.
@zoomosis
@zoomosis 5 жыл бұрын
WSL1 is not slow because of NTFS. It's slow because it has too much I/O translation overhead. WSL2 will use EXT4 containers, though conceivably it could use XFS instead.
@igorgiuseppe1862
@igorgiuseppe1862 5 жыл бұрын
those slides are avaliable for download?
@mikaelsofi3444
@mikaelsofi3444 5 жыл бұрын
So does this mean i don't have to buy Windows 10 pro to get access to Hyper-V, can u run docker with WSL?
@northshorepx
@northshorepx 5 жыл бұрын
From what they are saying at the moment (I tried this yesterday) wsl 1 works across the board w10 home upwards. On WSL1 you need docker for windows to run linux containers and these run in a hyperV VM (MobyLinux). Since hyper V VMs are not available on W10 home and docker. However WSL2 uses a linux kernel running directly in the base hyper visor and it's a new full kernel and will be available on W10 home. This full kernel will also mean that the docker for linux will run on this kernel in WSL2. This means, if I understand correctly, that docker for linux will run on W10 home (though other hyper V featurers like other VMs may not), and thus you should be able to run Linux containers on W10 home. I hope that helps.
@TjSBMD1810
@TjSBMD1810 5 жыл бұрын
I tried WSL once, which caused a bluescreen because of Avira. Is that fixed?
@NabekenProG87
@NabekenProG87 5 жыл бұрын
That should be fixed by Avira. If your Anti Virus gives you a Bluescreen because of a Windows App, thats their error
@FaithfulMinds
@FaithfulMinds 5 жыл бұрын
It seems that we won't be able to see linux processes in Task Manager any more. Also just run a Alpine and eat 600 MiB RAM seems a little expensive.
Windows Subsystem for Linux Your enterprise ready multitool | BRK246
47:35
Microsoft Developer
Рет қаралды 7 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Linus Torvalds: Speaks on Hype and the Future of AI
9:02
SavvyNik
Рет қаралды 352 М.
The Pros and Cons of Linux in Windows
10:48
Titus Tech Talk
Рет қаралды 48 М.
10 ways Windows is just BETTER
11:42
Linus Tech Tips
Рет қаралды 2,4 МЛН
What’s new with WSL - BDL2028
16:00
Microsoft Developer
Рет қаралды 25 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,3 МЛН
WSL 2: Getting started
20:34
David Bombal
Рет қаралды 742 М.
Linux on Windows......Windows on Linux
23:54
NetworkChuck
Рет қаралды 615 М.
How Linux Kernel Prints Text on Screen
12:46
Nir Lichtman
Рет қаралды 78 М.