SlideShare a Scribd company logo
1 of 16
Download to read offline
Virtualization

Xen

1
Xen and the Art of Virtualization

What is Xen?
Xen is a is a virtual machine monitor (VMM) that
allows multiple guest operating systems to run on
the same computer hardware
Allows for the increase of server utilization and
consolidation.
More processes can be run on less hardware

CS 5204 – Fall, 2009

2
Xen and the Art of Virtualization

Design Principles

Support for unmodified application binaries
Allows user-level applications to be run without
being modified

Support for multiple full multi-application OS
Each guest can contain a complex sever
configuration

Use paravirtualization
Needed to obtain performance and resource
isolation on architectures that do not facilitate
virtualization (ie x86)

Hide effects of virtualization from guests
Each guest OS does not know about other guests
CS 5204 – Fall, 2009

3
Xen and the Art of Virtualization

Paravirtualization

Interface presented to a guest OS is not identical
to underlying hardware
Allows VMM to correctly handle instructions in
architectures that do not support full virtualization
(such as x86)

In some cases it is beneficial for the host to see
real and virtual resources
Providing real and virtual time can allow a guest OS
to handle time sensitive tasks more efficiently

Drawback: guest OS must be modified

CS 5204 – Fall, 2009

4
Xen and the Art of Virtualization

Structure of a Xen system

The Xen hypervisor provides an abstraction layer
that sits between system hardware and one or
more guest operating systems
Each guest OS is executed within its own virtual
machine, called a domain
Domain0: has special management privileges and is
used to create the other domains
DomainU: contains one guest OS

CS 5204 – Fall, 2009

5
Xen and the Art of Virtualization

Xen Hierarchy

Levels of a Xen system

CS 5204 – Fall, 2009

6
Xen and the Art of Virtualization

The Virtual Machine Interface: Memory

New page tables are allocated from a guest OS
memory reservation and registers it with Xen
All subsequent writes to the page table are
validated by Xen
This ensures that a guest OS only writes to tables it
owns, and is isolated from other guests

CS 5204 – Fall, 2009

7
Xen and the Art of Virtualization

The Virtual Machine Interface: CPU

An operating system is typically the most
privileged entity of a system
With Xen, the hypervisor sits between a guest OS
and the CPU
The hypervisor is the most privileged entity in a
Xen system
Xen uses protection rings to allow the hypervisor
to be more privileged than a guest OS

CS 5204 – Fall, 2009

8
Xen and the Art of Virtualization

The Virtual Machine Interface: CPU
•

x86 privilege rings

•

Typical:
–
–
–

•

Xen:
–
–

CS 5204 – Fall, 2009

OS runs in ring 0
Applications run
in ring 3
Rings 1 and 2
unused
Hypervisor runs
in ring 0
Guest OS runs in
ring 1

9
Xen and the Art of Virtualization

The Virtual Machine Interface: I/0

Xen provides simple device abstractions
This helps realize goal of protection and isolation

Data sent to and from each domain through the
hypervisor
I/O descriptor rings are used for asynchronous
data transfer

CS 5204 – Fall, 2009

10
Xen and the Art of Virtualization

I/O Descriptor Rings

CS 5204 – Fall, 2009

11
Xen and the Art of Virtualization

Performance

In summary, Xen performs well
Multipile domains can be hosted without any
noticeable loss of performance by end user

Xen and the Art of Virtualization identifies a
scalability goal of 100 domains on modern (c.
2003) server-class hardware
Tests demonstrate that 128 domains can be run
with only 7.5% loss of throughput relative to standalone Linux

CS 5204 – Fall, 2009

12
Xen and the Art of Virtualization

Performance

CS 5204 – Fall, 2009

13
Xen and the Art of Virtualization

Performance

Running multiple
web servers:

CS 5204 – Fall, 2009

14
Xen and the Art of Virtualization

Demonstration

Xen is an open source product that is easy to
install and configure on Linux
Requires a modified Linux kernel

Xen provides a live CD which can be used to try
the hypervisor without installing any software

CS 5204 – Fall, 2009

15
Xen and the Art of Virtualization

Questions?

CS 5204 – Fall, 2009

16

More Related Content

What's hot

Server virtualization
Server virtualizationServer virtualization
Server virtualizationofsorganizer
 
Virtualization in cloud computing ppt
Virtualization in cloud computing pptVirtualization in cloud computing ppt
Virtualization in cloud computing pptMehul Patel
 
VIRTUALIZATION STRUCTURES TOOLS.docx
VIRTUALIZATION STRUCTURES TOOLS.docxVIRTUALIZATION STRUCTURES TOOLS.docx
VIRTUALIZATION STRUCTURES TOOLS.docxkumari36
 
What is Virtualization
What is VirtualizationWhat is Virtualization
What is VirtualizationIsrael Marcus
 
Virtualization security for the cloud computing technology
Virtualization security for the cloud computing technologyVirtualization security for the cloud computing technology
Virtualization security for the cloud computing technologyDeep Ranjan Deb
 
Virtualize of IO Devices .docx
Virtualize of IO Devices .docxVirtualize of IO Devices .docx
Virtualize of IO Devices .docxkumari36
 
Virtual machines and their architecture
Virtual machines and their architectureVirtual machines and their architecture
Virtual machines and their architectureMrinmoy Dalal
 
Market oriented Cloud Computing
Market oriented Cloud ComputingMarket oriented Cloud Computing
Market oriented Cloud ComputingJithin Parakka
 
Cloud Computing and Service oriented Architecture (SOA)
Cloud Computing and Service oriented Architecture (SOA)Cloud Computing and Service oriented Architecture (SOA)
Cloud Computing and Service oriented Architecture (SOA)Ravindra Dastikop
 
Virtualization
VirtualizationVirtualization
Virtualizationvishnurk
 
What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...Shashi soni
 

What's hot (20)

Server virtualization
Server virtualizationServer virtualization
Server virtualization
 
Virtual Machine
Virtual MachineVirtual Machine
Virtual Machine
 
Hypervisor
HypervisorHypervisor
Hypervisor
 
What is Virtualization
What is VirtualizationWhat is Virtualization
What is Virtualization
 
Virtualization in cloud computing ppt
Virtualization in cloud computing pptVirtualization in cloud computing ppt
Virtualization in cloud computing ppt
 
Virtualization in cloud computing
Virtualization in cloud computingVirtualization in cloud computing
Virtualization in cloud computing
 
VIRTUALIZATION STRUCTURES TOOLS.docx
VIRTUALIZATION STRUCTURES TOOLS.docxVIRTUALIZATION STRUCTURES TOOLS.docx
VIRTUALIZATION STRUCTURES TOOLS.docx
 
What is Virtualization
What is VirtualizationWhat is Virtualization
What is Virtualization
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Virtualization security for the cloud computing technology
Virtualization security for the cloud computing technologyVirtualization security for the cloud computing technology
Virtualization security for the cloud computing technology
 
Server virtualization
Server virtualizationServer virtualization
Server virtualization
 
Virtualize of IO Devices .docx
Virtualize of IO Devices .docxVirtualize of IO Devices .docx
Virtualize of IO Devices .docx
 
Virtual machines and their architecture
Virtual machines and their architectureVirtual machines and their architecture
Virtual machines and their architecture
 
Server Virtualization
Server VirtualizationServer Virtualization
Server Virtualization
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Virtualization.ppt
Virtualization.pptVirtualization.ppt
Virtualization.ppt
 
Market oriented Cloud Computing
Market oriented Cloud ComputingMarket oriented Cloud Computing
Market oriented Cloud Computing
 
Cloud Computing and Service oriented Architecture (SOA)
Cloud Computing and Service oriented Architecture (SOA)Cloud Computing and Service oriented Architecture (SOA)
Cloud Computing and Service oriented Architecture (SOA)
 
Virtualization
VirtualizationVirtualization
Virtualization
 
What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...
 

Similar to Xen & virtualization

Virtualization Everywhere
Virtualization EverywhereVirtualization Everywhere
Virtualization Everywherewebhostingguy
 
Xen Euro Par07
Xen Euro Par07Xen Euro Par07
Xen Euro Par07congvc
 
Introducing Xen Server
Introducing Xen ServerIntroducing Xen Server
Introducing Xen ServerStephenRice86
 
Xen Hypervisor.pptx
Xen Hypervisor.pptxXen Hypervisor.pptx
Xen Hypervisor.pptxRiyaBatool
 
Xen & the Art of Virtualization
Xen & the Art of VirtualizationXen & the Art of Virtualization
Xen & the Art of VirtualizationTareque Hossain
 
Xen architecture q1 2008
Xen architecture q1 2008Xen architecture q1 2008
Xen architecture q1 2008colegio letonia
 
Xen Cloud Platform Installation Guide
Xen Cloud Platform Installation GuideXen Cloud Platform Installation Guide
Xen Cloud Platform Installation GuideSusheel Thakur
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short PresentationBarcamp Cork
 
XEN Server Magnus Wetterberg
XEN Server Magnus WetterbergXEN Server Magnus Wetterberg
XEN Server Magnus Wetterbergwebhostingguy
 
LinuxTag13: 10 years of Xen and beyond
LinuxTag13: 10 years of Xen and beyondLinuxTag13: 10 years of Xen and beyond
LinuxTag13: 10 years of Xen and beyondThe Linux Foundation
 
Xen and the art of embedded virtualization (ELC 2017)
Xen and the art of embedded virtualization (ELC 2017)Xen and the art of embedded virtualization (ELC 2017)
Xen and the art of embedded virtualization (ELC 2017)Stefano Stabellini
 
Automated paravitualization of device drivers in xen
Automated paravitualization of device drivers in xenAutomated paravitualization of device drivers in xen
Automated paravitualization of device drivers in xenMPNIKHIL
 
Xen and the art of virtualization
Xen and the art of virtualizationXen and the art of virtualization
Xen and the art of virtualizationAbdul417101
 
Cloud Computing Hypervisors and Comparison Xen KVM
Cloud Computing Hypervisors and Comparison Xen KVM Cloud Computing Hypervisors and Comparison Xen KVM
Cloud Computing Hypervisors and Comparison Xen KVM cloudresearcher
 
Xen Project Update LinuxCon Brazil
Xen Project Update LinuxCon BrazilXen Project Update LinuxCon Brazil
Xen Project Update LinuxCon BrazilThe Linux Foundation
 
Xenserver 5 Selling And Positioning
Xenserver 5 Selling And PositioningXenserver 5 Selling And Positioning
Xenserver 5 Selling And PositioningYves Peeters
 

Similar to Xen & virtualization (20)

Virtualization Everywhere
Virtualization EverywhereVirtualization Everywhere
Virtualization Everywhere
 
Xen Euro Par07
Xen Euro Par07Xen Euro Par07
Xen Euro Par07
 
Introducing Xen Server
Introducing Xen ServerIntroducing Xen Server
Introducing Xen Server
 
Xen Hypervisor.pptx
Xen Hypervisor.pptxXen Hypervisor.pptx
Xen Hypervisor.pptx
 
Xen & the Art of Virtualization
Xen & the Art of VirtualizationXen & the Art of Virtualization
Xen & the Art of Virtualization
 
Xen architecture q1 2008
Xen architecture q1 2008Xen architecture q1 2008
Xen architecture q1 2008
 
OSSNA18: Xen Beginners Training
OSSNA18: Xen Beginners Training OSSNA18: Xen Beginners Training
OSSNA18: Xen Beginners Training
 
Xen Cloud Platform Installation Guide
Xen Cloud Platform Installation GuideXen Cloud Platform Installation Guide
Xen Cloud Platform Installation Guide
 
Slide final
Slide finalSlide final
Slide final
 
Xen io
Xen ioXen io
Xen io
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short Presentation
 
Unit II.ppt
Unit II.pptUnit II.ppt
Unit II.ppt
 
XEN Server Magnus Wetterberg
XEN Server Magnus WetterbergXEN Server Magnus Wetterberg
XEN Server Magnus Wetterberg
 
LinuxTag13: 10 years of Xen and beyond
LinuxTag13: 10 years of Xen and beyondLinuxTag13: 10 years of Xen and beyond
LinuxTag13: 10 years of Xen and beyond
 
Xen and the art of embedded virtualization (ELC 2017)
Xen and the art of embedded virtualization (ELC 2017)Xen and the art of embedded virtualization (ELC 2017)
Xen and the art of embedded virtualization (ELC 2017)
 
Automated paravitualization of device drivers in xen
Automated paravitualization of device drivers in xenAutomated paravitualization of device drivers in xen
Automated paravitualization of device drivers in xen
 
Xen and the art of virtualization
Xen and the art of virtualizationXen and the art of virtualization
Xen and the art of virtualization
 
Cloud Computing Hypervisors and Comparison Xen KVM
Cloud Computing Hypervisors and Comparison Xen KVM Cloud Computing Hypervisors and Comparison Xen KVM
Cloud Computing Hypervisors and Comparison Xen KVM
 
Xen Project Update LinuxCon Brazil
Xen Project Update LinuxCon BrazilXen Project Update LinuxCon Brazil
Xen Project Update LinuxCon Brazil
 
Xenserver 5 Selling And Positioning
Xenserver 5 Selling And PositioningXenserver 5 Selling And Positioning
Xenserver 5 Selling And Positioning
 

More from Susheel Thakur

A Study on Energy Efficient Server Consolidation Heuristics for Virtualized C...
A Study on Energy Efficient Server Consolidation Heuristics for Virtualized C...A Study on Energy Efficient Server Consolidation Heuristics for Virtualized C...
A Study on Energy Efficient Server Consolidation Heuristics for Virtualized C...Susheel Thakur
 
Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...
Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...
Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...Susheel Thakur
 
Performance Evaluation of Server Consolidation Algorithms in Virtualized Clo...
Performance Evaluation of Server Consolidation Algorithms  in Virtualized Clo...Performance Evaluation of Server Consolidation Algorithms  in Virtualized Clo...
Performance Evaluation of Server Consolidation Algorithms in Virtualized Clo...Susheel Thakur
 
Performance Analysis of Server Consolidation Algorithms in Virtualized Cloud...
Performance Analysis of Server Consolidation Algorithms in  Virtualized Cloud...Performance Analysis of Server Consolidation Algorithms in  Virtualized Cloud...
Performance Analysis of Server Consolidation Algorithms in Virtualized Cloud...Susheel Thakur
 
Xen and the Art of Virtualization
Xen and the Art of VirtualizationXen and the Art of Virtualization
Xen and the Art of VirtualizationSusheel Thakur
 
Srs for virtual eucation
Srs for virtual eucationSrs for virtual eucation
Srs for virtual eucationSusheel Thakur
 
SERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEW
SERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEWSERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEW
SERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEWSusheel Thakur
 
Line drawing algorithms
Line drawing algorithmsLine drawing algorithms
Line drawing algorithmsSusheel Thakur
 

More from Susheel Thakur (9)

A Study on Energy Efficient Server Consolidation Heuristics for Virtualized C...
A Study on Energy Efficient Server Consolidation Heuristics for Virtualized C...A Study on Energy Efficient Server Consolidation Heuristics for Virtualized C...
A Study on Energy Efficient Server Consolidation Heuristics for Virtualized C...
 
Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...
Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...
Server Consolidation Algorithms for Virtualized Cloud Environment: A Performa...
 
Performance Evaluation of Server Consolidation Algorithms in Virtualized Clo...
Performance Evaluation of Server Consolidation Algorithms  in Virtualized Clo...Performance Evaluation of Server Consolidation Algorithms  in Virtualized Clo...
Performance Evaluation of Server Consolidation Algorithms in Virtualized Clo...
 
Performance Analysis of Server Consolidation Algorithms in Virtualized Cloud...
Performance Analysis of Server Consolidation Algorithms in  Virtualized Cloud...Performance Analysis of Server Consolidation Algorithms in  Virtualized Cloud...
Performance Analysis of Server Consolidation Algorithms in Virtualized Cloud...
 
Xen and the Art of Virtualization
Xen and the Art of VirtualizationXen and the Art of Virtualization
Xen and the Art of Virtualization
 
Srs for virtual eucation
Srs for virtual eucationSrs for virtual eucation
Srs for virtual eucation
 
Trees
TreesTrees
Trees
 
SERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEW
SERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEWSERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEW
SERVER COSOLIDATION ALGORITHMS FOR CLOUD COMPUTING: A REVIEW
 
Line drawing algorithms
Line drawing algorithmsLine drawing algorithms
Line drawing algorithms
 

Recently uploaded

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 

Xen & virtualization

  • 2. Xen and the Art of Virtualization What is Xen? Xen is a is a virtual machine monitor (VMM) that allows multiple guest operating systems to run on the same computer hardware Allows for the increase of server utilization and consolidation. More processes can be run on less hardware CS 5204 – Fall, 2009 2
  • 3. Xen and the Art of Virtualization Design Principles Support for unmodified application binaries Allows user-level applications to be run without being modified Support for multiple full multi-application OS Each guest can contain a complex sever configuration Use paravirtualization Needed to obtain performance and resource isolation on architectures that do not facilitate virtualization (ie x86) Hide effects of virtualization from guests Each guest OS does not know about other guests CS 5204 – Fall, 2009 3
  • 4. Xen and the Art of Virtualization Paravirtualization Interface presented to a guest OS is not identical to underlying hardware Allows VMM to correctly handle instructions in architectures that do not support full virtualization (such as x86) In some cases it is beneficial for the host to see real and virtual resources Providing real and virtual time can allow a guest OS to handle time sensitive tasks more efficiently Drawback: guest OS must be modified CS 5204 – Fall, 2009 4
  • 5. Xen and the Art of Virtualization Structure of a Xen system The Xen hypervisor provides an abstraction layer that sits between system hardware and one or more guest operating systems Each guest OS is executed within its own virtual machine, called a domain Domain0: has special management privileges and is used to create the other domains DomainU: contains one guest OS CS 5204 – Fall, 2009 5
  • 6. Xen and the Art of Virtualization Xen Hierarchy Levels of a Xen system CS 5204 – Fall, 2009 6
  • 7. Xen and the Art of Virtualization The Virtual Machine Interface: Memory New page tables are allocated from a guest OS memory reservation and registers it with Xen All subsequent writes to the page table are validated by Xen This ensures that a guest OS only writes to tables it owns, and is isolated from other guests CS 5204 – Fall, 2009 7
  • 8. Xen and the Art of Virtualization The Virtual Machine Interface: CPU An operating system is typically the most privileged entity of a system With Xen, the hypervisor sits between a guest OS and the CPU The hypervisor is the most privileged entity in a Xen system Xen uses protection rings to allow the hypervisor to be more privileged than a guest OS CS 5204 – Fall, 2009 8
  • 9. Xen and the Art of Virtualization The Virtual Machine Interface: CPU • x86 privilege rings • Typical: – – – • Xen: – – CS 5204 – Fall, 2009 OS runs in ring 0 Applications run in ring 3 Rings 1 and 2 unused Hypervisor runs in ring 0 Guest OS runs in ring 1 9
  • 10. Xen and the Art of Virtualization The Virtual Machine Interface: I/0 Xen provides simple device abstractions This helps realize goal of protection and isolation Data sent to and from each domain through the hypervisor I/O descriptor rings are used for asynchronous data transfer CS 5204 – Fall, 2009 10
  • 11. Xen and the Art of Virtualization I/O Descriptor Rings CS 5204 – Fall, 2009 11
  • 12. Xen and the Art of Virtualization Performance In summary, Xen performs well Multipile domains can be hosted without any noticeable loss of performance by end user Xen and the Art of Virtualization identifies a scalability goal of 100 domains on modern (c. 2003) server-class hardware Tests demonstrate that 128 domains can be run with only 7.5% loss of throughput relative to standalone Linux CS 5204 – Fall, 2009 12
  • 13. Xen and the Art of Virtualization Performance CS 5204 – Fall, 2009 13
  • 14. Xen and the Art of Virtualization Performance Running multiple web servers: CS 5204 – Fall, 2009 14
  • 15. Xen and the Art of Virtualization Demonstration Xen is an open source product that is easy to install and configure on Linux Requires a modified Linux kernel Xen provides a live CD which can be used to try the hypervisor without installing any software CS 5204 – Fall, 2009 15
  • 16. Xen and the Art of Virtualization Questions? CS 5204 – Fall, 2009 16