Jump to content

What is the difference between running a linux vm vs. using Windows bash compatibility?

Hey LTT,

 

So I am a bit late to the game but under development section of Windows 10 you can get a linux subsystem running on Windows 10 (i.e. Bash). Just wondering what is the difference between this versus say using VMWare to run linux? Is this similar to chrooting or more along the lines of Wine?

 

Specs: Case: NZXT H440 ] CPU: I7-5960x | CPU Cooler: NZXT Kraken X61 AIO | MOBO: ASUS Rampage V  | GPU: Gigabyte G1 Gaming GTX 970  | RAM: Gskill Ripjaw 4 16GB 2133Mhz DDR4 kit | PSU: EVGA 1000G2 | SSD (Boot): Samsung 850pro 128GB | HDD (mass storage): WD 1TB Blue 7200RPM  | SDD (Working Drve): Samsung 850 evo 500GB | Keyboard: Logitech G510s | Mouse: Logitech G502 Proteus Core | Display: Asus VG248 24in. 144Hz 1ms 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Have a look at the videos on this page, they describe it as "like a driver" that can run sandboxed linux processes. Its not really a direct comparison to the technologies you mentioned.

https://blogs.msdn.microsoft.com/commandline/learn-about-bash-on-windows-subsystem-for-linux/

this one is prob more specific to your question

https://blogs.msdn.microsoft.com/wsl/2016/05/23/pico-process-overview/

 

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, SCHISCHKA said:

Have a look at the videos on this page, they describe it as "like a driver" that can run sandboxed linux processes. Its not really a direct comparison to the technologies you mentioned.

https://blogs.msdn.microsoft.com/commandline/learn-about-bash-on-windows-subsystem-for-linux/

this one is prob more specific to your question

https://blogs.msdn.microsoft.com/wsl/2016/05/23/pico-process-overview/

 

A good read and some nice videos!! Still looking into them! So its basically like you said a sandbox process where the NT kernal doesn't assume anything and passes control on to the owner of the process which is the driver which "emulate" the linux kernal calls? This is interesting, but I assume since its on going there has to be some limitation versus actually running a vm which uses the real linux kernal?

 

I am no pro programmer but I assume that what it is?

 

Also this doesn't make VM or Dual boots obsolete, thats the reason why I asked! I run linux on VM to use some linux only packages. If I can get a xeon for the next build I might primary Linux and GPU pass Windows 10, but right now windows 10 is primary and linux in VM :P

 

Specs: Case: NZXT H440 ] CPU: I7-5960x | CPU Cooler: NZXT Kraken X61 AIO | MOBO: ASUS Rampage V  | GPU: Gigabyte G1 Gaming GTX 970  | RAM: Gskill Ripjaw 4 16GB 2133Mhz DDR4 kit | PSU: EVGA 1000G2 | SSD (Boot): Samsung 850pro 128GB | HDD (mass storage): WD 1TB Blue 7200RPM  | SDD (Working Drve): Samsung 850 evo 500GB | Keyboard: Logitech G510s | Mouse: Logitech G502 Proteus Core | Display: Asus VG248 24in. 144Hz 1ms 

 

Link to comment
Share on other sites

Link to post
Share on other sites

55 minutes ago, EternalSeeker said:

A good read and some nice videos!! Still looking into them! So its basically like you said a sandbox process where the NT kernal doesn't assume anything and passes control on to the owner of the process which is the driver which "emulate" the linux kernal calls? This is interesting, but I assume since its on going there has to be some limitation versus actually running a vm which uses the real linux kernal?

 

I am no pro programmer but I assume that what it is?

i think of it more as an extension to the way windows handles a program. They have extended it so it can run applications meant for other systems. Virtualisation is an overhead where the computer pretends to be another OS or other hardware

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

The Windows Subsystem for Linux is basically a docker container that has an installation of Ubuntu Server in it. It does not have access to network settings and utlilities (things like ping don't work) and you obviously can't install an xserver to run things with a UI.

 

It sometimes freaks out when scrolling through text and when altering commands in your terminal history.

Intel i7 5820K (4.5 GHz) | MSI X99A MPower | 32 GB Kingston HyperX Fury 2666MHz | Asus RoG STRIX GTX 1080ti OC | Samsung 951 m.2 nVME 512GB | Crucial MX200 1000GB | Western Digital Caviar Black 2000GB | Noctua NH-D15 | Fractal Define R5 | Seasonic 860 Platinum | Logitech G910 | Sennheiser 599 | Blue Yeti | Logitech G502

 

Nikon D500 | Nikon 300mm f/4 PF  | Nikon 200-500 f/5.6 | Nikon 50mm f/1.8 | Tamron 70-210 f/4 VCII | Sigma 10-20 f/3.5 | Nikon 17-55 f/2.8 | Tamron 90mm F2.8 SP Di VC USD Macro | Neewer 750II

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, Fetzie said:

The Windows Subsystem for Linux is basically a docker container that has an installation of Ubuntu Server in it. It does not have access to network settings and utlilities (things like ping don't work) and you obviously can't install an xserver to run things with a UI.

 

It sometimes freaks out when scrolling through text and when altering commands in your terminal history.

Well its still in beta so some things are understandable. Running bash as administrator allows ping to work. I don't know about the other commands. Also I read you can install an xserver, there is a github page for it. I believe its called Xming. I havent tried but aparently you can get OpenGL working via TCP or whatnot. Not exactly better than a VM att the moment but this is great!

 

Specs: Case: NZXT H440 ] CPU: I7-5960x | CPU Cooler: NZXT Kraken X61 AIO | MOBO: ASUS Rampage V  | GPU: Gigabyte G1 Gaming GTX 970  | RAM: Gskill Ripjaw 4 16GB 2133Mhz DDR4 kit | PSU: EVGA 1000G2 | SSD (Boot): Samsung 850pro 128GB | HDD (mass storage): WD 1TB Blue 7200RPM  | SDD (Working Drve): Samsung 850 evo 500GB | Keyboard: Logitech G510s | Mouse: Logitech G502 Proteus Core | Display: Asus VG248 24in. 144Hz 1ms 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×