SlideShare a Scribd company logo
1 of 34
Download to read offline
Xen on ARM 
The Gears of the Cloud 
Stefano Stabellini - 17 September 2014
“Citrix is a cloud computing company 
that enables mobile workstyles” 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
Citrix and Open Source 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix 
Created as a Linux Foundation 
Collaborative Project in April 2013 
ARM joined the Xen Project Advisory 
Board in December 2013
What is Xen?
What is Xen? 
● a type-1 hypervisor 
● small footprint (less than 100K LOC) 
● GPLv2 
● 10 million individual users 
● powers the largest public clouds in production 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
Xen Architecture 
Dom0 DomU 
PV backends PV Frontends 
© 2013 Citrix | Confidential – Do Not Distribute 
Xen 
Hardware 
HW drivers 
DomU 
PV Frontends 
DomU 
PV Frontends 
© 2014 Citrix
Xen Architecture 
Dom0 DomU 
BlockBack 
© 2013 Citrix | Confidential – Do Not Distribute 
NetBack BlockFront 
Xen 
Hardware 
NetFront 
Disk Driver 
Domain 
Toolstack Disk Driver 
Network Driver 
Domain 
Network Driver 
© 2014 Citrix
Xen Architecture: driver domains 
● scalability 
● security 
● isolation 
● resilience 
● disaggregation 
● componentization 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
Xen on ARM
Xen on ARM: not just a port 
● a lean and simple architecture 
● we removed all the cruft accumulated during the years 
● no emulation, no QEMU 
● one type of guest 
● exploit the hardware as much as possible 
● a very good match for the hardware 
● clean architecture = small code base 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
Xen on ARM: architecture 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
Xen on ARM: architecture 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
Code size: smaller is better! 
● X86_64 ~= 140,000LOC 
● ARMv7 + ARMv8 ~= 1/6 x86_64 code 
© 2013 Citrix | Confidential – Do Not Distribute 
Common ARMv7 ARMv8 Total 
xen/arch/arm 11,767 3,503 1,812 17,082 
C 11,587 954 813 13,354 
ASM 180 2,549 999 3,728 
xen/include/asm-arm 4,786 984 1,050 6,820 
TOTAL 16,553 4,487 2,826 23,902 
© 2014 Citrix
Achievements 
Xen support for ARM 
upstream in Linux 3.7 
Xen support for ARM64 
upstream in Linux 3.11 
11/11 08/12 09/12 
11/12 03/13 07/13 
Xen running on real ARM 
hardware 
First Xen on ARM talk at 
Xen Summit 2012 
© 2013 Citrix | Confidential – Do Not Distribute 
Xen 64-bit on 
ARM64 
01/13 
Citrix announces 
that will be joining 
Linaro 
Xen 4.3 released with 
ARM and ARM64 support 
Part-time Xen ARM 
hacking starts 
Xen 4.4 release 
06/13 03/14 
© 2014 Citrix
Hypervisor: Commits and Authors 
Xen-devel : Messages per Month Contributors / Authors per Month 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix 
Highest ever
Website Traffic and Social Media 
Average monthly web visits 
grew by 30% 
Social Media following 
grew by 47% 
© 2014 Citrix
Press Mentions 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
The role of Xen on ARM 
25-30% of xen-devel traffic is ARM specific 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
Xen on ARM: new horizons 
● embedded 
● set-top boxes 
● smarphones 
● internet of things 
● automotive 
● aviation industry 
● high reliability 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
Xen Project 4.4 release: status 
Features: 
● 64-bit guest support in ARMv8 
● stable hypercall ABI 
● basic lifecycle operations 
● memory ballooning 
● scheduler configurations, vcpu pinning, cpu pools 
HCL (not inclusive): 
● ARMv8 FVP 
● Arndale board 
● Allwinner Sunxi (Cubieboard 2) 
● TI OMAP5 
● Applied Micro X-Gene 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
Linux v3.13: status 
● dom0 and domU 
● 32-bit and 64-bit 
● SMP 
● PV drivers 
○ disk 
○ network 
○ console 
○ framebuffer 
○ keyboard 
○ mouse 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
Coming in Xen 4.5 
● irq latency reduction 
● interrupt priorities 
● irq migration 
● SMMU support 
● Xen UEFI host booting 
● GICv3 support 
● support for up to 1TB of guest RAM 
● super pages 
● support for 48-bit physical addresses 
● QEMU PV backend on ARM: framebuffer, 
mouse, keyboard, multi-console 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
Benchmarks
Execution environment 
● Linux v3.15-rc8 
dom0, domU and native kernel 
● Xen v4.5-unstable+ 
● QEMU-KVM v2.0.0 
● OpenSUSE 13.1 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix 
Applied Micro X-Gene Intel Xeon CPU X5650 
ARMv8 64-bit 8 cores 2.4 Ghz x86_64 2 sockets x 6 cores 2.67 Ghz
Kernbench 
virtualization overhead (percentage) - Lower is better 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
PBZIP2 
virtualization overhead (percentage) - Lower is better 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
FIO rand-rw 
virtualization overhead (percentage) - Lower is better 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
SPECjbb2005 
virtualization overhead (percentage) - Lower is better 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
SpecINT 2006 
Xen on ARM virtualization overhead (percentage) - Lower is better 
© 2013 Citrix | Confidential – Do Not Distribute 
2% 
© 2014 Citrix
Why Xen?
Xen on ARM: the gears of the cloud 
● strong in the cloud 
● strong community 
● successful in automotive and embedded 
● strong security guarantees 
● easy to deploy 
● from source, Linux distributions, products, etc. 
● minimal overhead 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
More information 
● http://www.xenproject.org 
● Xen on ARM @wiki.xenproject.org http://goo.gl/FKNXe 
● Xen on ARM whitepaper http://goo.gl/vWMn7D 
● http://lists.xenproject.org/mailman/listinfo/xen-devel 
© 2013 Citrix | Confidential – Do Not Distribute 
© 2014 Citrix
Questions?
© 2013 Citrix | Confidential – Do Not Distribute 
Citrix 
Work better. Live Better. 
© 2014 Citrix

More Related Content

More from Linaro

Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
Linaro
 
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
Linaro
 
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainlineHKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
Linaro
 
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainlineHKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
Linaro
 
HKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
HKG18- 115 - Partitioning ARM Systems with the Jailhouse HypervisorHKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
HKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
Linaro
 
HKG18-TR08 - Upstreaming SVE in QEMU
HKG18-TR08 - Upstreaming SVE in QEMUHKG18-TR08 - Upstreaming SVE in QEMU
HKG18-TR08 - Upstreaming SVE in QEMU
Linaro
 
HKG18-120 - Devicetree Schema Documentation and Validation
HKG18-120 - Devicetree Schema Documentation and Validation HKG18-120 - Devicetree Schema Documentation and Validation
HKG18-120 - Devicetree Schema Documentation and Validation
Linaro
 
HKG18-223 - Trusted FirmwareM: Trusted boot
HKG18-223 - Trusted FirmwareM: Trusted bootHKG18-223 - Trusted FirmwareM: Trusted boot
HKG18-223 - Trusted FirmwareM: Trusted boot
Linaro
 
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
Linaro
 
HKG18-317 - Arm Server Ready Program
HKG18-317 - Arm Server Ready ProgramHKG18-317 - Arm Server Ready Program
HKG18-317 - Arm Server Ready Program
Linaro
 
HKG18-312 - CMSIS-NN
HKG18-312 - CMSIS-NNHKG18-312 - CMSIS-NN
HKG18-312 - CMSIS-NN
Linaro
 
HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...
HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...
HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...
Linaro
 
HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...
HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...
HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...
Linaro
 
HKG18-212 - Trusted Firmware M: Introduction
HKG18-212 - Trusted Firmware M: IntroductionHKG18-212 - Trusted Firmware M: Introduction
HKG18-212 - Trusted Firmware M: Introduction
Linaro
 
HKG18-116 - RAS Solutions for Arm64 Servers
HKG18-116 - RAS Solutions for Arm64 ServersHKG18-116 - RAS Solutions for Arm64 Servers
HKG18-116 - RAS Solutions for Arm64 Servers
Linaro
 

More from Linaro (20)

Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
 
Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...
Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...
Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...
 
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
 
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainlineHKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
 
HKG18-100K1 - George Grey: Opening Keynote
HKG18-100K1 - George Grey: Opening KeynoteHKG18-100K1 - George Grey: Opening Keynote
HKG18-100K1 - George Grey: Opening Keynote
 
HKG18-318 - OpenAMP Workshop
HKG18-318 - OpenAMP WorkshopHKG18-318 - OpenAMP Workshop
HKG18-318 - OpenAMP Workshop
 
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainlineHKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
 
HKG18-315 - Why the ecosystem is a wonderful thing, warts and all
HKG18-315 - Why the ecosystem is a wonderful thing, warts and allHKG18-315 - Why the ecosystem is a wonderful thing, warts and all
HKG18-315 - Why the ecosystem is a wonderful thing, warts and all
 
HKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
HKG18- 115 - Partitioning ARM Systems with the Jailhouse HypervisorHKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
HKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
 
HKG18-TR08 - Upstreaming SVE in QEMU
HKG18-TR08 - Upstreaming SVE in QEMUHKG18-TR08 - Upstreaming SVE in QEMU
HKG18-TR08 - Upstreaming SVE in QEMU
 
HKG18-113- Secure Data Path work with i.MX8M
HKG18-113- Secure Data Path work with i.MX8MHKG18-113- Secure Data Path work with i.MX8M
HKG18-113- Secure Data Path work with i.MX8M
 
HKG18-120 - Devicetree Schema Documentation and Validation
HKG18-120 - Devicetree Schema Documentation and Validation HKG18-120 - Devicetree Schema Documentation and Validation
HKG18-120 - Devicetree Schema Documentation and Validation
 
HKG18-223 - Trusted FirmwareM: Trusted boot
HKG18-223 - Trusted FirmwareM: Trusted bootHKG18-223 - Trusted FirmwareM: Trusted boot
HKG18-223 - Trusted FirmwareM: Trusted boot
 
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
 
HKG18-317 - Arm Server Ready Program
HKG18-317 - Arm Server Ready ProgramHKG18-317 - Arm Server Ready Program
HKG18-317 - Arm Server Ready Program
 
HKG18-312 - CMSIS-NN
HKG18-312 - CMSIS-NNHKG18-312 - CMSIS-NN
HKG18-312 - CMSIS-NN
 
HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...
HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...
HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...
 
HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...
HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...
HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...
 
HKG18-212 - Trusted Firmware M: Introduction
HKG18-212 - Trusted Firmware M: IntroductionHKG18-212 - Trusted Firmware M: Introduction
HKG18-212 - Trusted Firmware M: Introduction
 
HKG18-116 - RAS Solutions for Arm64 Servers
HKG18-116 - RAS Solutions for Arm64 ServersHKG18-116 - RAS Solutions for Arm64 Servers
HKG18-116 - RAS Solutions for Arm64 Servers
 

Recently uploaded

Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 

Recently uploaded (20)

WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 

LCU14 308- Overview of Xen for ARM Servers

  • 1. Xen on ARM The Gears of the Cloud Stefano Stabellini - 17 September 2014
  • 2. “Citrix is a cloud computing company that enables mobile workstyles” © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 3. Citrix and Open Source © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix Created as a Linux Foundation Collaborative Project in April 2013 ARM joined the Xen Project Advisory Board in December 2013
  • 5. What is Xen? ● a type-1 hypervisor ● small footprint (less than 100K LOC) ● GPLv2 ● 10 million individual users ● powers the largest public clouds in production © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 6. Xen Architecture Dom0 DomU PV backends PV Frontends © 2013 Citrix | Confidential – Do Not Distribute Xen Hardware HW drivers DomU PV Frontends DomU PV Frontends © 2014 Citrix
  • 7. Xen Architecture Dom0 DomU BlockBack © 2013 Citrix | Confidential – Do Not Distribute NetBack BlockFront Xen Hardware NetFront Disk Driver Domain Toolstack Disk Driver Network Driver Domain Network Driver © 2014 Citrix
  • 8. Xen Architecture: driver domains ● scalability ● security ● isolation ● resilience ● disaggregation ● componentization © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 10. Xen on ARM: not just a port ● a lean and simple architecture ● we removed all the cruft accumulated during the years ● no emulation, no QEMU ● one type of guest ● exploit the hardware as much as possible ● a very good match for the hardware ● clean architecture = small code base © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 11. Xen on ARM: architecture © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 12. Xen on ARM: architecture © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 13. Code size: smaller is better! ● X86_64 ~= 140,000LOC ● ARMv7 + ARMv8 ~= 1/6 x86_64 code © 2013 Citrix | Confidential – Do Not Distribute Common ARMv7 ARMv8 Total xen/arch/arm 11,767 3,503 1,812 17,082 C 11,587 954 813 13,354 ASM 180 2,549 999 3,728 xen/include/asm-arm 4,786 984 1,050 6,820 TOTAL 16,553 4,487 2,826 23,902 © 2014 Citrix
  • 14. Achievements Xen support for ARM upstream in Linux 3.7 Xen support for ARM64 upstream in Linux 3.11 11/11 08/12 09/12 11/12 03/13 07/13 Xen running on real ARM hardware First Xen on ARM talk at Xen Summit 2012 © 2013 Citrix | Confidential – Do Not Distribute Xen 64-bit on ARM64 01/13 Citrix announces that will be joining Linaro Xen 4.3 released with ARM and ARM64 support Part-time Xen ARM hacking starts Xen 4.4 release 06/13 03/14 © 2014 Citrix
  • 15. Hypervisor: Commits and Authors Xen-devel : Messages per Month Contributors / Authors per Month © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix Highest ever
  • 16. Website Traffic and Social Media Average monthly web visits grew by 30% Social Media following grew by 47% © 2014 Citrix
  • 17. Press Mentions © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 18. The role of Xen on ARM 25-30% of xen-devel traffic is ARM specific © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 19. Xen on ARM: new horizons ● embedded ● set-top boxes ● smarphones ● internet of things ● automotive ● aviation industry ● high reliability © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 20. Xen Project 4.4 release: status Features: ● 64-bit guest support in ARMv8 ● stable hypercall ABI ● basic lifecycle operations ● memory ballooning ● scheduler configurations, vcpu pinning, cpu pools HCL (not inclusive): ● ARMv8 FVP ● Arndale board ● Allwinner Sunxi (Cubieboard 2) ● TI OMAP5 ● Applied Micro X-Gene © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 21. Linux v3.13: status ● dom0 and domU ● 32-bit and 64-bit ● SMP ● PV drivers ○ disk ○ network ○ console ○ framebuffer ○ keyboard ○ mouse © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 22. Coming in Xen 4.5 ● irq latency reduction ● interrupt priorities ● irq migration ● SMMU support ● Xen UEFI host booting ● GICv3 support ● support for up to 1TB of guest RAM ● super pages ● support for 48-bit physical addresses ● QEMU PV backend on ARM: framebuffer, mouse, keyboard, multi-console © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 24. Execution environment ● Linux v3.15-rc8 dom0, domU and native kernel ● Xen v4.5-unstable+ ● QEMU-KVM v2.0.0 ● OpenSUSE 13.1 © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix Applied Micro X-Gene Intel Xeon CPU X5650 ARMv8 64-bit 8 cores 2.4 Ghz x86_64 2 sockets x 6 cores 2.67 Ghz
  • 25. Kernbench virtualization overhead (percentage) - Lower is better © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 26. PBZIP2 virtualization overhead (percentage) - Lower is better © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 27. FIO rand-rw virtualization overhead (percentage) - Lower is better © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 28. SPECjbb2005 virtualization overhead (percentage) - Lower is better © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 29. SpecINT 2006 Xen on ARM virtualization overhead (percentage) - Lower is better © 2013 Citrix | Confidential – Do Not Distribute 2% © 2014 Citrix
  • 31. Xen on ARM: the gears of the cloud ● strong in the cloud ● strong community ● successful in automotive and embedded ● strong security guarantees ● easy to deploy ● from source, Linux distributions, products, etc. ● minimal overhead © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 32. More information ● http://www.xenproject.org ● Xen on ARM @wiki.xenproject.org http://goo.gl/FKNXe ● Xen on ARM whitepaper http://goo.gl/vWMn7D ● http://lists.xenproject.org/mailman/listinfo/xen-devel © 2013 Citrix | Confidential – Do Not Distribute © 2014 Citrix
  • 34. © 2013 Citrix | Confidential – Do Not Distribute Citrix Work better. Live Better. © 2014 Citrix