linaro connect asia 13 : citrix - xen on arm plenary session

37
Mark Heath, VP Products XenServer, Citrix Lars Kurth, Xen.org Community Manager, Citrix

Upload: xen-project

Post on 30-Nov-2014

1.688 views

Category:

Technology


0 download

DESCRIPTION

The Xen on ARM effort has had a short, but impressive, history. In late 2011, Citrix seeded a Xen.org community project to port Xen to ARMv7 with virtualization extensions targeting the Cortex A15 as the reference platform. In 2012, the project scope was expanded to include the ARMv8 architecture. Linux 3.7 was the first kernel release to run on Xen on ARM as Dom0 and DomU. Very soon now (Q2 2013), Xen 4.3 will fully support several different ARM platforms, including Samsung Chromebooks, Versatile Express Cortex A15 and Arndale development boards. In this talk, we will outline how virtualization enabled server consolidation and cloud computing, as well as innovative and secure solutions for both desktops and mobile devices. We will explain why Citrix saw the need for the project, and why it is highly relevant in today’s cloud-centric virtualization landscape. We will discuss the opportunities this has brought to the Xen ecosystem, and then peek into the future possibilities which Xen on ARM will enable. While Xen is best known as technology powering some of the biggest clouds in the industry, but could also be powering virtual machines on devices that fit in your pocket. The talk will also include a brief overview of the Xen on ARM architecture, including the key design principles employed. The techniques pioneered during the ARM port will allow the Xen community to remove many legacy components from the Xen code base, streamlining both the ARM and x86 implementations. We will share some data on the challenges in porting Xen to new ARM boards. Due to full reliance on Device Tree and to the minimal hardware requirements of the hypervisor, ports to new boards require surprisingly little effort. Finally, the talk will conclude by outlining the immediate roadmap for Xen on ARM.

TRANSCRIPT

Page 1: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

Mark Heath, VP Products XenServer, Citrix

Lars Kurth, Xen.org Community Manager, Citrix

Page 2: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Page 3: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

Citrix is a cloud

computing

company that

enables mobile

workstyles

Page 4: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

Gartner, 2012

Page 5: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

m o b i l e w o r k s t y l e s & c l o u d s e r v i c e s

Page 6: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Page 7: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

• Efficient resource utilization

• Faster provisioning

• Workload mobility

• Increased uptime

• Enhanced security

Page 8: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

Mark Moerdler, Bernstein 2012

Page 9: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

• Less Space

• Less Energy

• Reduced Cost

Page 10: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

• Even Less Space

• Greener Datacentres

• Even Less Cost

Page 11: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

UBS Global Investment Research, August 7, 2012, James F. Hillier.

Page 12: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Page 13: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Page 14: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

XenServer

X

en

Desk

top

X

en

Ap

p

N

etS

cale

r

C

lou

dPla

tfo

rm

X

en

Clie

nt

X

en

Clie

nt

XT

Page 15: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

Q

ub

es O

S

O

racle

VM

H

ua

we

i U

VP

O

pe

n M

irage

E

rla

ngO

nX

en

Page 16: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Page 17: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Page 18: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

• GPLv2 with DCO

• Governance similar to Linux Kernel

• Citrix is the steward of Xen.org

Page 19: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Page 20: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

• 30% code developed by Citrix

• > 10M open source users

• Xen powers the largest clouds in production

Page 21: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Page 22: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

HW CPUs Memory I/O

VM1

Guest OS

Applications

VM0 (or Dom0)

Dom0 Kernel

Drivers

VM2 VMn

Applications

Guest OS

Applications

Guest OS

Toolstack

Scheduler MMU Timers Interrupts Config

back PV front

Page 23: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

• Make optimum use of the ARM SOC

• Supports 32 and 64 bit

• Small code base

• Avoid x86 “baggage”

Page 24: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

ARM SOC

GIC

v2 GT

2 stage

MMU

I/O

Device Tree describes …

ARM Architecture Features for Virtualization

Hypervisor mode: EL2

Kernel mode: EL1

User mode: EL0

HVC

Page 25: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

ARM SOC

GIC

v2 GT

2 stage

MMU

I/O

Device Tree describes …

ARM Architecture Features for Virtualization

Hypervisor mode: EL2

Kernel mode: EL1

User mode: EL0

HVC

Xen Hypervisor

Dom0

only

Any Xen Guest VM (including Dom0)

Kernel

User Space

HVC

I/O

PV back

PV front

I/O

Page 26: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

• One virtualization mode

• No user space run-time on data path

• No need for Device Emulation

• Xen is easy to port

Page 27: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Page 28: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

Stefano Stabellini, Linux Xen ARM Maintainer,2013

Page 29: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Page 30: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

• Fully functional for ARM v7 & v8 (64bit dom0, 32bit guests)

• ARM v7: Versatile Express, Arndale & Samsung Chromebook

• ARM v8: Fast Model

• Will be released in Xen 4.3

Page 31: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Page 32: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Page 33: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

m o b i l e w o r k s t y l e s & c l o u d s e r v i c e s

Page 34: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

m o b i l e w o r k s t y l e s & c l o u d s e r v i c e s

Page 35: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session

• Good Technology Match

• Platform First

• Creates Opportunities …

– for Citrix

– for the Xen Community

– for the Linaro Community

Page 36: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Page 37: Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session