Hypervisor - GeeksforGeeks
Hypervisor - GeeksforGeeks
Hypervisor
A hypervisor is a form of virtualization software used in Cloud hosting to divide and
allocate the resources on various pieces of hardware. The program which provides
partitioning, isolation, or abstraction is called a virtualization hypervisor. The hypervisor
is a hardware virtualization technique that allows multiple guest operating systems
(OS) to run on a single host system at the same time. A hypervisor is sometimes also
called a virtual machine manager(VMM).
Types of Hypervisor –
TYPE-1 Hypervisor:
The hypervisor runs directly on the underlying host system. It is also known as a
“Native Hypervisor” or “Bare metal hypervisor”. It does not require any base server
operating system. It has direct access to hardware resources. Examples of Type 1
hypervisors include VMware ESXi, Citrix XenServer, and Microsoft Hyper-V
hypervisor.
Pros: Such kinds of hypervisors are very efficient because they have direct access to
the physical hardware resources(like Cpu, Memory, Network, and Physical storage).
This causes the empowerment of the security because there is nothing any kind of the
third party resource so that attacker couldn’t compromise with anything.
Cons: One problem with Type-1 hypervisors is that they usually need a dedicated
separate machine to perform their operation and to instruct different VMs and control
the host hardware resources.
TYPE-2 Hypervisor:
A Host operating system runs on the underlying host system. It is also known as
‘Hosted Hypervisor”. Such kind of hypervisors doesn’t run directly over the underlying
hardware rather they run as an application in a Host system(physical machine).
Basically, the software is installed on an operating system. Hypervisor asks the
operating system to make hardware calls. An example of a Type 2 hypervisor includes
VMware Player or Parallels Desktop. Hosted hypervisors are often found on endpoints
like PCs. The type-2 hypervisor is very useful for engineers, and security analysts (for
checking malware, or malicious source code and newly developed applications).
Pros: Such kind of hypervisors allows quick and easy access to a guest Operating
System alongside the host machine running. These hypervisors usually come with
additional useful features for guest machines. Such tools enhance the coordination
between the host machine and the guest machine.
Cons: Here there is no direct access to the physical hardware resources so the
efficiency of these hypervisors lags in performance as compared to the type-1
hypervisors, and potential security risks are also there an attacker can compromise the
security weakness if there is access to the host operating system so he can also
access the guest operating system.
Type 1 hypervisors offer much better performance than Type 2 ones because
there’s no middle layer, making them the logical choice for mission-critical applications
and workloads. But that’s not to say that hosted hypervisors don’t have their place –
they’re much simpler to set up, so they’re a good bet if, say, you need to deploy a test
environment quickly. One of the best ways to determine which hypervisor meets your
needs is to compare their performance metrics. These include CPU overhead, the
amount of maximum host and guest memory, and support for virtual processors. The
following factors should be examined before choosing a suitable hypervisor:
1. Understand your needs: The company and its applications are the reason for the
data center (and your job). Besides your company’s needs, you (and your co-workers
in IT) also have your own needs. Needs for a virtualization hypervisor are:
a. Flexibility
b. Scalability
c. Usability
d. Availability
e. Reliability
f. Efficiency
g. Reliable support
2. The cost of a hypervisor: For many buyers, the toughest part of choosing a
hypervisor is striking the right balance between cost and functionality. While a number
of entry-level solutions are free, or practically free, the prices at the opposite end of the
market can be staggering. Licensing frameworks also vary, so it’s important to be
aware of exactly what you’re getting for your money.
4. Ecosystem: It’s tempting to overlook the role of a hypervisor’s ecosystem – that is,
the availability of documentation, support, training, third-party developers and
consultancies, and so on – in determining whether or not a solution is cost-effective in
the long term.
5. Test for yourself: You can gain basic experience from your existing desktop or
laptop. You can run both VMware vSphere and Microsoft Hyper-V in either VMware
Workstation or VMware Fusion to create a nice virtual learning and testing
environment.
1. DISPATCHER:
The dispatcher behaves like the entry point of the monitor and reroutes the
instructions of the virtual machine instance to one of the other two modules.
2. ALLOCATOR:
The allocator is responsible for deciding the system resources to be provided to the
virtual machine instance. It means whenever a virtual machine tries to execute an
instruction that results in changing the machine resources associated with the
virtual machine, the allocator is invoked by the dispatcher.
3. INTERPRETER:
The interpreter module consists of interpreter routines. These are executed,
whenever a virtual machine executes a privileged instruction.
Sounds like something you wish to learn more about? Register for Free GATE
Counselling session with our experts and they shall guide you in the right direction.
Also get assured GfG T-Shirts if you attend the counselling. Register Now.
NOTE: This service is exclusively for the students in Delhi/NCR Region as the
classroom program for GATE is in our Noida Center only. We are soon coming up with
more all across India!
Previous Next
N Namrata…
UPSC Study Preparation Competitive More Free Online Write & Earn
Material Corner Exams Tutorials Tools Write an Article