Science, asked by GUYJPUGLIA2100, 1 year ago

How does Virtual Machine Works?

Answers

Answered by sarveshkumar83
0
Hi mate

The concept is to use a part of the host’s or the main resource to provide an isolated environment for the new system. That is, for a virtual machine with 1GB memory requirement, 1 core of processor assigned, 1 core of graphic card assigned, etc the new ones would suck the power out of the main resources.

The assignment of resources is absolute. For example, if the virtual machine is assigned 1 GB of memory and uses of 50% of that 1 GB at a time, the remaining 50% will be useless and it would be a waste of resource. There is no way to utilise that 50% in case of virtualisation. Same applies for each and every resource.

This results in degradation of main systems performance. No matter how highly configured the system is, there will always be a certain %age of resource wastage in virtualisation.

This does not mean virtualisation is the worst. They are useful for small scale business or home PC geeks, but again, with host degradation and resource wastage. Virtual Machines played an important role in IaaS cloud services.

Currently, we have come up with better alternatives, i.e. Containers and Dockersthat have abandoned emulation, dealing with machines on kernel level
Answered by SohamKundu012
0

JVM is an abstract machine designed to be implemented on top of existing processors .

It helps to convert the given code in JAVA to bytecode and then we can intrepret the code for a given platform by using an interpreter .

This interpreter is called JVM .

The full form of JVM is Java Virtual Machine .

The code is first written in .java .

Then converted to bytecode and then .exe by the JVM .

It is platform independent .

It hides the operating system from JAVA application .

Similar questions