G
G
Gleb868989642021-02-02 07:34:29
linux
Gleb86898964, 2021-02-02 07:34:29

Still Linux or WSL?

Foreword:
I dream of seeing and even taking part in the development of an OS that will be universal and will be able to run applications of all existing operating systems. And now Microsoft is slowly realizing my dream. WSL is a very smart move from Microsoft.

Version 20H1 introduced WSL2. It supports full binary compatibility of Linux system calls. And insider builds from July 2020 even have hardware acceleration in WSL2. In the future, Microsoft plans to make WSL with Android, and in 2022 it will introduce WSL3.
So what is more convenient at the moment - native Linux or WSL?
At TrainsCity - on Ubuntu 18.04 we run a mail server (modoboa (smtp, imap, pop3)), SIP PBX, OpenVPN server, MineCraft Java Edition server and MineCraft bedrock Edition server, L2TP/IPsec vpn server, ikev2 and IPsec server.
At school: School website and e-journal server (nginx), mail server, SIP-PBX.
In the quantorium: Self-written test sites and testing of various programs written by young programmers.

Where is native Linux better, and where is WSL ?!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
rPman, 2021-02-02
@Gleb86898964

wsl is not the final solution, but just a tool when you need it here and now, but for some reason it’s impossible to refuse windows, I wouldn’t recommend basing anything on this solution.
I met strange glitches when using wsl, the file physically present on the disk could not be deleted or read (file not found), could not be recreated (file exists), etc., and this seems to be a problem on the windows side, and is treated by restarting the host.
The very existence of wsl is a useful thing, but I do not believe that Microsoft will maintain full compatibility, it is not beneficial for her ... i.e. At first, of course, everything will work, but when they begin to actively use it, as it has already happened with Microsoft, something will change and only they will work without alteration.
ps the main features of linux are not only in the command line and the package manager (and the polished order in it) but also in the features of working with hardware (file systems, caching systems, working with memory, ..) which, of course, is not in wsl conditions.
For example, at some point I didn’t want to restart a process running on a weak linux machine, but RAM was running out there, a few gigabytes were not enough, unfortunately the hdd disk was used very intensively (linear read write) and adding a swap load to it would be fatal (slowed down would work dozens of times), in a couple of clicks I launched the nbd server on windows, sharing a regular file and connecting it to linux raised the swap on it. Think about the absurdity of the configuration - and Linux allows it, when as with windows it would be impossible or 'more expensive' (I know about iscsi).
Can you imagine swapping based on GPU RAM or using it as a disk? You know that you can use the GPU subsystem remotely, over the network, and this is a regular tool (xserver network server) without the need to purchase expensive server hardware and software (with a capital letter, windows is exclusively software limited). 10 people at one machine, a physically non-remote terminal (10 monitors, 10 keyboards and mice) without buying software, as it would be for windows (thanks to ibik, there is such software). You probably have not tried to set up a cluster in linux, imagine that you are working in an environment that represents one machine for you, but in fact is a distributed cluster (by the way, this tool is not as effective as manual control, but a fact is a fact)

A
AVKor, 2021-02-02
@AVKor

The original is always better than the (under)copy.

M
mkone112, 2021-02-02
@mkone112

Uh .... what?

I dream of seeing and even taking part in the development of an OS that will be universal and will be able to run applications of all existing operating systems.

It's called virtuals.
Version 20H1 introduced WSL2. It supports full binary compatibility of Linux system calls. And insider builds from July 2020 even have hardware acceleration in WSL2. In the future, Microsoft plans to make WSL with Android, and in 2022 it will introduce WSL3.

Thanks for the microsoft roadmap - very helpful.
So what is more convenient at the moment - native Linux or WSL?

What is more convenient is more convenient. What is more inconvenient is more inconvenient.
CJSC "TrainsCity"

Why is this here?
Where is native Linux better, and where is WSL ?!

on Ubuntu 18.04 we run a mail server (modoboa (smtp, imap, pop3)), SIP PBX, OpenVPN server, MineCraft Java Edition server and MineCraft bedrock Edition server, L2TP/IPsec vpn server, ikev2 and IPsec server.
At school: School website and e-journal server (nginx), mail server, SIP-PBX.
In the quantorium: Self-written test sites and testing of various programs written by young programmers.

Well, obviously: you need to transfer everything to Windows and cram everything listed into WSL!

A
Andrey Skorzhinsky, 2021-02-03
@AndyKorg

everything is simple here - a full-fledged Linux for industrial operation. for experiments, debugging, etc. issues when developing wsl software as a quick replacement that does not need to be deployed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question