SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
3.6 VIRTUALIZATION OF CPU, MEMORY, AND I/O DEVICES
1. Hardware Virtualization
2. CPU Virtualization
3. Memory Virtualization
4. I/O Virtualization
5. Multi-Core ProcessorsVirtualization
1. Hardware Virtualization
 Modern operating systems and processors permit multiple processesto run
simultaneously.
 If there is no protection mechanismin a processor, all instructions from
different processes will access the hardware directly and cause a system crash.
 Therefore, all processors have at least two modes, user mode and
supervisor mode, to ensure controlled accessof critical hardware.
 Instructions running in supervisor mode are called privileged instructions.
Other instructions are unprivileged instructions. -User mode
 In a virtualized environment, it is more difficult to make OSes and
applications run correctly.
 The VMware Workstationis a VM software suite for x86 and x86-64
computers.
 This software suiteallows users to set up multiple(x86 and x86-64 virtual computers, and
to use) one or more of these VMs simultaneously.
 KVM can support hardware-assisted virtualization and paravirtualization by
using the Intel VT-x or AMD-v respectively.
2. CPU Virtualization
 Unprivileged instructionsof VMs run directly on the host machinefor higher
efficiency.
 Critical instructionsshould be handled carefully for correctness and stability.
The critical instructions are divided into three categories
o privileged instructions- instructions execute in a privileged modeand will
be trapped if executed outside this mode.
o control-sensitive instructions - attempt to change the configuration of
resources used.
o behavior-sensitive instructions - have different behaviors depending on
the configuration of resources,
 A CPU architecture is virtualizable, the ability to run the VM’s privileged and
unprivileged instructions.
 VMM acts as a unified mediator
 RISC- CPU architectures can be naturally virtualized Best-Reduced Set
Computer Instructions
3. Memory Virtualization
 Virtual memory virtualization is similar to the virtual memory support
provided by modern operating systems.
 In a traditional execution environment, the operating system maintains
mappings of virtual memory to machine memory using page tables, which is a
one-stage mapping from virtual memory to machine memory.
 All modern x86 CPUs include a memory management unit (MMU) and
a translation lookaside buffer (TLB) to optimize virtual memory
performance.
 In avirtual memory virtualization involves sharing the physical system
memory in RAM and dynamically allocating it to the physical memory of the
VMs.
 Two-stage mapping process should be maintained by the guest OS and the
VMM, respectively:
 virtual memory to physical memory and physical memory to machine
memory.
4. I/O Virtualization
I/O virtualization involves managing the routing of I/O requestsbetween
virtual devices and the shared physical hardware.
At the time of this writing, there are three ways to implement I/O
virtualization: full device emulation, para-virtualization, and direct I/O. Full
device emulation is the first approach for I/O virtualization.
Generally, this approach emulates well-known, real-world devices.
5. Virtualization in Multi-Core Processors(windows/Linux)
 Virtualizing a multi-core processor is relatively more complicated than
virtualizing a uni-core processor.
 multicore processors are claimed to have higher performance by integrating
multiple processor cores in a single chip, muti-core virtualiuzation has
raised some new challenges to computer architects, compiler constructors,
system designers, and application programmers.
 first challenge, new programming models, languages, and libraries are
needed to make parallel programming easier.
 second challenge has spawned research involving scheduling
algorithms and resource management policies.
 The dynamic heterogeneity of hardware infrastructure mainly comes from
less reliable transistors and increased complexity in using the transistors.

More Related Content

DOCX
VIRTUALIZATION STRUCTURES TOOLS.docx
ODP
Introduction to Virtualization
PPTX
Unit 2 Virtualization Part I.pptx
DOCX
Levels of Virtualization.docx
PPT
Fullandparavirtualization.ppt
PPTX
Implementation levels of virtualization
PPTX
Virtual machine
PPTX
Unit-I_part-II_Virtualization.pptx
VIRTUALIZATION STRUCTURES TOOLS.docx
Introduction to Virtualization
Unit 2 Virtualization Part I.pptx
Levels of Virtualization.docx
Fullandparavirtualization.ppt
Implementation levels of virtualization
Virtual machine
Unit-I_part-II_Virtualization.pptx

What's hot (20)

PPTX
2. Distributed Systems Hardware & Software concepts
PPT
cloud computing:Types of virtualization
PPT
System models in distributed system
PPT
Clock synchronization in distributed system
PDF
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
PPTX
What is Virtualization and its types & Techniques.What is hypervisor and its ...
PPTX
5. IO virtualization
PPTX
Introduction to Distributed System
PDF
Agreement Protocols, distributed File Systems, Distributed Shared Memory
PPT
Distributed System-Multicast & Indirect communication
PPT
distributed shared memory
PPTX
Virtualization- Cloud Computing
PPT
Unit 4
PDF
CS8791 Cloud Computing - Question Bank
PPTX
CLOUD COMPUTING UNIT-1
PPTX
CS8791 Unit 2 Cloud Enabling Technologies
PPTX
Virtualization in cloud computing
PDF
Lecture5 virtualization
PDF
Google App Engine
2. Distributed Systems Hardware & Software concepts
cloud computing:Types of virtualization
System models in distributed system
Clock synchronization in distributed system
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
What is Virtualization and its types & Techniques.What is hypervisor and its ...
5. IO virtualization
Introduction to Distributed System
Agreement Protocols, distributed File Systems, Distributed Shared Memory
Distributed System-Multicast & Indirect communication
distributed shared memory
Virtualization- Cloud Computing
Unit 4
CS8791 Cloud Computing - Question Bank
CLOUD COMPUTING UNIT-1
CS8791 Unit 2 Cloud Enabling Technologies
Virtualization in cloud computing
Lecture5 virtualization
Google App Engine
Ad

Similar to Virtualize of IO Devices .docx (20)

PPTX
VIRTULIZATION OF CPU, MEMORY AND IO DEVICES (1).pptx
PPTX
Virtualization of computing and servers
PDF
A510840101 24982 23_2020_lecture_2
PPT
CC_virtualization is in the cloud UNIT 3.1.ppt
PPTX
CSC_406_5_Virtualization - Case Study, it's base on virtualization
PPTX
Operating system Virtualization_NEW.pptx
PPTX
eve of Virtualization and virtualization support .pptx
PPTX
Hardware support for efficient virtualization
PPT
Unit II.ppt
PDF
2virtualizationtechnologyoverview 13540659831745-phpapp02-121127193019-phpapp01
PDF
VSS-2.pdf
DOCX
Hardware Support for Efficient VirtualizationJohn Fisher-O
PPTX
CC CLOUD RESOURCE VIRTUALIZATION PPT TO REFER
PPTX
Virtualization
PPTX
virtualization.pptx
PDF
Cloud Computing Virtualization and containers
PDF
Virtualization and cloud Computing
PPT
lecture4(VM).ppt
PDF
Unit 3 Virtualization.pdf
PPTX
3. CPU virtualization and scheduling
VIRTULIZATION OF CPU, MEMORY AND IO DEVICES (1).pptx
Virtualization of computing and servers
A510840101 24982 23_2020_lecture_2
CC_virtualization is in the cloud UNIT 3.1.ppt
CSC_406_5_Virtualization - Case Study, it's base on virtualization
Operating system Virtualization_NEW.pptx
eve of Virtualization and virtualization support .pptx
Hardware support for efficient virtualization
Unit II.ppt
2virtualizationtechnologyoverview 13540659831745-phpapp02-121127193019-phpapp01
VSS-2.pdf
Hardware Support for Efficient VirtualizationJohn Fisher-O
CC CLOUD RESOURCE VIRTUALIZATION PPT TO REFER
Virtualization
virtualization.pptx
Cloud Computing Virtualization and containers
Virtualization and cloud Computing
lecture4(VM).ppt
Unit 3 Virtualization.pdf
3. CPU virtualization and scheduling
Ad

More from kumari36 (20)

PPTX
Data Analytics with Data Science Algorithm
PPTX
Transaction of program execution updates
PPTX
ER-Model specification logical structure
DOCX
Operating System extension.docx
PDF
Overview of java Language-3.pdf
PDF
Java Evolution-2.pdf
PDF
Inheritance in Java.pdf
PDF
Constructors in Java (2).pdf
PDF
Chapter4-var.pdf
PDF
softwareMaintenance.pdf
PDF
testing.pdf
PDF
Debugging.pdf
PDF
QualityAssurance.pdf
PPTX
Prediction of heart disease using machine learning.pptx
PPTX
Fast Wavelet Based Image Characterization for Highly Adaptive Image Retrieval...
PPTX
Presentation1.4.pptx
PPTX
Presentation1.3.pptx
PPTX
Cloud 1.2.pptx
PPTX
Cloud Computing Introduction
PPTX
Impact of Data Science
Data Analytics with Data Science Algorithm
Transaction of program execution updates
ER-Model specification logical structure
Operating System extension.docx
Overview of java Language-3.pdf
Java Evolution-2.pdf
Inheritance in Java.pdf
Constructors in Java (2).pdf
Chapter4-var.pdf
softwareMaintenance.pdf
testing.pdf
Debugging.pdf
QualityAssurance.pdf
Prediction of heart disease using machine learning.pptx
Fast Wavelet Based Image Characterization for Highly Adaptive Image Retrieval...
Presentation1.4.pptx
Presentation1.3.pptx
Cloud 1.2.pptx
Cloud Computing Introduction
Impact of Data Science

Recently uploaded (20)

PDF
Basic Mud Logging Guide for educational purpose
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Business Ethics Teaching Materials for college
PDF
Classroom Observation Tools for Teachers
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Pharma ospi slides which help in ospi learning
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Basic Mud Logging Guide for educational purpose
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
O7-L3 Supply Chain Operations - ICLT Program
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Cell Types and Its function , kingdom of life
2.FourierTransform-ShortQuestionswithAnswers.pdf
Business Ethics Teaching Materials for college
Classroom Observation Tools for Teachers
102 student loan defaulters named and shamed – Is someone you know on the list?
VCE English Exam - Section C Student Revision Booklet
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Supply Chain Operations Speaking Notes -ICLT Program
TR - Agricultural Crops Production NC III.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Pharma ospi slides which help in ospi learning
FourierSeries-QuestionsWithAnswers(Part-A).pdf

Virtualize of IO Devices .docx

  • 1. 3.6 VIRTUALIZATION OF CPU, MEMORY, AND I/O DEVICES 1. Hardware Virtualization 2. CPU Virtualization 3. Memory Virtualization 4. I/O Virtualization 5. Multi-Core ProcessorsVirtualization 1. Hardware Virtualization  Modern operating systems and processors permit multiple processesto run simultaneously.  If there is no protection mechanismin a processor, all instructions from different processes will access the hardware directly and cause a system crash.  Therefore, all processors have at least two modes, user mode and supervisor mode, to ensure controlled accessof critical hardware.  Instructions running in supervisor mode are called privileged instructions. Other instructions are unprivileged instructions. -User mode  In a virtualized environment, it is more difficult to make OSes and applications run correctly.  The VMware Workstationis a VM software suite for x86 and x86-64 computers.  This software suiteallows users to set up multiple(x86 and x86-64 virtual computers, and to use) one or more of these VMs simultaneously.  KVM can support hardware-assisted virtualization and paravirtualization by using the Intel VT-x or AMD-v respectively. 2. CPU Virtualization
  • 2.  Unprivileged instructionsof VMs run directly on the host machinefor higher efficiency.  Critical instructionsshould be handled carefully for correctness and stability. The critical instructions are divided into three categories o privileged instructions- instructions execute in a privileged modeand will be trapped if executed outside this mode. o control-sensitive instructions - attempt to change the configuration of resources used. o behavior-sensitive instructions - have different behaviors depending on the configuration of resources,  A CPU architecture is virtualizable, the ability to run the VM’s privileged and unprivileged instructions.  VMM acts as a unified mediator  RISC- CPU architectures can be naturally virtualized Best-Reduced Set Computer Instructions 3. Memory Virtualization  Virtual memory virtualization is similar to the virtual memory support provided by modern operating systems.  In a traditional execution environment, the operating system maintains mappings of virtual memory to machine memory using page tables, which is a one-stage mapping from virtual memory to machine memory.  All modern x86 CPUs include a memory management unit (MMU) and a translation lookaside buffer (TLB) to optimize virtual memory performance.  In avirtual memory virtualization involves sharing the physical system memory in RAM and dynamically allocating it to the physical memory of the VMs.
  • 3.  Two-stage mapping process should be maintained by the guest OS and the VMM, respectively:  virtual memory to physical memory and physical memory to machine memory. 4. I/O Virtualization I/O virtualization involves managing the routing of I/O requestsbetween virtual devices and the shared physical hardware. At the time of this writing, there are three ways to implement I/O virtualization: full device emulation, para-virtualization, and direct I/O. Full device emulation is the first approach for I/O virtualization. Generally, this approach emulates well-known, real-world devices. 5. Virtualization in Multi-Core Processors(windows/Linux)
  • 4.  Virtualizing a multi-core processor is relatively more complicated than virtualizing a uni-core processor.  multicore processors are claimed to have higher performance by integrating multiple processor cores in a single chip, muti-core virtualiuzation has raised some new challenges to computer architects, compiler constructors, system designers, and application programmers.  first challenge, new programming models, languages, and libraries are needed to make parallel programming easier.  second challenge has spawned research involving scheduling algorithms and resource management policies.  The dynamic heterogeneity of hardware infrastructure mainly comes from less reliable transistors and increased complexity in using the transistors.