D
D
dimaguru2019-06-07 02:34:36
Virtualization
dimaguru, 2019-06-07 02:34:36

What virtualization container do you need?

Hello. There is a win server. It has hardware virtualization disabled. Those vmx features. Hyper threading and so on don't work. How can I deploy a virtual machine or container so that all processor cores work purely in software. Those in the container deploy a program or OS and are already working there. Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2019-06-07
@rPman

For the windows platform, there are not many options if there is no support for virtualization.
The most versatile but wildly inefficient option is software virtualization, qemu and the same virtualbox have it. Use only if it’s really bad, since the performance drop is up to 6-10 times (I remind you that with support for hardware virtualization, losses can be no more than 10% -30%), but support for any operating system on any hardware and OS.
There are sandboxing programs like sandboxie, but there is a 99% chance that they will require virtualization support or be a very unreliable sandbox (not a completely isolated environment).
This is the only way you can run windows applications, all other options are about linux.
If you have a 32-bit revision of windows (even if winxp) and you need to virtualize linux, then use colinux, this project is unfortunately no longer supported and is not being developed (it's a pity, x64 support would be handy), but it allows you to run applications without any loss of performance at all , this is an analogue of user mode linux, it replaces kernel calls and works like a normal application, even a network. In fact, this is almost a full-fledged headless (without a monitor) virtual machine.
If you have the latest versions of windows 10 (pro or ultimate revisions), then you can use the standard linux for windows subsystem (a component is added and redhat / ubuntu is installed from the regular store), this is a complete analogy of wine on the contrary, it allows you to run linux binaries without virtualization, maximum performance and support for x86/x64 architecture.
ps both of these options do not know how to graphic mode, but you can install a third-party xserver (for example, from the cygwin package or even native linux xorg on a neighboring machine / virtual machine) and configure the connection.
And of course, instead of running linux binaries, you can install full windows applications built from linux sources and run your applications in it (build if you need binaries). There are two independent projects - mingw (msys environment) and cygwin. From the compilation point of view, these are separate architectures, like linux-x86_64 or cygwin-x86_64 and even mingw-x86_x64, are mutually incompatible (you cannot include dlls).
Mingw is used when you need to build an application that uses libraries from the linux world, but at the same time the file path notation should be like in windows, and not only, for example, it is easier to achieve support for opengl / opencl or work with pure windows directx ...
Cygwin is used when the application has almost no support for building under windows, it simulates an almost completely linux environment, even file paths with backslashes and no drive letters - /cygdrive/c is used. The cygwin simulation is an order of magnitude better than that of mingw, i.e. you can not spend any effort at all to port the application, but the speed of work when using mingw is higher, since there is no extra layer of system calls.
Both of these environments will allow you to run php/perl/python/nodejs applications and will almost certainly work as expected. Both have a package manager with prebuilt binaries (cygwin has a fuller base) and you can install (and keep up to date) the environment with a couple of mouse clicks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question