Question

In: Computer Science

Explain the difference between the three different levels of virtualisation: CPU Instruction Set level, Hardware Abstraction...

Explain the difference between the three different levels of virtualisation: CPU Instruction Set level, Hardware Abstraction Layer (HAL) level, and Operating System level.

Solutions

Expert Solution

Explain the difference between the three different levels of virtualisation: CPU Instruction Set level, Hardware Abstraction Layer (HAL) level, and Operating System level.

CPU Instruction Set level -

The instruction set provides commands to the processor, to tell it what it needs to do. The instruction set consists of addressing modes, instructions, native data types, registers, memory architecture, interrupt, and exception handling, and external I/O.In ISA, virtualization works through an ISA emulation. This is helpful to run heaps of legacy code which was originally written for different hardware configurations. These codes can be run on the virtual machine through an ISA. A binary code that might need additional layers to run can now run on an x86 machine or with some tweaking, even on x64 machines. ISA helps make this a hardware-agnostic virtual machine. The basic emulation, though, requires an interpreter. This interpreter interprets the source code and converts it to a hardware readable format for processing.

Hardware Abstraction Layer (HAL) level -

In computers, a hardware abstraction layer (HAL) is a layer of programming that allows a computer OS to interact with a hardware device at a general or abstract level rather than at a detailed hardware level. HAL can be called from either the OS's kernel or from a device driver. As the name suggests, this level helps perform virtualization at the hardware level. It uses a bare hypervisor for its functioning.This level helps form the virtual machine and manages the hardware through virtualization.It enables virtualization of each hardware component such as I/O devices, processors, memory, etc. This way multiple users can use the same hardware with numerous instances of virtualization at the same time. IBM had first implemented this on the IBM VM/370 back in 1960. It is more usable for cloud-based infrastructure. Thus, it is no surprise that currently, Xen hypervisors are using HAL to run Linux and other OS on x86 based machines.

Operating System level -

OS-level virtualization is an operating system paradigm in which the kernel allows the existence of multiple isolated user space instances. At the operating system level, the virtualization model creates an abstract layer between the applications and the OS. It is like an isolated container on the physical server and operating system that utilizes hardware and software. Each of these containers functions like servers.When the number of users is high, and no one is willing to share hardware, this level of virtualization comes in handy. Here, every user gets their own virtual environment with dedicated virtual hardware resources. This way, no conflicts arise.


Related Solutions

INTERNET OF THINGS (IOT) 23. Explain the difference between the three different levels of virtualisation: CPU...
INTERNET OF THINGS (IOT) 23. Explain the difference between the three different levels of virtualisation: CPU Instruction Set level, Hardware Abstraction Layer (HAL) level, and Operating System level.
2 – The CPU design team is designing an instruction set with three classes of instructions....
2 – The CPU design team is designing an instruction set with three classes of instructions. Parameters are given in the following table. Consider a program with 65% ALU instructions, 20% memory access instructions, and 15% control instructions. What is the average CPI for this CPU? Clock Rate: 4GHz CPI for ALU Inst.: 4 CPI for Memory Inst.: 8 CPI for Control Inst.: 2
Why do we need different levels of abstraction in DBMS, explain with examples?
Why do we need different levels of abstraction in DBMS, explain with examples?
Write an assembly program using the super simple cpu instruction set for the following problem. Take...
Write an assembly program using the super simple cpu instruction set for the following problem. Take input an integer from the user. Output three times the input to the output box. For example, if the user inputs 10 (base-10) then output box should show 30 (base-10). Hint: 3 * p can be calculated by doing p+p+p. ONLY write your assembly instructions here.
What is the difference between an instruction and a directive?
  Convert to/from Hex (0x) Octal Binary Unsigned/ 2’s complement Understand how to shift and rotate. Understand the relationship between shifting and multiplication/division Be able to recognize and use the following gates: AND OR NOT NAND NOR XOR Understand how a half adder works Given a logical statement ((A OR B) AND NOT(C OR A)) show the gates. What is the difference between an instruction and a directive? If you have the C statements int A[10,12],mydata A[3,5]=mynumber (you are on...
Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a...
Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a 3 GHz clock rate and a CPI of 1.5. P2 has a 2.5 GHz clock rate and a CPI of 1.0. P3 has a 4.0 GHz clock rate and has a CPI of 2.2. a. Find execution time for each processor for a program with 2 x 10 9 instructions. Which one is the fastest? b. If the processors each execute a program in...
Consider three different processors P1, P2, and P3, executing the same instruction set. P1 has a...
Consider three different processors P1, P2, and P3, executing the same instruction set. P1 has a clock cycle time of 300 picosecond and a CPI (clock cycles per instruction) of 1.5. P2 has a clock cycle time of 400 picosecond and a CPI of 1.0. P3 has a clock cycle time of 250 picosecond and a CPI of 2.0. P1 is running a program with 10 instructions. P2 is running a different program with 20 instructions. P3 is running a...
Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a...
Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a 3 GHz clock rate and a CPI of 1.5. P2 has a 2.5 GHz clock rate and a CPI of 1.0. P3 has a 4.0 GHz clock rate and has a CPI of 2.2. a. Which processor has the highest performance expressed in instructions per second? b. If the processors each execute a program in 10 seconds, find the number of cycles and the...
Consider three different processors P1, P2 and P3 executing the same instruction set with clock rates...
Consider three different processors P1, P2 and P3 executing the same instruction set with clock rates and CPI given in the following table: Processor Clock Rate CPI P1 2 GHz 1.5 P2 1.5 GHz 1.0 P3 3 GHz 2.5 c) We are trying to reduce the execution time by 30% but this leads an increase of 20% in the CPI. What clock rate should we have to get this time reduction? b) If the processors each execute a program in...
Explain the difference between a coop, a condo, and a house. Also, detail three different types...
Explain the difference between a coop, a condo, and a house. Also, detail three different types of mortgages and explain which type of real estate and mortgage would be best for you. What are your 5- and 10-year goals that will get you closer to achieving your goal of homeownership? Be specific and use actual numbers reflecting the current market state and your financial plan.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT