SlideShare a Scribd company logo
1 of 20
Discussion on Virtualization
Objectives
Why virtualization,
and virtualization
properties
Virtualization,
para-
virtualization,
virtual machines
and hypervisors
V
Vi
ir
rt
tu
ua
al
l m
ma
ac
ch
hi
in
ne
e
t
ty
yp
pe
es
s
Last Session
Partitioning and
Multiprocessor
virtualization
Resource
virtualization
Background: Computer System
Architectures
Software
ISA
Hardware
1
Instruction Set
Architecture (ISA): 7 & 8
Application Programs
2
3 3
Application Binary
Interface (ABI): 3 & 7
OS
Libraries
4 5 6
Application
Programming
Interface (API): 2 & 7 8 8 8 8 7 7
Execution Hardware
9
Memory Translation
Controllers
13
I/O Devices &
Networking
12
Controllers
14
Main Memory
11
11
System Interconnect (bus)
10
10
Scheduler
Memory
Manager
Drivers
Types of Virtual Machines
1. Process VM
2. System VM
 As there is a process perspective and a system perspective of machines,
there are also process-level and system-level VMs
 Virtual machines can be of two types:
• Capable of supporting an individual process
• Provides a complete system environment
• Supports an OS with potentially many types of processes
Process Virtual Machine
 Runtime is placed at the ABI interface
 Runtime emulates both user-level instructions and OS system calls
Guest
Runtime
Host
Virtual Machine
Application Process
Application Process
Virtualizing Software
OS
Hardware
System Virtual Machine
 VMM emulates the ISA used by one hardware platform to another, forming
a system VM
 A system VM is capable of executing a system software environment
developed for a different set of hardware
Guest
VMM
Host
Virtual Machine
OS
Applications
Applications
OS
Virtualizing Software
Hardware
Native and Hosted VM Systems
Traditional
Uniprocessor
System
Native
VM System
User-mode
Hosted
VM System
Dual-mode
Hosted
VM System
Guest
Applications
Guest
Applications
Guest OS
Guest OS VMM
Nonprivileged
modes
VMM Host OS
Privileged
modes
Hardware
Hardware
Hardware
Hardware
Host OS
OS
VMM
Applications
Guest OS
Guest
Applications
A Taxonomy
Multiprogrammed
Systems
Dynamic
Translators
Classic-System
VMs
Whole-System
VMs
Dynamic
Binary
Optimizers
HLL VMs Hosted
VMs
Co-designed
VMs
Process VMs System VMs
Same
ISA
Different
ISA
Same
ISA
Different
ISA
The Versatility of VMs
Java Application
JVM
Linux IA-32
VMWare
Windows IA-32
Code Morphing
Crusoe VLIW
Objectives
Virtualization,
para-
virtualization,
virtual machines
and hypervisors
Discussion on Virtualization
Why virtualization,
and virtualization
properties
Virtual machine
types
P
Pa
ar
rt
ti
it
ti
io
on
ni
in
ng
g a
an
nd
d
Multiprocessor
virtualization
Resource
virtualization
Multiprocessor Systems
 Multiprocessor systems might have 1000s of processors connected to TBs
of memory and PBs of disk capacity
 Often there is a mismatch between the ideal number of processors an
application needs and the actual number of physical processors available
 It is more often the case that applications cannot exploit more than a
fraction of the processors available. The is mainly because of:
 Limitations in the parallelism available in the programs
 Limitations in the scalability of applications due to the overhead of
communication between processors
Partitioning
 The increasing availability of multiprocessor systems has led to the
examination of techniques that can help utilize them more effectively
 Techniques have been developed in which the multiprocessor system can
be partitioned into multiple partitions
 A partition is given a subset of the resources available on the system
 Hence, using partitioning, multiple applications can simultaneously exploit
the available resources of the system
 Partitioning can be achieved:
 Either in-space (referred to as physical partitioning)
 Or in-time (referred to as logical partitioning)
Physical Partitioning
Partition 1
I/O
P P
P P
P P
P P
P P
P P
P P
P P
P P
P P
P P
P P
Partition 2 Partition 3
M M M M M M
I/O I/O I/O I/O I/O
D D D D D D D D D D D D
 With physical partitioning, each partition is assigned resources that are
physically distinct from the resources used by the other partitions
Physical Partitioning
 Physical partitioning allows a partition to own its
resources physically
 It is not permissible for two partitions to share the resources of a
single system board
 Partitions are configured by a central control unit that receives
commands from the console of the system admin and provisions
hardware resources accordingly
 The number of partitions that can be supported in physically
partitioned systems is limited to the number of available
physical processors
Physical Partitioning- Advantages
 Physical partitioning provides:
 Failure Isolation: it ensures that in the event of a failure, only the part of
the physical system that houses the failing partition will be affected
 Better security isolation: Each partition is protected from the possibility
of intentional or unintentional denial-of-service attacks by
other partitions
 Better ability to meet system-level objectives (these result from
contracts between system owners and users of the system)
 Easier management of resources: no need of sophisticated algorithms
for scheduling and management of resources
Physical Partitioning- Disadvantages
 While physical partitioning has a number of attractive features, it has
some major disadvantages:
 System utilization: Physical partitioning is probably not the ideal
solution if system utilization is to be optimized
 It is often the case that each of the physical partitions
is underutilized
 Load balancing: with physical partitioning, dynamic workload
balancing becomes difficult to implement
Logical Partitioning
P
P
P
P
D D
P
P
P
P
D D
P
P
P
P
D D
I/O
M
I/O
M
I/O
M
P
P
P
P
D D
I/O
M
P
P
P
P
D D
I/O
M
I/O
M
P
P
P
P
D D
 With logical partitioning, partitions share some of the physical resources,
usually in a time-multiplexed manner
Logical Partitioning
 With logical partitioning it is permissible for two partitions to share
the resources of a single system board
 Logical partitioning makes it possible to partition an n-way system
into a system with more than n partitions, if so desired
 Logical partitioning is more flexible than physical partitioning but
needs additional mechanisms to provide safe and efficient way
of sharing resources
 Logical partitioning is usually done through a VMM or a hypervisor
and provides what is referred to as multiprocessor virtualization
Multiprocessor Virtualization
I/O
Bus or Crossbar Switch
I/O I/O I/O I/O
Virtual Machine Monitor
Processor
Processor
Processor
Processor
M
P
P
P
M
P
P
P
M
P
P
P
M
P
P
P
Cache Cache Cache Cache
 A virtualized multiprocessor gives the appearance of a system that may or
may not reflect the exact configuration of the underlying physical system
Memory
Objectives
Partitioning and
Multiprocessor
virtualization
Virtualization,
para-
virtualization,
virtual machines
and hypervisors
Discussion on Virtualization
Why virtualization,
and virtualization
properties
Virtual machine
types
R
R
Re
e
es
s
so
o
ou
u
ur
r
rc
c
ce
e
e
v
vi
ir
rt
tu
ua
al
li
iz
za
at
ti
io
on
n
Next Class
22
Resource Virtualization
CPU Virtualization Memory Virtualization I/O Virtualization

More Related Content

Similar to Virtualization summary a.docx

OS - Ch2
OS - Ch2OS - Ch2
OS - Ch2
sphs
 
Chapter 2 - Operating System Structures
Chapter 2 - Operating System StructuresChapter 2 - Operating System Structures
Chapter 2 - Operating System Structures
Wayne Jones Jnr
 
OS - Ch1
OS - Ch1OS - Ch1
OS - Ch1
sphs
 
Chapter 1 - Introduction
Chapter 1 - IntroductionChapter 1 - Introduction
Chapter 1 - Introduction
Wayne Jones Jnr
 
Operating systems. replace ch1 with numbers for next chapters
Operating systems. replace ch1 with numbers for next chaptersOperating systems. replace ch1 with numbers for next chapters
Operating systems. replace ch1 with numbers for next chapters
sphs
 
operating system over view.ppt operating sysyems
operating system over view.ppt operating sysyemsoperating system over view.ppt operating sysyems
operating system over view.ppt operating sysyems
JyoReddy9
 
Foult Tolerence In Distributed System
Foult Tolerence In Distributed SystemFoult Tolerence In Distributed System
Foult Tolerence In Distributed System
Rajan Kumar
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
m25farid
 

Similar to Virtualization summary a.docx (20)

ch3 - operating system structures.ppt
ch3 - operating system structures.pptch3 - operating system structures.ppt
ch3 - operating system structures.ppt
 
Operating-System Structures
Operating-System StructuresOperating-System Structures
Operating-System Structures
 
Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.ppt
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
OS - Ch2
OS - Ch2OS - Ch2
OS - Ch2
 
Chapter 2 - Operating System Structures
Chapter 2 - Operating System StructuresChapter 2 - Operating System Structures
Chapter 2 - Operating System Structures
 
SISTEMAS OPERATIVOS.pptx
SISTEMAS OPERATIVOS.pptxSISTEMAS OPERATIVOS.pptx
SISTEMAS OPERATIVOS.pptx
 
OS UNIT1.pptx
OS UNIT1.pptxOS UNIT1.pptx
OS UNIT1.pptx
 
Operating system (BCS303) MODULE 1 NOTES
Operating system (BCS303) MODULE 1 NOTESOperating system (BCS303) MODULE 1 NOTES
Operating system (BCS303) MODULE 1 NOTES
 
OS UNIT 1 PPT.pptx
OS UNIT 1 PPT.pptxOS UNIT 1 PPT.pptx
OS UNIT 1 PPT.pptx
 
Operating system basics, Types of operating systems, Tasks, Process and Thre...
Operating system basics, Types of operating  systems, Tasks, Process and Thre...Operating system basics, Types of operating  systems, Tasks, Process and Thre...
Operating system basics, Types of operating systems, Tasks, Process and Thre...
 
CS403: Operating System : Unit I _merged.pdf
CS403: Operating System :  Unit I _merged.pdfCS403: Operating System :  Unit I _merged.pdf
CS403: Operating System : Unit I _merged.pdf
 
OS - Ch1
OS - Ch1OS - Ch1
OS - Ch1
 
Chapter 1 - Introduction
Chapter 1 - IntroductionChapter 1 - Introduction
Chapter 1 - Introduction
 
Operating systems. replace ch1 with numbers for next chapters
Operating systems. replace ch1 with numbers for next chaptersOperating systems. replace ch1 with numbers for next chapters
Operating systems. replace ch1 with numbers for next chapters
 
OS Intro.ppt
OS Intro.pptOS Intro.ppt
OS Intro.ppt
 
operating system over view.ppt operating sysyems
operating system over view.ppt operating sysyemsoperating system over view.ppt operating sysyems
operating system over view.ppt operating sysyems
 
Operating System 2
Operating System 2Operating System 2
Operating System 2
 
Foult Tolerence In Distributed System
Foult Tolerence In Distributed SystemFoult Tolerence In Distributed System
Foult Tolerence In Distributed System
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 

More from shruti533256

Virtualization Introduction.ppt
Virtualization Introduction.pptVirtualization Introduction.ppt
Virtualization Introduction.ppt
shruti533256
 
Virtualization summary b.docx
Virtualization summary b.docxVirtualization summary b.docx
Virtualization summary b.docx
shruti533256
 
More on Virtualization 2.pptx
More on Virtualization 2.pptxMore on Virtualization 2.pptx
More on Virtualization 2.pptx
shruti533256
 
Virtualization concepts 2.pptx
Virtualization concepts 2.pptxVirtualization concepts 2.pptx
Virtualization concepts 2.pptx
shruti533256
 
6- Threaded Interpretation.docx
6- Threaded Interpretation.docx6- Threaded Interpretation.docx
6- Threaded Interpretation.docx
shruti533256
 
2-Virtualization in Cloud Computing and Types.docx
2-Virtualization in Cloud Computing and Types.docx2-Virtualization in Cloud Computing and Types.docx
2-Virtualization in Cloud Computing and Types.docx
shruti533256
 
4-Taxonomy of virtualization.docx
4-Taxonomy of virtualization.docx4-Taxonomy of virtualization.docx
4-Taxonomy of virtualization.docx
shruti533256
 
Course Plan Virtualization concepts.docx
Course Plan Virtualization concepts.docxCourse Plan Virtualization concepts.docx
Course Plan Virtualization concepts.docx
shruti533256
 
3-Types of Virtual Machines.docx
3-Types of Virtual Machines.docx3-Types of Virtual Machines.docx
3-Types of Virtual Machines.docx
shruti533256
 
1-Introduction to Virtualization.docx
1-Introduction to Virtualization.docx1-Introduction to Virtualization.docx
1-Introduction to Virtualization.docx
shruti533256
 
6-Nfa & equivalence with RE.pdf
6-Nfa & equivalence with RE.pdf6-Nfa & equivalence with RE.pdf
6-Nfa & equivalence with RE.pdf
shruti533256
 
5-DFA and equivalence with RE.pdf
5-DFA and equivalence with RE.pdf5-DFA and equivalence with RE.pdf
5-DFA and equivalence with RE.pdf
shruti533256
 
2-Chomsky hierarchy of languages.ppt
2-Chomsky hierarchy of languages.ppt2-Chomsky hierarchy of languages.ppt
2-Chomsky hierarchy of languages.ppt
shruti533256
 

More from shruti533256 (19)

More on Emulsion.docx
More on Emulsion.docxMore on Emulsion.docx
More on Emulsion.docx
 
More on Virtualization.ppt
More on Virtualization.pptMore on Virtualization.ppt
More on Virtualization.ppt
 
Virtualization Introduction.ppt
Virtualization Introduction.pptVirtualization Introduction.ppt
Virtualization Introduction.ppt
 
Virtualization summary b.docx
Virtualization summary b.docxVirtualization summary b.docx
Virtualization summary b.docx
 
More on Virtualization 2.pptx
More on Virtualization 2.pptxMore on Virtualization 2.pptx
More on Virtualization 2.pptx
 
Virtualization concepts 2.pptx
Virtualization concepts 2.pptxVirtualization concepts 2.pptx
Virtualization concepts 2.pptx
 
6- Threaded Interpretation.docx
6- Threaded Interpretation.docx6- Threaded Interpretation.docx
6- Threaded Interpretation.docx
 
Overview.ppt
Overview.pptOverview.ppt
Overview.ppt
 
More on Virtualization 3.pptx
More on Virtualization 3.pptxMore on Virtualization 3.pptx
More on Virtualization 3.pptx
 
2-Virtualization in Cloud Computing and Types.docx
2-Virtualization in Cloud Computing and Types.docx2-Virtualization in Cloud Computing and Types.docx
2-Virtualization in Cloud Computing and Types.docx
 
4-Taxonomy of virtualization.docx
4-Taxonomy of virtualization.docx4-Taxonomy of virtualization.docx
4-Taxonomy of virtualization.docx
 
Course Plan Virtualization concepts.docx
Course Plan Virtualization concepts.docxCourse Plan Virtualization concepts.docx
Course Plan Virtualization concepts.docx
 
3-Types of Virtual Machines.docx
3-Types of Virtual Machines.docx3-Types of Virtual Machines.docx
3-Types of Virtual Machines.docx
 
1-Introduction to Virtualization.docx
1-Introduction to Virtualization.docx1-Introduction to Virtualization.docx
1-Introduction to Virtualization.docx
 
5-Emulation.docx
5-Emulation.docx5-Emulation.docx
5-Emulation.docx
 
6-Nfa & equivalence with RE.pdf
6-Nfa & equivalence with RE.pdf6-Nfa & equivalence with RE.pdf
6-Nfa & equivalence with RE.pdf
 
9-Pumping Lemma.pdf
9-Pumping Lemma.pdf9-Pumping Lemma.pdf
9-Pumping Lemma.pdf
 
5-DFA and equivalence with RE.pdf
5-DFA and equivalence with RE.pdf5-DFA and equivalence with RE.pdf
5-DFA and equivalence with RE.pdf
 
2-Chomsky hierarchy of languages.ppt
2-Chomsky hierarchy of languages.ppt2-Chomsky hierarchy of languages.ppt
2-Chomsky hierarchy of languages.ppt
 

Recently uploaded

1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Recently uploaded (20)

AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 

Virtualization summary a.docx

  • 1. Discussion on Virtualization Objectives Why virtualization, and virtualization properties Virtualization, para- virtualization, virtual machines and hypervisors V Vi ir rt tu ua al l m ma ac ch hi in ne e t ty yp pe es s Last Session Partitioning and Multiprocessor virtualization Resource virtualization
  • 2. Background: Computer System Architectures Software ISA Hardware 1 Instruction Set Architecture (ISA): 7 & 8 Application Programs 2 3 3 Application Binary Interface (ABI): 3 & 7 OS Libraries 4 5 6 Application Programming Interface (API): 2 & 7 8 8 8 8 7 7 Execution Hardware 9 Memory Translation Controllers 13 I/O Devices & Networking 12 Controllers 14 Main Memory 11 11 System Interconnect (bus) 10 10 Scheduler Memory Manager Drivers
  • 3. Types of Virtual Machines 1. Process VM 2. System VM  As there is a process perspective and a system perspective of machines, there are also process-level and system-level VMs  Virtual machines can be of two types: • Capable of supporting an individual process • Provides a complete system environment • Supports an OS with potentially many types of processes
  • 4. Process Virtual Machine  Runtime is placed at the ABI interface  Runtime emulates both user-level instructions and OS system calls Guest Runtime Host Virtual Machine Application Process Application Process Virtualizing Software OS Hardware
  • 5. System Virtual Machine  VMM emulates the ISA used by one hardware platform to another, forming a system VM  A system VM is capable of executing a system software environment developed for a different set of hardware Guest VMM Host Virtual Machine OS Applications Applications OS Virtualizing Software Hardware
  • 6. Native and Hosted VM Systems Traditional Uniprocessor System Native VM System User-mode Hosted VM System Dual-mode Hosted VM System Guest Applications Guest Applications Guest OS Guest OS VMM Nonprivileged modes VMM Host OS Privileged modes Hardware Hardware Hardware Hardware Host OS OS VMM Applications Guest OS Guest Applications
  • 7. A Taxonomy Multiprogrammed Systems Dynamic Translators Classic-System VMs Whole-System VMs Dynamic Binary Optimizers HLL VMs Hosted VMs Co-designed VMs Process VMs System VMs Same ISA Different ISA Same ISA Different ISA
  • 8. The Versatility of VMs Java Application JVM Linux IA-32 VMWare Windows IA-32 Code Morphing Crusoe VLIW
  • 9. Objectives Virtualization, para- virtualization, virtual machines and hypervisors Discussion on Virtualization Why virtualization, and virtualization properties Virtual machine types P Pa ar rt ti it ti io on ni in ng g a an nd d Multiprocessor virtualization Resource virtualization
  • 10. Multiprocessor Systems  Multiprocessor systems might have 1000s of processors connected to TBs of memory and PBs of disk capacity  Often there is a mismatch between the ideal number of processors an application needs and the actual number of physical processors available  It is more often the case that applications cannot exploit more than a fraction of the processors available. The is mainly because of:  Limitations in the parallelism available in the programs  Limitations in the scalability of applications due to the overhead of communication between processors
  • 11. Partitioning  The increasing availability of multiprocessor systems has led to the examination of techniques that can help utilize them more effectively  Techniques have been developed in which the multiprocessor system can be partitioned into multiple partitions  A partition is given a subset of the resources available on the system  Hence, using partitioning, multiple applications can simultaneously exploit the available resources of the system  Partitioning can be achieved:  Either in-space (referred to as physical partitioning)  Or in-time (referred to as logical partitioning)
  • 12. Physical Partitioning Partition 1 I/O P P P P P P P P P P P P P P P P P P P P P P P P Partition 2 Partition 3 M M M M M M I/O I/O I/O I/O I/O D D D D D D D D D D D D  With physical partitioning, each partition is assigned resources that are physically distinct from the resources used by the other partitions
  • 13. Physical Partitioning  Physical partitioning allows a partition to own its resources physically  It is not permissible for two partitions to share the resources of a single system board  Partitions are configured by a central control unit that receives commands from the console of the system admin and provisions hardware resources accordingly  The number of partitions that can be supported in physically partitioned systems is limited to the number of available physical processors
  • 14. Physical Partitioning- Advantages  Physical partitioning provides:  Failure Isolation: it ensures that in the event of a failure, only the part of the physical system that houses the failing partition will be affected  Better security isolation: Each partition is protected from the possibility of intentional or unintentional denial-of-service attacks by other partitions  Better ability to meet system-level objectives (these result from contracts between system owners and users of the system)  Easier management of resources: no need of sophisticated algorithms for scheduling and management of resources
  • 15. Physical Partitioning- Disadvantages  While physical partitioning has a number of attractive features, it has some major disadvantages:  System utilization: Physical partitioning is probably not the ideal solution if system utilization is to be optimized  It is often the case that each of the physical partitions is underutilized  Load balancing: with physical partitioning, dynamic workload balancing becomes difficult to implement
  • 16. Logical Partitioning P P P P D D P P P P D D P P P P D D I/O M I/O M I/O M P P P P D D I/O M P P P P D D I/O M I/O M P P P P D D  With logical partitioning, partitions share some of the physical resources, usually in a time-multiplexed manner
  • 17. Logical Partitioning  With logical partitioning it is permissible for two partitions to share the resources of a single system board  Logical partitioning makes it possible to partition an n-way system into a system with more than n partitions, if so desired  Logical partitioning is more flexible than physical partitioning but needs additional mechanisms to provide safe and efficient way of sharing resources  Logical partitioning is usually done through a VMM or a hypervisor and provides what is referred to as multiprocessor virtualization
  • 18. Multiprocessor Virtualization I/O Bus or Crossbar Switch I/O I/O I/O I/O Virtual Machine Monitor Processor Processor Processor Processor M P P P M P P P M P P P M P P P Cache Cache Cache Cache  A virtualized multiprocessor gives the appearance of a system that may or may not reflect the exact configuration of the underlying physical system Memory
  • 19. Objectives Partitioning and Multiprocessor virtualization Virtualization, para- virtualization, virtual machines and hypervisors Discussion on Virtualization Why virtualization, and virtualization properties Virtual machine types R R Re e es s so o ou u ur r rc c ce e e v vi ir rt tu ua al li iz za at ti io on n
  • 20. Next Class 22 Resource Virtualization CPU Virtualization Memory Virtualization I/O Virtualization