SlideShare une entreprise Scribd logo
1  sur  63
Russell Pavlicek
Xen Project Evangelist
Russell.Pavlicek@XenProject.org
Xen Project 10th Anniversary Status
@RCPavlicek
Skype: russpavlicek
• Linux user since 1995; Linux desktop since 1997
• Linux advocate before I ever saw the software
• Early advocate in DEC, Compaq
• Former columnist for Infoworld, Processor
• Former panelist on The Linux Show
• Wrote book, Embracing Insanity: Open Source Software Development
• Speaker at 40+ conferences
• Currently Xen Project Evangelist employed by Citrix
About the Speaker...
• Teams aka sub-projects
– Hypervisor
– XAPI
– ARM Hypervisor (for Servers as well as Mobile Devices)
– Mirage OS
• Governance : mixture between Linux Kernel and Apache
– Consensus decision making
– Sub-project life-cycle (aka incubator)
– PMC style structure for team leadership
News: Xen.org becomes XenProject.org
Why Should I Care about Xen?
Xen is ready for business
• Enterprise-worthy scalability
• Solid track record (Amazon bets their AWS
business on us)
• Linux Foundation Project Partners:
–AMD, Amazon, Cisco, Citrix, Intel, Oracle,
Samsung, Verizon, and more
Xen contributor community is diversifying
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
2010 2011 2012
Citrix UPC
SUSE Amazon
University AMD
GridCentric Individual
NSA Intel
Fujitsu iWeb
Misc Oracle
Spectralogic University of British Columbia
• The number of “significant”
active vendors is increasing
• New feature development driving
new participation
Xen has the technology
• Top notch Hypervisor
• Live Migration of VMs: XenMotion (in XCP)
• Cloud-readiness: Xen Cloud Platform & XAPI
• High Availability: Remus
• Wide variety of Control Domains supported
• Even wider variety of Guest Domains
• Multiple virtualization modes improve performance
Hypervisor Architecture
Hypervisor Architectures
Type 1: Bare metal Hypervisor
A pure Hypervisor that runs directly on the
hardware and hosts Guest OS’s.
Provides partition isolation + reliability,
higher security
Host HW
Memory CPUsI/O
HypervisorScheduler
MMUDevice Drivers/Models
VMn
VM1
VM0
Guest OS
and Apps
Hypervisor Architectures
Type 1: Bare metal Hypervisor
A pure Hypervisor that runs directly on the
hardware and hosts Guest OS’s.
Type 2: OS ‘Hosted’
A Hypervisor that runs within a Host OS and hosts
Guest OS’s inside of it, using the host OS services
to provide the virtual environment.
Provides partition isolation + reliability,
higher security
Low cost, no additional drivers
Ease of use & installation
Host HW
Memory CPUsI/O
Host HW
Memory CPUsI/O
HypervisorScheduler
MMUDevice Drivers/Models
VMn
VM1
VM0
Guest OS
and Apps
Host OS
Device Drivers
Ring-0 VM Monitor
“Kernel “
VMn
VM1
VM0
Guest OS
and Apps
User
Apps
User-level VMM
Device Models
Xen: Type 1 with a Twist
Type 1: Bare metal Hypervisor
Host HW
Memory CPUsI/O
HypervisorScheduler
MMUDevice Drivers/Models
VMn
VM1
VM0
Guest OS
and Apps
Xen: Type 1 with a Twist
Type 1: Bare metal Hypervisor
Host HW
Memory CPUsI/O
HypervisorScheduler
MMUDevice Drivers/Models
VMn
VM1
VM0
Guest OS
and Apps
Host HW
Memory CPUsI/O
Hypervisor
VMn
VM1
VM0
Guest OS
and Apps
Xen Architecture
Scheduler MMU
Xen: Type 1 with a Twist
Type 1: Bare metal Hypervisor
Host HW
Memory CPUsI/O
HypervisorScheduler
MMUDevice Drivers/Models
VMn
VM1
VM0
Guest OS
and Apps
Host HW
Memory CPUsI/O
Hypervisor
VMn
VM1
VM0
Guest OS
and Apps
Xen Architecture
Scheduler MMU
Control domain
(dom0)
Drivers
Device Models
Linux & BSD
Xen Project and Linux
• Xen Hypervisor is not in the Linux kernel
• BUT: everything Xen and Xen Guests need to run is!
• Xen packages are in all Linux distros (except RHEL6)
– Install Control Domain (Dom0) Linux distribution
– Install Xen package(s) or meta package
– Reboot
– Configure stuff: set up disks, peripherals, etc.
More info: wiki.xenproject.org/wiki/Category:Host_Install
Basic Xen Concepts
15
Control domain
(dom0)
Host HW
VMn
VM1
VM0
Guest OS
and Apps
Memory CPUsI/O
Console
• Interface to the outside world
Control Domain aka Dom0
• Dom0 kernel with drivers
• Xen Management Toolstack
Guest Domains
• Your apps
Driver/Stub/Service Domain(s)
• A “driver, device model or control
service in a box”
• De-privileged and isolated
• Lifetime: start, stop, kill
Dom0 Kernel
HypervisorScheduler MMU XSM
Trusted Computing Base
Basic Xen Concepts
16
Control domain
(dom0)
Host HW
VMn
VM1
VM0
Guest OS
and Apps
Console
Memory CPUsI/O
Dom0 Kernel
Toolstack
HypervisorScheduler MMU XSM
Console
• Interface to the outside world
Control Domain aka Dom0
• Dom0 kernel with drivers
• Xen Management Toolstack
Guest Domains
• Your apps
Driver/Stub/Service Domain(s)
• A “driver, device model or control
service in a box”
• De-privileged and isolated
• Lifetime: start, stop, kill
Trusted Computing Base
Basic Xen Concepts
17
Control domain
(dom0)
Host HW
VMn
VM1
VM0
Guest OS
and Apps
Console
Memory CPUsI/O
One or more
driver, stub or
service domains
Dom0 Kernel
Toolstack
HypervisorScheduler MMU XSM
Console
• Interface to the outside world
Control Domain aka Dom0
• Dom0 kernel with drivers
• Xen Management Toolstack
Guest Domains
• Your apps
Driver/Stub/Service Domain(s)
• A “driver, device model or control
service in a box”
• De-privileged and isolated
• Lifetime: start, stop, kill
Trusted Computing Base
18
Xen Variants for Server & Cloud
Xen HypervisorHypervisor
Single Host
Basic Functions
Multiple Hosts
Additional Functionality
19
Xen Variants for Server & Cloud
Increased level of functionality and integration with other components
Default / XL (XM)Toolstack / Console Libvirt / VIRSH XAPI / XE
Hypervisor
Single Host
Additional Functionality
Xen Hypervisor
Single Host
Basic Functions
Multiple Hosts
Additional Functionality
Xen Variants for Server & Cloud
Increased level of functionality and integration with other components
Default / XL (XM)Toolstack / Console Libvirt / VIRSH XAPI / XE
Hypervisor
Single Host
Additional Functionality
Xen Hypervisor
21
Xen Variants for Server & Cloud
Increased level of functionality and integration with other components
Default / XL (XM)Toolstack / Console Libvirt / VIRSH
Products Oracle VM Huawei UVP Citrix XenServer
Project
XAPI / XE
Xen Hypervisor
22
Xen Variants for Server & Cloud
Increased level of functionality and integration with other components
Default / XL (XM)Toolstack / Console Libvirt / VIRSH
Used by …
Project
XAPI / XE
Products Oracle VM Huawei UVP Citrix XenServer
Xen Hypervisor
Xen : Types of Virtualization
Xen Virtualization Vocabulary
• PV – Paravirtualization
– Hypervisor provides API used by the OS of the Guest VM
– Guest OS needs to be modified to provide the API
• HVM – Hardware-assisted Virtual Machine
– Uses CPU VM extensions to handle Guest requests
– No modification to Guest OS
– But CPU must provide VM extensions
• FV – Full Virtualization (another name for HVM)
Xen Virtualization Vocabulary
• PVHVM – PV on HVM drivers
– Allows H/W virtualized guests to use PV disk and I/O drivers
– No modifications to guest OS
– Better performance than straight HVM
• PVH – PV in HVM Container (coming in 4.4)
– Almost fully PV
– Uses HW extensions to eliminate PV MMU
– Possibly best mode for CPUs with virtual H/W extensions
26
Xen Hypervisor
Control domain
(dom0)
Host HW
Guest VMn
Apps
Memory CPUsI/O
Technology:
• Paravirtualization
Linux PV guests have limitations:
• Limited to a subset of set of virtual H/W
Advantages
• Fast
• Works on any system
(even without CPU virtual extensions)
HW Drivers
PV Back Ends PV Front Ends
Guest OSDom0 Kernel
Paravirtualization (PV) Domains
27
Xen Hypervisor
Control domain
(dom0)
Host HW
Guest VMn
Apps
Memory CPUsI/O
Technology:
• Paravirtualization
Linux PV guests have limitations:
• Limited to a subset of virtual H/W
Advantages
• Fast
• Works on any system
(even without CPU virtual extensions)
Driver Domains (Disaggregation)
• Security
• Isolation
• Reliability and Robustness
HW Drivers
PV Back Ends PV Front Ends
Driver Domain
e.g.
• Disk
• Network
HW Driver
PV Back End
Dom0 Kernel*
*) Can be MiniOS
Guest OSDom0 Kernel
PV Domains & Driver Domains
28
Xen Hypervisor
Dom0
Host HW
Guest VMn
Technology:
• Shows emulation using QEMU/Device
Model (SW Virtualization)
• In other situation H/W can be used
Disadvantages
• Emulation slower than PV
(mainly I/O devices)
Advantages
• No kernel support needed
Device Model
IO Emulation
IO Event
VMEXITDom0 Kernel
H/W Virtual Machine (HVM) & Stub Domains
Memory CPUsI/O
29
Xen Hypervisor
Dom0
Host HW
Guest VMn
Technology:
• Shows emulation using QEMU/Device
Model (SW Virtualization)
• In other situation H/W can be used
Disadvantages
• Emulation slower than PV
(mainly I/O devices)
Advantages
• No kernel support needed
Stub Domains
• Security
• Isolation
• Reliability and Robustness
Device Model
IO Emulation
IO Event
VMEXIT
Stubdomn
Device Model
Mini OS
Guest VMn
IO Emulation
IO Event
VMEXITDom0 Kernel
H/W Virtual Machine (HVM) & Stub Domains
Memory CPUsI/O
The Virtualization Spectrum
Fully Virtualized (FV) VS VS VS VH
FV with PV for disk & network P VS VS VH
PVHVM P P VS VH
PVH P P P VH
Fully Paravirtualized (PV) P P P P
VH Virtualized (HW)
P Paravirtualized
VS Virtualized (SW)
HVM mode/domain
PV mode/domain
Xen 4.4
The Virtualization Spectrum
Fully Virtualized (FV) VS VS VS VH
FV with PV for disk & network P VS VS VH
PVHVM P P VS VH
PVH P P P VH
Fully Paravirtualized (PV) P P P P
Scope for improvement
Poor performance
Optimal performance
HVM mode/domain
Xen 4.4
PV mode/domain
The Virtualization Spectrum
Fully Virtualized (FV) VS VS VS VH
FV with PV for disk & network P VS VS VH
PVHVM P P VS VH
PVH P P P VH
Fully Paravirtualized (PV) P P P P
Scope for improvement
Poor performance
Optimal performance
HVM mode/domain
Xen 4.4
PV mode/domain
Important: Xen automatically picks the best
option based on HW & OS capabilities and
available drivers.
As a Xen user I chose a HVM or PV domain.
XAPI, XCP and XCP-XAPI
Single Host
Basic Functions
Multiple Hosts
Additional Functionality
XAPI, XCP and XCP-XAPI : What is it?
Increased level of functionality and integration with other components
Default / XL (XM)Toolstack / Console Libvirt / VIRSH XAPI / XE
Hypervisor
Single Host
Additional Functionality
Xen Hypervisor
XAPI : What do I get?
Multiple Hosts
Additional Functionality
XAPI / XE
Xen Hypervisor
• VM lifecycle: live snapshots, checkpoint, migration
• Storage XenMotion: Migrate VMs between hosts or pools
without shared storage (while the VM is running)
• Resource pools: flexible storage and networking
• Event tracking: progress, notification
• Upgrade and patching capabilities
• Real-time performance monitoring and alerting
• Templates for Windows and Linux guests
• Open vSwitch support built-in (default)
More info: wiki.xenproject.org/wiki/XCP_Release_Features
XAPI : two variants…
Multiple Hosts
Additional Functionality
XAPI / XE
Xen Hypervisor
XCP ISO (at v1.6)
Xen 4.1.3 + XAPI
CentOS 5.3
Kernel (v2.6.32.43)
OVS 1.4.2
XCP-XAPI packages
Debian Wheezy
Ubuntu 12.04 LTS
Others in progress …
XAPI : Orchestration and UIs
Multiple Hosts
Additional Functionality
XAPI / XE
Xen Hypervisor
Challenges for FOSS hypervisors
“Security and QoS/Reliability are amongst
the top 3 blockers for cloud adoption”
www.colt.net/cio-research
System characteristics cloud users care about:
“Robustness, Performance, Scalability & Security”
Results XCP User Survey 2012 – 90% of users quoted these as most important attributes
Split Control Domain into Driver,
Stub and Service Domains
– See: ”Breaking up is hard to do” @ Xen Papers
– See: “Domain 0 Disaggregation for XCP and XenServer”
Used today by Qubes OS and Citrix XenClient XT
Prototypes for XAPI
Disaggregation
See qubes-os.org
Different windows run
in different VMs
More Security
Increased serviceability and flexibility
Better Robustness
Better Performance
Better Scalability
Benefits of Disaggregation
Ability to safely restart parts of the system
(e.g. just 275ms outage from failed Ethernet driver)
Next: XAPI Architecture Diagram
Before and After Disaggregation
CPUCPU
RAM RAMNIC
(or SR-
IOV VF)
NIC
(or SR-
IOV VF)
NIC
(or SR-
IOV VF)
NIC
(or SR-
IOV VF)
RAID
Xen
Dom0Network
drivers
NFS/
iSCSI
drivers
Qemu xapi Local
storage
drivers
NFS/
iSCSI
drivers
Network
drivers
Qemu
eth eth eth eth scsi
User VM User VM
NB gntdev NB
NF BF NF BF
qemu qemu
xapi
vswitch
networkd
tapdisk
blktap3
storaged
syslogd
vswitch
networkd
tapdisk
blktap3
storaged
tapdisk
blktap3
storaged
gntdev gntdev
Dom0
xenopsd
libxl
healthd
Domain
manager
Dom0
.
.
.
.
Xen
xapi
CPUCPU
RAM RAMNIC
(or SR-
IOV VF)
NIC
(or SR-
IOV VF)
NIC
(or SR-
IOV VF)
NIC
(or SR-
IOV VF)
RAID
Dom0 Network
driver
domain
NFS/
iSCSI
driver
domain
Qemu
domain
xapi
domain
Logging
domain
Local
storage
driver
domain
NFS/
iSCSI
driver
domain
Network
driver
domain
User VM User VM
NB gntdev NB
NF BF NF BF
dbus over v4v
qemu
xapi
xenopsd
libxl
healthd
Domain
manager
vswitch
networkd
tapdisk
blktap3
storaged
syslogd vswitch
networkd
tapdisk
blktap3
storaged
tapdisk
blktap3
storaged
gntdev gntdev
eth eth eth eth scsi
Xen Xen
D
o
m
0
dbus over v4v
.
.
.
46
Xen Security Advantages
• Even without Advanced Security Features
– Well-defined trusted computing base (much smaller than on type-2 HV)
– Minimal services in hypervisor layer
• Xen Security Modules (or XSM) and FLASK
– XSM is Xen equivalent of LSM
– FLASK is Xen equivalent of SELinux
– Developed, maintained and contributed to Xen by NSA
– Compatible with SELinux (tools, architecture)
– XSM object classes maps onto Xen features
More info: http://www.slideshare.net/xen_com_mgr/
a-brief-tutorial-on-xens-advanced-security-features
CPUCPU
RAM RAMNIC
(or SR-
IOV VF)
NIC
(or SR-
IOV VF)
NIC
(or SR-
IOV VF)
NIC
(or SR-
IOV VF)
RAID
Xen
Dom0 Network
driver
domain
NFS/
iSCSI
driver
domain
Qemu
domain
xapi
domain
Logging
domain
Local
storage
driver
domain
NFS/
iSCSI
driver
domain
Network
driver
domain
eth eth eth eth scsi
User VM User VM
NB gntdev NB
NF BF NF BF
qemu
xapi
xenopsd
libxl
healthd
Domain
manager
vswitch
networkd
tapdisk
blktap3
storaged
syslogd vswitch
networkd
tapdisk
blktap3
storaged
tapdisk
blktap3
storaged
gntdev gntdev
FLASK policy
restricting access
D
o
m
0
.
.
.
dbus over v4v dbus over v4v
Xen
ARM Hypervisor
Fully functional for ARM v7 & v8
ARM v7: Versatile Express, Arndale &
Samsung Chromebook
ARM v8: Fast Model
Xen 4.3 for ARM Servers
ARM SOC
Xen + ARM = a perfect Match
ARM Architecture Features for Virtualization
Hypervisor mode : EL2
Kernel mode : EL1
User mode : EL0
GIC
v2
GT
2 stage
MMU
I/O
Device Tree describes …
Hypercall Interface HVC
ARM SOC ARM Architecture Features for Virtualization
EL2
EL1
EL0
GIC
v2
GT
2 stage
MMU
I/O
Device Tree describes …
HVC
Xen + ARM = a perfect Match
Xen Hypervisor
ARM SOC ARM Architecture Features for Virtualization
EL2
EL1
EL0
GIC
v2
GT
2 stage
MMU
I/O
Device Tree describes …
HVC
Xen + ARM = a perfect Match
Xen Hypervisor
Any Xen Guest VM (including Dom0)
Kernel
User Space
HVC
ARM SOC ARM Architecture Features for Virtualization
EL2
EL1
EL0
GIC
v2
GT
2 stage
MMU
I/O
Device Tree describes …
HVC
Xen + ARM = a perfect Match
Xen Hypervisor
Dom0
only
Any Xen Guest VM (including Dom0)
Kernel
User Space
I/O
PV
back
PV
frontI/O
HVC
One mode to rule them all
x86: PVHVM P P VS VH
x86: PVH P P P VH
ARM v7 & v8 P VH VH VH
Scope for improvement
Optimal performance
HVM mode/domain
PV mode/domain
Code Size of x86 and ARM Hypervisors
X86 Hypervisor 100K -120K LOC Any x86 CPU
ARM Hypervisor for
mobile Devices
60K LOC ARM v5 – v7
(no virtual extensions)
(extra code for RT)
ARM Hypervisor for
Servers
17K LOC ARM v7+
(w/ virtual extensions)
Mirage OS
Application stacks only running on Xen APIs
Works on any Xen based cloud or hosting service
Examples
– ErlangOnXen.org : Erlang
– HalVM : Haskell
– Mirage OS : Ocaml
Benefits:
– Small footprint
– Low startup latency
– Extremely fast migration of VMs
Library Operating Systems
Xen
Control domain
(dom0)
Host HW
Guest VMn
Apps
HW Drivers
PV Back Ends
Library OS
embedded
in Language
run-time
Dom0 Kernel
• Recently added to Xen Project incubator
• In beta stage: first release on its way
• Clean-slate protocols implementations, e.g.
– TCP/IP, DNS, SSH, Openflow (switch/controller), HTTP, XMPP, ...
– New applications using next generation XAPI
(disaggregated XAPI architecture)
Mirage OS
More info: http://www.slideshare.net/xen_com_mgr/
mirage-extreme-specialisation-of-virtual-appliances
What’s Next?
• Release Candidate 4 Test Day on 6/12
• Xen ARM for Servers
• Extend scope of Xen Security Modules
• qxl Spice support for 3d acceleration
• Updated and improved libvirt drivers for Xen
• Lots of other stuff:
– scalability, performance, better NUMA support, …
Coming in Xen 4.3 (June 2013)
More info: http://wiki.xenproject.org/wiki/Xen_Roadmap/4.3
• Establish a shared test infrastructure
– Most major contributors are duplicating effort
– Mirage OS provides interesting opportunities
• Usability and better distribution integration
– Example: Xen + XAPI in CentOS 6.4
• More focus on downstreams
– Examples: OpenStack and Xen Orchestra
• Disaggregation in Xen toolstacks (e.g XAPI)
• Better Libvirt and virt-manager integration
– Embed Xen more into the Linux ecosystem and provide benefits for the
wider Linux community
What’s next (and already happening)
• Document Days (monthly)
• Test Days (prior to release)
• Mailing Lists and IRC
• XenProject.org (sign up, it’s free!)
Getting Started with Xen Project
Xen Hackathon & Developer Summit (annually;
vote for next year’s location in the Q&A section
of XenProject.org until June 14, 2013)
Thank You!
Slides available under CC-BY-SA 3.0
From www.slideshare.net/xen_com_mgr
@RCPavlicek
Skype: russpavlicek
• News: blog.XenProject.org
• Web: XenProject.org
– Help for IRC, Lists, …
– Stackoverflow like Q&A
• Wiki: wiki.XenProject.org
• Presentations: slideshare.net/xen_com_mgr
• Videos: vimeo.com/channels/xen

Contenu connexe

Tendances

Securing your Cloud with Xen - SUSECon 2013
Securing your Cloud with Xen - SUSECon 2013Securing your Cloud with Xen - SUSECon 2013
Securing your Cloud with Xen - SUSECon 2013
The Linux Foundation
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622
Todd Deshane
 

Tendances (20)

XPDDS18: LCC18: Xen Project: After 15 years, What's Next? - George Dunlap, C...
XPDDS18: LCC18:  Xen Project: After 15 years, What's Next? - George Dunlap, C...XPDDS18: LCC18:  Xen Project: After 15 years, What's Next? - George Dunlap, C...
XPDDS18: LCC18: Xen Project: After 15 years, What's Next? - George Dunlap, C...
 
LCEU13: Securing your cloud with Xen's advanced security features - George Du...
LCEU13: Securing your cloud with Xen's advanced security features - George Du...LCEU13: Securing your cloud with Xen's advanced security features - George Du...
LCEU13: Securing your cloud with Xen's advanced security features - George Du...
 
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCPLinuxcon EU : Virtualization in the Cloud featuring Xen and XCP
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP
 
Why xen slides
Why xen slidesWhy xen slides
Why xen slides
 
LFCOLLAB15: Xen 4.5 and Beyond
LFCOLLAB15: Xen 4.5 and BeyondLFCOLLAB15: Xen 4.5 and Beyond
LFCOLLAB15: Xen 4.5 and Beyond
 
LCEU14: Integrating Linux and the Real-Time ERIKA OS Through the Xen Hypervis...
LCEU14: Integrating Linux and the Real-Time ERIKA OS Through the Xen Hypervis...LCEU14: Integrating Linux and the Real-Time ERIKA OS Through the Xen Hypervis...
LCEU14: Integrating Linux and the Real-Time ERIKA OS Through the Xen Hypervis...
 
Securing your Cloud with Xen - SUSECon 2013
Securing your Cloud with Xen - SUSECon 2013Securing your Cloud with Xen - SUSECon 2013
Securing your Cloud with Xen - SUSECon 2013
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622
 
XPDS14 - Zero-Footprint Guest Memory Introspection from Xen - Mihai Dontu, Bi...
XPDS14 - Zero-Footprint Guest Memory Introspection from Xen - Mihai Dontu, Bi...XPDS14 - Zero-Footprint Guest Memory Introspection from Xen - Mihai Dontu, Bi...
XPDS14 - Zero-Footprint Guest Memory Introspection from Xen - Mihai Dontu, Bi...
 
Ian Pratt Nsdi Keynote Apr2008
Ian Pratt Nsdi Keynote Apr2008Ian Pratt Nsdi Keynote Apr2008
Ian Pratt Nsdi Keynote Apr2008
 
LF Collaboration Summit: Xen Project 4 4 Features and Futures
LF Collaboration Summit: Xen Project 4 4 Features and FuturesLF Collaboration Summit: Xen Project 4 4 Features and Futures
LF Collaboration Summit: Xen Project 4 4 Features and Futures
 
Xen io
Xen ioXen io
Xen io
 
Rootlinux17: An introduction to Xen Project Virtualisation
Rootlinux17:  An introduction to Xen Project VirtualisationRootlinux17:  An introduction to Xen Project Virtualisation
Rootlinux17: An introduction to Xen Project Virtualisation
 
BSDcon Asia 2015: Xen on FreeBSD
BSDcon Asia 2015: Xen on FreeBSDBSDcon Asia 2015: Xen on FreeBSD
BSDcon Asia 2015: Xen on FreeBSD
 
OWF: Xen - Open Source Hypervisor Designed for Clouds
OWF: Xen - Open Source Hypervisor Designed for CloudsOWF: Xen - Open Source Hypervisor Designed for Clouds
OWF: Xen - Open Source Hypervisor Designed for Clouds
 
Leveraging CentOS and Xen for the Go Daddy Private Cloud
Leveraging CentOS and Xen for the Go Daddy Private CloudLeveraging CentOS and Xen for the Go Daddy Private Cloud
Leveraging CentOS and Xen for the Go Daddy Private Cloud
 
Using and Understanding Xen4Centos
Using and Understanding Xen4CentosUsing and Understanding Xen4Centos
Using and Understanding Xen4Centos
 
XPDDS18: Windows PV Drivers Project: Status and Updates - Paul Durrant, Citri...
XPDDS18: Windows PV Drivers Project: Status and Updates - Paul Durrant, Citri...XPDDS18: Windows PV Drivers Project: Status and Updates - Paul Durrant, Citri...
XPDDS18: Windows PV Drivers Project: Status and Updates - Paul Durrant, Citri...
 
XPDS13: HVM Dom0 - Any unmodified OS as Dom0 - Will Auld, Intel
XPDS13: HVM Dom0 - Any unmodified OS as Dom0 - Will Auld, IntelXPDS13: HVM Dom0 - Any unmodified OS as Dom0 - Will Auld, Intel
XPDS13: HVM Dom0 - Any unmodified OS as Dom0 - Will Auld, Intel
 
Aplura virtualization slides
Aplura virtualization slidesAplura virtualization slides
Aplura virtualization slides
 

En vedette

Integrat ed
Integrat edIntegrat ed
Integrat ed
stovere
 
I am integrat ed
I am integrat edI am integrat ed
I am integrat ed
stovere
 
Professional Resume - PIF - December 2012
Professional Resume - PIF - December 2012Professional Resume - PIF - December 2012
Professional Resume - PIF - December 2012
Pedro Fernandes, MSPH
 
Промежуточные результаты программы
Промежуточные результаты программыПромежуточные результаты программы
Промежуточные результаты программы
30102003
 
OSAC16: Unikernel-powered Transient Microservices: Changing the Face of Softw...
OSAC16: Unikernel-powered Transient Microservices: Changing the Face of Softw...OSAC16: Unikernel-powered Transient Microservices: Changing the Face of Softw...
OSAC16: Unikernel-powered Transient Microservices: Changing the Face of Softw...
Russell Pavlicek
 
Influence HR Handout's
Influence HR Handout'sInfluence HR Handout's
Influence HR Handout's
AlishiaSmith86
 

En vedette (15)

Integrat ed
Integrat edIntegrat ed
Integrat ed
 
PBF
PBFPBF
PBF
 
CPOSC 2013: 15 Years of Open Source - It's About the People
CPOSC 2013: 15 Years of Open Source - It's About the PeopleCPOSC 2013: 15 Years of Open Source - It's About the People
CPOSC 2013: 15 Years of Open Source - It's About the People
 
Lessons Learned from Xen [LFNW 2013]
Lessons Learned from Xen [LFNW 2013]Lessons Learned from Xen [LFNW 2013]
Lessons Learned from Xen [LFNW 2013]
 
openSUSE Summit-15 Years of Open Source: It's About the People
openSUSE Summit-15 Years of Open Source: It's About the PeopleopenSUSE Summit-15 Years of Open Source: It's About the People
openSUSE Summit-15 Years of Open Source: It's About the People
 
Course outline pgwpm
Course outline   pgwpmCourse outline   pgwpm
Course outline pgwpm
 
Doc1
Doc1Doc1
Doc1
 
Geek Empowerment - The Real Heart of Open Source
Geek Empowerment - The Real Heart of Open SourceGeek Empowerment - The Real Heart of Open Source
Geek Empowerment - The Real Heart of Open Source
 
I am integrat ed
I am integrat edI am integrat ed
I am integrat ed
 
Professional Resume - PIF - December 2012
Professional Resume - PIF - December 2012Professional Resume - PIF - December 2012
Professional Resume - PIF - December 2012
 
Промежуточные результаты программы
Промежуточные результаты программыПромежуточные результаты программы
Промежуточные результаты программы
 
OSAC16: Unikernel-powered Transient Microservices: Changing the Face of Softw...
OSAC16: Unikernel-powered Transient Microservices: Changing the Face of Softw...OSAC16: Unikernel-powered Transient Microservices: Changing the Face of Softw...
OSAC16: Unikernel-powered Transient Microservices: Changing the Face of Softw...
 
Lessons Learned from Xen (Texas Linux Fest 2013)
Lessons Learned from Xen (Texas Linux Fest 2013)Lessons Learned from Xen (Texas Linux Fest 2013)
Lessons Learned from Xen (Texas Linux Fest 2013)
 
Travelpreneurs of The World!
Travelpreneurs of The World!Travelpreneurs of The World!
Travelpreneurs of The World!
 
Influence HR Handout's
Influence HR Handout'sInfluence HR Handout's
Influence HR Handout's
 

Similaire à Xen 10th anniversary Status Report (at SELF 2013)

Xen Project Update LinuxCon Brazil
Xen Project Update LinuxCon BrazilXen Project Update LinuxCon Brazil
Xen Project Update LinuxCon Brazil
The Linux Foundation
 
2virtualizationtechnologyoverview 13540659831745-phpapp02-121127193019-phpapp01
2virtualizationtechnologyoverview 13540659831745-phpapp02-121127193019-phpapp012virtualizationtechnologyoverview 13540659831745-phpapp02-121127193019-phpapp01
2virtualizationtechnologyoverview 13540659831745-phpapp02-121127193019-phpapp01
Vietnam Open Infrastructure User Group
 
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
The Linux Foundation
 
LinuxCon NA 2012: Virtualization in the cloud featuring xen
LinuxCon NA 2012: Virtualization in the cloud featuring xenLinuxCon NA 2012: Virtualization in the cloud featuring xen
LinuxCon NA 2012: Virtualization in the cloud featuring xen
The Linux Foundation
 

Similaire à Xen 10th anniversary Status Report (at SELF 2013) (20)

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
 
Kernel Recipes 2014 - Xen as a foundation for cloud infrastructure
Kernel Recipes 2014 - Xen as a foundation for cloud infrastructureKernel Recipes 2014 - Xen as a foundation for cloud infrastructure
Kernel Recipes 2014 - Xen as a foundation for cloud infrastructure
 
Xen Project Update LinuxCon Brazil
Xen Project Update LinuxCon BrazilXen Project Update LinuxCon Brazil
Xen Project Update LinuxCon Brazil
 
Xen: Hypervisor for the Cloud - CCC13
Xen: Hypervisor for the Cloud - CCC13Xen: Hypervisor for the Cloud - CCC13
Xen: Hypervisor for the Cloud - CCC13
 
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14
 
IITCC15: The Bare-Metal Hypervisor as a Platform for Innovation
IITCC15: The Bare-Metal Hypervisor as a Platform for InnovationIITCC15: The Bare-Metal Hypervisor as a Platform for Innovation
IITCC15: The Bare-Metal Hypervisor as a Platform for Innovation
 
Making IT Easier to Manage Your Virtualized Environment - David Babbitt, Spic...
Making IT Easier to Manage Your Virtualized Environment - David Babbitt, Spic...Making IT Easier to Manage Your Virtualized Environment - David Babbitt, Spic...
Making IT Easier to Manage Your Virtualized Environment - David Babbitt, Spic...
 
2virtualizationtechnologyoverview 13540659831745-phpapp02-121127193019-phpapp01
2virtualizationtechnologyoverview 13540659831745-phpapp02-121127193019-phpapp012virtualizationtechnologyoverview 13540659831745-phpapp02-121127193019-phpapp01
2virtualizationtechnologyoverview 13540659831745-phpapp02-121127193019-phpapp01
 
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
 
Server virtualization
Server virtualizationServer virtualization
Server virtualization
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to Virtualization
 
RHEL5 XEN HandOnTraining_v0.4.pdf
RHEL5 XEN HandOnTraining_v0.4.pdfRHEL5 XEN HandOnTraining_v0.4.pdf
RHEL5 XEN HandOnTraining_v0.4.pdf
 
Virtualization in the cloud
Virtualization in the cloudVirtualization in the cloud
Virtualization in the cloud
 
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
 
Presentation cloud computing workshop - virtualization
Presentation   cloud computing workshop - virtualizationPresentation   cloud computing workshop - virtualization
Presentation cloud computing workshop - virtualization
 
Usenix Invited Talk
Usenix Invited TalkUsenix Invited Talk
Usenix Invited Talk
 
Mobile Virtualization using the Xen Technologies
Mobile Virtualization using the Xen TechnologiesMobile Virtualization using the Xen Technologies
Mobile Virtualization using the Xen Technologies
 
LinuxCon NA 2012: Virtualization in the cloud featuring xen
LinuxCon NA 2012: Virtualization in the cloud featuring xenLinuxCon NA 2012: Virtualization in the cloud featuring xen
LinuxCon NA 2012: Virtualization in the cloud featuring xen
 
OSSNA18: Xen Beginners Training
OSSNA18: Xen Beginners Training OSSNA18: Xen Beginners Training
OSSNA18: Xen Beginners Training
 
Scale 12x Securing Your Cloud with The Xen Hypervisor
Scale 12x Securing Your Cloud with The Xen HypervisorScale 12x Securing Your Cloud with The Xen Hypervisor
Scale 12x Securing Your Cloud with The Xen Hypervisor
 

Dernier

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Xen 10th anniversary Status Report (at SELF 2013)

  • 1. Russell Pavlicek Xen Project Evangelist Russell.Pavlicek@XenProject.org Xen Project 10th Anniversary Status @RCPavlicek Skype: russpavlicek
  • 2. • Linux user since 1995; Linux desktop since 1997 • Linux advocate before I ever saw the software • Early advocate in DEC, Compaq • Former columnist for Infoworld, Processor • Former panelist on The Linux Show • Wrote book, Embracing Insanity: Open Source Software Development • Speaker at 40+ conferences • Currently Xen Project Evangelist employed by Citrix About the Speaker...
  • 3. • Teams aka sub-projects – Hypervisor – XAPI – ARM Hypervisor (for Servers as well as Mobile Devices) – Mirage OS • Governance : mixture between Linux Kernel and Apache – Consensus decision making – Sub-project life-cycle (aka incubator) – PMC style structure for team leadership News: Xen.org becomes XenProject.org
  • 4. Why Should I Care about Xen?
  • 5. Xen is ready for business • Enterprise-worthy scalability • Solid track record (Amazon bets their AWS business on us) • Linux Foundation Project Partners: –AMD, Amazon, Cisco, Citrix, Intel, Oracle, Samsung, Verizon, and more
  • 6. Xen contributor community is diversifying 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 2010 2011 2012 Citrix UPC SUSE Amazon University AMD GridCentric Individual NSA Intel Fujitsu iWeb Misc Oracle Spectralogic University of British Columbia • The number of “significant” active vendors is increasing • New feature development driving new participation
  • 7. Xen has the technology • Top notch Hypervisor • Live Migration of VMs: XenMotion (in XCP) • Cloud-readiness: Xen Cloud Platform & XAPI • High Availability: Remus • Wide variety of Control Domains supported • Even wider variety of Guest Domains • Multiple virtualization modes improve performance
  • 9. Hypervisor Architectures Type 1: Bare metal Hypervisor A pure Hypervisor that runs directly on the hardware and hosts Guest OS’s. Provides partition isolation + reliability, higher security Host HW Memory CPUsI/O HypervisorScheduler MMUDevice Drivers/Models VMn VM1 VM0 Guest OS and Apps
  • 10. Hypervisor Architectures Type 1: Bare metal Hypervisor A pure Hypervisor that runs directly on the hardware and hosts Guest OS’s. Type 2: OS ‘Hosted’ A Hypervisor that runs within a Host OS and hosts Guest OS’s inside of it, using the host OS services to provide the virtual environment. Provides partition isolation + reliability, higher security Low cost, no additional drivers Ease of use & installation Host HW Memory CPUsI/O Host HW Memory CPUsI/O HypervisorScheduler MMUDevice Drivers/Models VMn VM1 VM0 Guest OS and Apps Host OS Device Drivers Ring-0 VM Monitor “Kernel “ VMn VM1 VM0 Guest OS and Apps User Apps User-level VMM Device Models
  • 11. Xen: Type 1 with a Twist Type 1: Bare metal Hypervisor Host HW Memory CPUsI/O HypervisorScheduler MMUDevice Drivers/Models VMn VM1 VM0 Guest OS and Apps
  • 12. Xen: Type 1 with a Twist Type 1: Bare metal Hypervisor Host HW Memory CPUsI/O HypervisorScheduler MMUDevice Drivers/Models VMn VM1 VM0 Guest OS and Apps Host HW Memory CPUsI/O Hypervisor VMn VM1 VM0 Guest OS and Apps Xen Architecture Scheduler MMU
  • 13. Xen: Type 1 with a Twist Type 1: Bare metal Hypervisor Host HW Memory CPUsI/O HypervisorScheduler MMUDevice Drivers/Models VMn VM1 VM0 Guest OS and Apps Host HW Memory CPUsI/O Hypervisor VMn VM1 VM0 Guest OS and Apps Xen Architecture Scheduler MMU Control domain (dom0) Drivers Device Models Linux & BSD
  • 14. Xen Project and Linux • Xen Hypervisor is not in the Linux kernel • BUT: everything Xen and Xen Guests need to run is! • Xen packages are in all Linux distros (except RHEL6) – Install Control Domain (Dom0) Linux distribution – Install Xen package(s) or meta package – Reboot – Configure stuff: set up disks, peripherals, etc. More info: wiki.xenproject.org/wiki/Category:Host_Install
  • 15. Basic Xen Concepts 15 Control domain (dom0) Host HW VMn VM1 VM0 Guest OS and Apps Memory CPUsI/O Console • Interface to the outside world Control Domain aka Dom0 • Dom0 kernel with drivers • Xen Management Toolstack Guest Domains • Your apps Driver/Stub/Service Domain(s) • A “driver, device model or control service in a box” • De-privileged and isolated • Lifetime: start, stop, kill Dom0 Kernel HypervisorScheduler MMU XSM Trusted Computing Base
  • 16. Basic Xen Concepts 16 Control domain (dom0) Host HW VMn VM1 VM0 Guest OS and Apps Console Memory CPUsI/O Dom0 Kernel Toolstack HypervisorScheduler MMU XSM Console • Interface to the outside world Control Domain aka Dom0 • Dom0 kernel with drivers • Xen Management Toolstack Guest Domains • Your apps Driver/Stub/Service Domain(s) • A “driver, device model or control service in a box” • De-privileged and isolated • Lifetime: start, stop, kill Trusted Computing Base
  • 17. Basic Xen Concepts 17 Control domain (dom0) Host HW VMn VM1 VM0 Guest OS and Apps Console Memory CPUsI/O One or more driver, stub or service domains Dom0 Kernel Toolstack HypervisorScheduler MMU XSM Console • Interface to the outside world Control Domain aka Dom0 • Dom0 kernel with drivers • Xen Management Toolstack Guest Domains • Your apps Driver/Stub/Service Domain(s) • A “driver, device model or control service in a box” • De-privileged and isolated • Lifetime: start, stop, kill Trusted Computing Base
  • 18. 18 Xen Variants for Server & Cloud Xen HypervisorHypervisor
  • 19. Single Host Basic Functions Multiple Hosts Additional Functionality 19 Xen Variants for Server & Cloud Increased level of functionality and integration with other components Default / XL (XM)Toolstack / Console Libvirt / VIRSH XAPI / XE Hypervisor Single Host Additional Functionality Xen Hypervisor
  • 20. Single Host Basic Functions Multiple Hosts Additional Functionality Xen Variants for Server & Cloud Increased level of functionality and integration with other components Default / XL (XM)Toolstack / Console Libvirt / VIRSH XAPI / XE Hypervisor Single Host Additional Functionality Xen Hypervisor
  • 21. 21 Xen Variants for Server & Cloud Increased level of functionality and integration with other components Default / XL (XM)Toolstack / Console Libvirt / VIRSH Products Oracle VM Huawei UVP Citrix XenServer Project XAPI / XE Xen Hypervisor
  • 22. 22 Xen Variants for Server & Cloud Increased level of functionality and integration with other components Default / XL (XM)Toolstack / Console Libvirt / VIRSH Used by … Project XAPI / XE Products Oracle VM Huawei UVP Citrix XenServer Xen Hypervisor
  • 23. Xen : Types of Virtualization
  • 24. Xen Virtualization Vocabulary • PV – Paravirtualization – Hypervisor provides API used by the OS of the Guest VM – Guest OS needs to be modified to provide the API • HVM – Hardware-assisted Virtual Machine – Uses CPU VM extensions to handle Guest requests – No modification to Guest OS – But CPU must provide VM extensions • FV – Full Virtualization (another name for HVM)
  • 25. Xen Virtualization Vocabulary • PVHVM – PV on HVM drivers – Allows H/W virtualized guests to use PV disk and I/O drivers – No modifications to guest OS – Better performance than straight HVM • PVH – PV in HVM Container (coming in 4.4) – Almost fully PV – Uses HW extensions to eliminate PV MMU – Possibly best mode for CPUs with virtual H/W extensions
  • 26. 26 Xen Hypervisor Control domain (dom0) Host HW Guest VMn Apps Memory CPUsI/O Technology: • Paravirtualization Linux PV guests have limitations: • Limited to a subset of set of virtual H/W Advantages • Fast • Works on any system (even without CPU virtual extensions) HW Drivers PV Back Ends PV Front Ends Guest OSDom0 Kernel Paravirtualization (PV) Domains
  • 27. 27 Xen Hypervisor Control domain (dom0) Host HW Guest VMn Apps Memory CPUsI/O Technology: • Paravirtualization Linux PV guests have limitations: • Limited to a subset of virtual H/W Advantages • Fast • Works on any system (even without CPU virtual extensions) Driver Domains (Disaggregation) • Security • Isolation • Reliability and Robustness HW Drivers PV Back Ends PV Front Ends Driver Domain e.g. • Disk • Network HW Driver PV Back End Dom0 Kernel* *) Can be MiniOS Guest OSDom0 Kernel PV Domains & Driver Domains
  • 28. 28 Xen Hypervisor Dom0 Host HW Guest VMn Technology: • Shows emulation using QEMU/Device Model (SW Virtualization) • In other situation H/W can be used Disadvantages • Emulation slower than PV (mainly I/O devices) Advantages • No kernel support needed Device Model IO Emulation IO Event VMEXITDom0 Kernel H/W Virtual Machine (HVM) & Stub Domains Memory CPUsI/O
  • 29. 29 Xen Hypervisor Dom0 Host HW Guest VMn Technology: • Shows emulation using QEMU/Device Model (SW Virtualization) • In other situation H/W can be used Disadvantages • Emulation slower than PV (mainly I/O devices) Advantages • No kernel support needed Stub Domains • Security • Isolation • Reliability and Robustness Device Model IO Emulation IO Event VMEXIT Stubdomn Device Model Mini OS Guest VMn IO Emulation IO Event VMEXITDom0 Kernel H/W Virtual Machine (HVM) & Stub Domains Memory CPUsI/O
  • 30. The Virtualization Spectrum Fully Virtualized (FV) VS VS VS VH FV with PV for disk & network P VS VS VH PVHVM P P VS VH PVH P P P VH Fully Paravirtualized (PV) P P P P VH Virtualized (HW) P Paravirtualized VS Virtualized (SW) HVM mode/domain PV mode/domain Xen 4.4
  • 31. The Virtualization Spectrum Fully Virtualized (FV) VS VS VS VH FV with PV for disk & network P VS VS VH PVHVM P P VS VH PVH P P P VH Fully Paravirtualized (PV) P P P P Scope for improvement Poor performance Optimal performance HVM mode/domain Xen 4.4 PV mode/domain
  • 32. The Virtualization Spectrum Fully Virtualized (FV) VS VS VS VH FV with PV for disk & network P VS VS VH PVHVM P P VS VH PVH P P P VH Fully Paravirtualized (PV) P P P P Scope for improvement Poor performance Optimal performance HVM mode/domain Xen 4.4 PV mode/domain Important: Xen automatically picks the best option based on HW & OS capabilities and available drivers. As a Xen user I chose a HVM or PV domain.
  • 33. XAPI, XCP and XCP-XAPI
  • 34. Single Host Basic Functions Multiple Hosts Additional Functionality XAPI, XCP and XCP-XAPI : What is it? Increased level of functionality and integration with other components Default / XL (XM)Toolstack / Console Libvirt / VIRSH XAPI / XE Hypervisor Single Host Additional Functionality Xen Hypervisor
  • 35. XAPI : What do I get? Multiple Hosts Additional Functionality XAPI / XE Xen Hypervisor • VM lifecycle: live snapshots, checkpoint, migration • Storage XenMotion: Migrate VMs between hosts or pools without shared storage (while the VM is running) • Resource pools: flexible storage and networking • Event tracking: progress, notification • Upgrade and patching capabilities • Real-time performance monitoring and alerting • Templates for Windows and Linux guests • Open vSwitch support built-in (default) More info: wiki.xenproject.org/wiki/XCP_Release_Features
  • 36. XAPI : two variants… Multiple Hosts Additional Functionality XAPI / XE Xen Hypervisor XCP ISO (at v1.6) Xen 4.1.3 + XAPI CentOS 5.3 Kernel (v2.6.32.43) OVS 1.4.2 XCP-XAPI packages Debian Wheezy Ubuntu 12.04 LTS Others in progress …
  • 37. XAPI : Orchestration and UIs Multiple Hosts Additional Functionality XAPI / XE Xen Hypervisor
  • 38. Challenges for FOSS hypervisors
  • 39. “Security and QoS/Reliability are amongst the top 3 blockers for cloud adoption” www.colt.net/cio-research
  • 40. System characteristics cloud users care about: “Robustness, Performance, Scalability & Security” Results XCP User Survey 2012 – 90% of users quoted these as most important attributes
  • 41. Split Control Domain into Driver, Stub and Service Domains – See: ”Breaking up is hard to do” @ Xen Papers – See: “Domain 0 Disaggregation for XCP and XenServer” Used today by Qubes OS and Citrix XenClient XT Prototypes for XAPI Disaggregation See qubes-os.org Different windows run in different VMs
  • 42. More Security Increased serviceability and flexibility Better Robustness Better Performance Better Scalability Benefits of Disaggregation Ability to safely restart parts of the system (e.g. just 275ms outage from failed Ethernet driver)
  • 43. Next: XAPI Architecture Diagram Before and After Disaggregation
  • 44. CPUCPU RAM RAMNIC (or SR- IOV VF) NIC (or SR- IOV VF) NIC (or SR- IOV VF) NIC (or SR- IOV VF) RAID Xen Dom0Network drivers NFS/ iSCSI drivers Qemu xapi Local storage drivers NFS/ iSCSI drivers Network drivers Qemu eth eth eth eth scsi User VM User VM NB gntdev NB NF BF NF BF qemu qemu xapi vswitch networkd tapdisk blktap3 storaged syslogd vswitch networkd tapdisk blktap3 storaged tapdisk blktap3 storaged gntdev gntdev Dom0 xenopsd libxl healthd Domain manager Dom0 . . . . Xen xapi
  • 45. CPUCPU RAM RAMNIC (or SR- IOV VF) NIC (or SR- IOV VF) NIC (or SR- IOV VF) NIC (or SR- IOV VF) RAID Dom0 Network driver domain NFS/ iSCSI driver domain Qemu domain xapi domain Logging domain Local storage driver domain NFS/ iSCSI driver domain Network driver domain User VM User VM NB gntdev NB NF BF NF BF dbus over v4v qemu xapi xenopsd libxl healthd Domain manager vswitch networkd tapdisk blktap3 storaged syslogd vswitch networkd tapdisk blktap3 storaged tapdisk blktap3 storaged gntdev gntdev eth eth eth eth scsi Xen Xen D o m 0 dbus over v4v . . .
  • 46. 46 Xen Security Advantages • Even without Advanced Security Features – Well-defined trusted computing base (much smaller than on type-2 HV) – Minimal services in hypervisor layer • Xen Security Modules (or XSM) and FLASK – XSM is Xen equivalent of LSM – FLASK is Xen equivalent of SELinux – Developed, maintained and contributed to Xen by NSA – Compatible with SELinux (tools, architecture) – XSM object classes maps onto Xen features More info: http://www.slideshare.net/xen_com_mgr/ a-brief-tutorial-on-xens-advanced-security-features
  • 47. CPUCPU RAM RAMNIC (or SR- IOV VF) NIC (or SR- IOV VF) NIC (or SR- IOV VF) NIC (or SR- IOV VF) RAID Xen Dom0 Network driver domain NFS/ iSCSI driver domain Qemu domain xapi domain Logging domain Local storage driver domain NFS/ iSCSI driver domain Network driver domain eth eth eth eth scsi User VM User VM NB gntdev NB NF BF NF BF qemu xapi xenopsd libxl healthd Domain manager vswitch networkd tapdisk blktap3 storaged syslogd vswitch networkd tapdisk blktap3 storaged tapdisk blktap3 storaged gntdev gntdev FLASK policy restricting access D o m 0 . . . dbus over v4v dbus over v4v Xen
  • 49. Fully functional for ARM v7 & v8 ARM v7: Versatile Express, Arndale & Samsung Chromebook ARM v8: Fast Model Xen 4.3 for ARM Servers
  • 50. ARM SOC Xen + ARM = a perfect Match ARM Architecture Features for Virtualization Hypervisor mode : EL2 Kernel mode : EL1 User mode : EL0 GIC v2 GT 2 stage MMU I/O Device Tree describes … Hypercall Interface HVC
  • 51. ARM SOC ARM Architecture Features for Virtualization EL2 EL1 EL0 GIC v2 GT 2 stage MMU I/O Device Tree describes … HVC Xen + ARM = a perfect Match Xen Hypervisor
  • 52. ARM SOC ARM Architecture Features for Virtualization EL2 EL1 EL0 GIC v2 GT 2 stage MMU I/O Device Tree describes … HVC Xen + ARM = a perfect Match Xen Hypervisor Any Xen Guest VM (including Dom0) Kernel User Space HVC
  • 53. ARM SOC ARM Architecture Features for Virtualization EL2 EL1 EL0 GIC v2 GT 2 stage MMU I/O Device Tree describes … HVC Xen + ARM = a perfect Match Xen Hypervisor Dom0 only Any Xen Guest VM (including Dom0) Kernel User Space I/O PV back PV frontI/O HVC
  • 54. One mode to rule them all x86: PVHVM P P VS VH x86: PVH P P P VH ARM v7 & v8 P VH VH VH Scope for improvement Optimal performance HVM mode/domain PV mode/domain
  • 55. Code Size of x86 and ARM Hypervisors X86 Hypervisor 100K -120K LOC Any x86 CPU ARM Hypervisor for mobile Devices 60K LOC ARM v5 – v7 (no virtual extensions) (extra code for RT) ARM Hypervisor for Servers 17K LOC ARM v7+ (w/ virtual extensions)
  • 57. Application stacks only running on Xen APIs Works on any Xen based cloud or hosting service Examples – ErlangOnXen.org : Erlang – HalVM : Haskell – Mirage OS : Ocaml Benefits: – Small footprint – Low startup latency – Extremely fast migration of VMs Library Operating Systems Xen Control domain (dom0) Host HW Guest VMn Apps HW Drivers PV Back Ends Library OS embedded in Language run-time Dom0 Kernel
  • 58. • Recently added to Xen Project incubator • In beta stage: first release on its way • Clean-slate protocols implementations, e.g. – TCP/IP, DNS, SSH, Openflow (switch/controller), HTTP, XMPP, ... – New applications using next generation XAPI (disaggregated XAPI architecture) Mirage OS More info: http://www.slideshare.net/xen_com_mgr/ mirage-extreme-specialisation-of-virtual-appliances
  • 60. • Release Candidate 4 Test Day on 6/12 • Xen ARM for Servers • Extend scope of Xen Security Modules • qxl Spice support for 3d acceleration • Updated and improved libvirt drivers for Xen • Lots of other stuff: – scalability, performance, better NUMA support, … Coming in Xen 4.3 (June 2013) More info: http://wiki.xenproject.org/wiki/Xen_Roadmap/4.3
  • 61. • Establish a shared test infrastructure – Most major contributors are duplicating effort – Mirage OS provides interesting opportunities • Usability and better distribution integration – Example: Xen + XAPI in CentOS 6.4 • More focus on downstreams – Examples: OpenStack and Xen Orchestra • Disaggregation in Xen toolstacks (e.g XAPI) • Better Libvirt and virt-manager integration – Embed Xen more into the Linux ecosystem and provide benefits for the wider Linux community What’s next (and already happening)
  • 62. • Document Days (monthly) • Test Days (prior to release) • Mailing Lists and IRC • XenProject.org (sign up, it’s free!) Getting Started with Xen Project Xen Hackathon & Developer Summit (annually; vote for next year’s location in the Q&A section of XenProject.org until June 14, 2013)
  • 63. Thank You! Slides available under CC-BY-SA 3.0 From www.slideshare.net/xen_com_mgr @RCPavlicek Skype: russpavlicek • News: blog.XenProject.org • Web: XenProject.org – Help for IRC, Lists, … – Stackoverflow like Q&A • Wiki: wiki.XenProject.org • Presentations: slideshare.net/xen_com_mgr • Videos: vimeo.com/channels/xen