Live data from Hacker News

Pengwin – A Linux Distro Optimized for WSL Based on Debian

github.com

61–70 of 93 posts

Re: Pengwin – A Linux Distro Optimized for WSL Based on Debian

#61
post #13

Earlier quoted context omitted.

> MSWin running in a VM on Linux is faster than on hardware. That's funny. I didn't know that. Any data source you can share with me?

Apps certainly have been for a long time. IE6 was famously (in my parts) known for being perceivably faster under Wine.

Wine is not a VM though.

Re: Pengwin – A Linux Distro Optimized for WSL Based on Debian

#62
I'm a paying customer that's been running my main dev system on WSL and Pengwin for four months now. I've got it on my ThinkPad and my beefy desktop and sync the two environments using .dotfiles. There is a bit of an I/O slowdown compared to native (most noticable when npm installing a billion tiny modules), but generally everything is quite functional. No driver issues as when I've run Linux. No terrible Mac keyboard. I run VSCode under WSL to keep my dev toolchain on the Linux side. The main thing that forces me to dual boot to Ubuntu is CUDA development, but I find that most of this sort of work has shifted to Jupyter Notebook.

Re: Pengwin – A Linux Distro Optimized for WSL Based on Debian

#64

I'm so confused right now. I looked at the various links and cant believe I still can't figure this out. The kernel is windows or linux? How do I get or run this? I install windows and then this? Someone help me out here!

WSL is a Windows 10 feature that allows you to run Linux applications on the NT kernel. It's not a 100% complete implementation of every Linux kernel API (yet?) but it's far enough along that you can run a lot of interesting software.

https://www.hanselman.com/blog/TheYearOfLinuxOnTheWindowsDes...

Pengwin looks like a Linux distro that removes the parts of a traditional distro that don't make sense in WSL and streamlines things that are still somewhat difficult in WSL, like getting X applications running.

Re: Pengwin – A Linux Distro Optimized for WSL Based on Debian

#65

I'm so confused right now. I looked at the various links and cant believe I still can't figure this out. The kernel is windows or linux? How do I get or run this? I install windows and then this? Someone help me out here!

WSL is Windows Subsystem for Linux, and it is part of Windows. https://docs.microsoft.com/en-us/windows/wsl/install-win10 It translates Linux system calls into Windows.

This allows you to run a Linux userspace on Windows. The Windows store has (for free) installable distros for Ubuntu, Debian, and others.

Re: Pengwin – A Linux Distro Optimized for WSL Based on Debian

#66

I'm so confused right now. I looked at the various links and cant believe I still can't figure this out. The kernel is windows or linux? How do I get or run this? I install windows and then this? Someone help me out here!

WSL is a Windows 10 feature that allows you to run Linux applications on the NT kernel. It's not a 100% complete implementation of every Linux kernel API (yet?) but it's far enough along that you can run a lot of interesting software. https://www.hanselman.com/blog/TheYearOfLinuxOnTheWindowsDes... Pengwin looks like a Linux distro that removes the parts of a traditional distro that don't make sense in WSL and streaml…

I get it that WSL is easy for anyone to use but why not just run a real Linux in VMware or VirtualBox and you'll have 100% compatible Linux environment.

Prebuilt OS image is just a single download and deploy.

Re: Pengwin – A Linux Distro Optimized for WSL Based on Debian

#67
post #39

Is WSL multithreaded? I love the ease of use that WSL gives, but it seems slow to cygwin on disk access. I think this is planned in a future fox by making the WSL directory to the disk instead of in a container file. I went back to cygwin for faster speed of scripts processing files.

I noticed file IO was slow too. My solution is to do most of my work in headless Linux VMs, using WSL as the interface to manage and connect to those VMs. This way I get the bash shell and ssh client I love but get isolated environments for my projects/clients. I run samba on the Linux VMs, with mapped drives on the Windows host so that I can edit files using VS Code. Outwardly it might look a little convoluted but I…

What do you use as your VM software? I take it VMWare has a pretty decent IO performance to host's files through HGFS when VirtualBox isn't as performing.

Re: Pengwin – A Linux Distro Optimized for WSL Based on Debian

#68
post #10

Earlier quoted context omitted.

I don’t believe your assertion. A quick check on the latest system-taxing application (aka a game), confirms the exact opposite. Even a cross-platform game, compiled natively for both OSes, runs faster on Windows in most cases. How do you square these observations with your assertion.

I assume you are limiting your definition of "system-taxing" to playing games specifically? As other people have noted, filesystem performance is often better under Linux. I also will point out that at least some rendering tasks can be faster under Linux as well: http://blog.thepixelary.com/post/167616662857/improving-perf... Just like with the filesystem performance discrepancy, this article seems to point out WDDM…

Using git as a filesystem performance metric is horribly flawed -- git was written from the beginning to perform perfectly on Linux. It's the most native linux application I can think of.

(Not because it's using secret system calls, but because its design was vetted and performance tailored for Linux.)

Re: Pengwin – A Linux Distro Optimized for WSL Based on Debian

#69

I'm so confused right now. I looked at the various links and cant believe I still can't figure this out. The kernel is windows or linux? How do I get or run this? I install windows and then this? Someone help me out here!

Essentially WSL is to Linux what WINE has been for years to Windows: it translates Linux system calls natively to Windows ones so that Linux binaries can be executed on Windows without any recompiling or virtualization. Technically is a great milestone, but there are some risks: suppose one day Microsoft implements a way to use Windows GUI elements or other resources directly from Linux binaries and people starts writing "Linux" software that uses the new capabilities, de facto requiring WSL (ie Windows) to be run, how many Linux users would jump ship? My only fear is that Microsoft could be planning to do just that.

Re: Pengwin – A Linux Distro Optimized for WSL Based on Debian

#70
post #66

Earlier quoted context omitted.

WSL is a Windows 10 feature that allows you to run Linux applications on the NT kernel. It's not a 100% complete implementation of every Linux kernel API (yet?) but it's far enough along that you can run a lot of interesting software. https://www.hanselman.com/blog/TheYearOfLinuxOnTheWindowsDes... Pengwin looks like a Linux distro that removes the parts of a traditional distro that don't make sense in WSL and streaml…

I get it that WSL is easy for anyone to use but why not just run a real Linux in VMware or VirtualBox and you'll have 100% compatible Linux environment. Prebuilt OS image is just a single download and deploy.

Because I don't need a 100% compatible environment. WSL has better host integration and better performance in my experience, and it runs my development stack fine.
Post reply on HN