XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

109
Intro OSS Development Xen 4.3 Xen 4.4 Updates Xen Development update George Dunlap Edinburg – 21-23 October, 2013

description

Includes other development updates, aka NUMA, FreeBSD, Xen and Libvirt. Xen 4.3 was the first release with our new "release coordinator" role during the whole development cycle. This talk will review some ways in which the process worked well for 4.3, and some ways it could have been better, and then go on to talk about the 4.4 release.

Transcript of XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Page 1: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen Development update

George Dunlap

Edinburg – 21-23 October, 2013

Page 2: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Overview

I Principles of OSS Development

I Xen development process

I Review of 4.3 development process

I 4.4 development: Plans and predictionsI Project updates

I EFII Network driversI FreeBSDI libvirt integrationI NUMA

Edinburg – 21-23 October, 2013 Xen Development update 2 / 24

Page 3: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Overview

I Principles of OSS Development

I Xen development process

I Review of 4.3 development process

I 4.4 development: Plans and predictionsI Project updates

I EFII Network driversI FreeBSDI libvirt integrationI NUMA

Edinburg – 21-23 October, 2013 Xen Development update 2 / 24

Page 4: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Overview

I Principles of OSS Development

I Xen development process

I Review of 4.3 development process

I 4.4 development: Plans and predictionsI Project updates

I EFII Network driversI FreeBSDI libvirt integrationI NUMA

Edinburg – 21-23 October, 2013 Xen Development update 2 / 24

Page 5: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Overview

I Principles of OSS Development

I Xen development process

I Review of 4.3 development process

I 4.4 development: Plans and predictions

I Project updates

I EFII Network driversI FreeBSDI libvirt integrationI NUMA

Edinburg – 21-23 October, 2013 Xen Development update 2 / 24

Page 6: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Overview

I Principles of OSS Development

I Xen development process

I Review of 4.3 development process

I 4.4 development: Plans and predictionsI Project updates

I EFII Network driversI FreeBSDI libvirt integrationI NUMA

Edinburg – 21-23 October, 2013 Xen Development update 2 / 24

Page 7: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Overview

I Principles of OSS Development

I Xen development process

I Review of 4.3 development process

I 4.4 development: Plans and predictionsI Project updates

I EFI

I Network driversI FreeBSDI libvirt integrationI NUMA

Edinburg – 21-23 October, 2013 Xen Development update 2 / 24

Page 8: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Overview

I Principles of OSS Development

I Xen development process

I Review of 4.3 development process

I 4.4 development: Plans and predictionsI Project updates

I EFII Network drivers

I FreeBSDI libvirt integrationI NUMA

Edinburg – 21-23 October, 2013 Xen Development update 2 / 24

Page 9: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Overview

I Principles of OSS Development

I Xen development process

I Review of 4.3 development process

I 4.4 development: Plans and predictionsI Project updates

I EFII Network driversI FreeBSD

I libvirt integrationI NUMA

Edinburg – 21-23 October, 2013 Xen Development update 2 / 24

Page 10: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Overview

I Principles of OSS Development

I Xen development process

I Review of 4.3 development process

I 4.4 development: Plans and predictionsI Project updates

I EFII Network driversI FreeBSDI libvirt integration

I NUMA

Edinburg – 21-23 October, 2013 Xen Development update 2 / 24

Page 11: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Overview

I Principles of OSS Development

I Xen development process

I Review of 4.3 development process

I 4.4 development: Plans and predictionsI Project updates

I EFII Network driversI FreeBSDI libvirt integrationI NUMA

Edinburg – 21-23 October, 2013 Xen Development update 2 / 24

Page 12: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Principles

I Open-source: A force multiplier

I Limiting factor: Trust

I Goal: Meritocracy

Edinburg – 21-23 October, 2013 Xen Development update 3 / 24

Page 13: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Principles

I Open-source: A force multiplier

I Limiting factor: Trust

I Goal: Meritocracy

Edinburg – 21-23 October, 2013 Xen Development update 3 / 24

Page 14: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Principles

I Open-source: A force multiplier

I Limiting factor: Trust

I Goal: Meritocracy

Edinburg – 21-23 October, 2013 Xen Development update 3 / 24

Page 15: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Practice: Code development

I All patches posted to list

I Discussion and consensusI Committers are “referees”

I Determine that consensus has happenedI Break ties when consensus is not achieved

I Similar process for bigger decisions

Edinburg – 21-23 October, 2013 Xen Development update 4 / 24

Page 16: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Practice: Code development

I All patches posted to list

I Discussion and consensus

I Committers are “referees”

I Determine that consensus has happenedI Break ties when consensus is not achieved

I Similar process for bigger decisions

Edinburg – 21-23 October, 2013 Xen Development update 4 / 24

Page 17: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Practice: Code development

I All patches posted to list

I Discussion and consensusI Committers are “referees”

I Determine that consensus has happenedI Break ties when consensus is not achieved

I Similar process for bigger decisions

Edinburg – 21-23 October, 2013 Xen Development update 4 / 24

Page 18: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Practice: Code development

I All patches posted to list

I Discussion and consensusI Committers are “referees”

I Determine that consensus has happened

I Break ties when consensus is not achieved

I Similar process for bigger decisions

Edinburg – 21-23 October, 2013 Xen Development update 4 / 24

Page 19: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Practice: Code development

I All patches posted to list

I Discussion and consensusI Committers are “referees”

I Determine that consensus has happenedI Break ties when consensus is not achieved

I Similar process for bigger decisions

Edinburg – 21-23 October, 2013 Xen Development update 4 / 24

Page 20: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Practice: Code development

I All patches posted to list

I Discussion and consensusI Committers are “referees”

I Determine that consensus has happenedI Break ties when consensus is not achieved

I Similar process for bigger decisions

Edinburg – 21-23 October, 2013 Xen Development update 4 / 24

Page 21: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Releases

What we want:

I Visibility into the work that’s going on

I Clear picture of the state everything is in

I A roadmap of important featuresI A good release

I A bug-free releaseI An awesome releaseI An on-time release

Edinburg – 21-23 October, 2013 Xen Development update 5 / 24

Page 22: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Releases

What we want:

I Visibility into the work that’s going on

I Clear picture of the state everything is in

I A roadmap of important featuresI A good release

I A bug-free releaseI An awesome releaseI An on-time release

Edinburg – 21-23 October, 2013 Xen Development update 5 / 24

Page 23: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Releases

What we want:

I Visibility into the work that’s going on

I Clear picture of the state everything is in

I A roadmap of important features

I A good release

I A bug-free releaseI An awesome releaseI An on-time release

Edinburg – 21-23 October, 2013 Xen Development update 5 / 24

Page 24: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Releases

What we want:

I Visibility into the work that’s going on

I Clear picture of the state everything is in

I A roadmap of important featuresI A good release

I A bug-free releaseI An awesome releaseI An on-time release

Edinburg – 21-23 October, 2013 Xen Development update 5 / 24

Page 25: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Releases

What we want:

I Visibility into the work that’s going on

I Clear picture of the state everything is in

I A roadmap of important featuresI A good release

I A bug-free release

I An awesome releaseI An on-time release

Edinburg – 21-23 October, 2013 Xen Development update 5 / 24

Page 26: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Releases

What we want:

I Visibility into the work that’s going on

I Clear picture of the state everything is in

I A roadmap of important featuresI A good release

I A bug-free releaseI An awesome release

I An on-time release

Edinburg – 21-23 October, 2013 Xen Development update 5 / 24

Page 27: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Releases

What we want:

I Visibility into the work that’s going on

I Clear picture of the state everything is in

I A roadmap of important featuresI A good release

I A bug-free releaseI An awesome releaseI An on-time release

Edinburg – 21-23 October, 2013 Xen Development update 5 / 24

Page 28: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Releases

I Keep a list of outstanding features and bugs

I Things actively being worked onI Things we think would be good to work on

I Send the list every few weeks with updatesI Mirror on wiki:

I wiki.xen.org/wiki/Xen Roadmap/4.4

Edinburg – 21-23 October, 2013 Xen Development update 6 / 24

Page 29: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Releases

I Keep a list of outstanding features and bugsI Things actively being worked on

I Things we think would be good to work on

I Send the list every few weeks with updatesI Mirror on wiki:

I wiki.xen.org/wiki/Xen Roadmap/4.4

Edinburg – 21-23 October, 2013 Xen Development update 6 / 24

Page 30: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Releases

I Keep a list of outstanding features and bugsI Things actively being worked onI Things we think would be good to work on

I Send the list every few weeks with updatesI Mirror on wiki:

I wiki.xen.org/wiki/Xen Roadmap/4.4

Edinburg – 21-23 October, 2013 Xen Development update 6 / 24

Page 31: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Releases

I Keep a list of outstanding features and bugsI Things actively being worked onI Things we think would be good to work on

I Send the list every few weeks with updates

I Mirror on wiki:

I wiki.xen.org/wiki/Xen Roadmap/4.4

Edinburg – 21-23 October, 2013 Xen Development update 6 / 24

Page 32: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Releases

I Keep a list of outstanding features and bugsI Things actively being worked onI Things we think would be good to work on

I Send the list every few weeks with updatesI Mirror on wiki:

I wiki.xen.org/wiki/Xen Roadmap/4.4

Edinburg – 21-23 October, 2013 Xen Development update 6 / 24

Page 33: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Releases

I Keep a list of outstanding features and bugsI Things actively being worked onI Things we think would be good to work on

I Send the list every few weeks with updatesI Mirror on wiki:

I wiki.xen.org/wiki/Xen Roadmap/4.4

Edinburg – 21-23 October, 2013 Xen Development update 6 / 24

Page 34: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Release phases

I Open development

I Feature freeze: No new features (3 weeks)

I Code “freezing point”: Begin rejecting features (3 weeks)

I RCs: Bug fixes only (6 weeks)

Edinburg – 21-23 October, 2013 Xen Development update 7 / 24

Page 35: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Release phases

I Open development

I Feature freeze: No new features (3 weeks)

I Code “freezing point”: Begin rejecting features (3 weeks)

I RCs: Bug fixes only (6 weeks)

Edinburg – 21-23 October, 2013 Xen Development update 7 / 24

Page 36: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Release phases

I Open development

I Feature freeze: No new features (3 weeks)

I Code “freezing point”: Begin rejecting features (3 weeks)

I RCs: Bug fixes only (6 weeks)

Edinburg – 21-23 October, 2013 Xen Development update 7 / 24

Page 37: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Release phases

I Open development

I Feature freeze: No new features (3 weeks)

I Code “freezing point”: Begin rejecting features (3 weeks)

I RCs: Bug fixes only (6 weeks)

Edinburg – 21-23 October, 2013 Xen Development update 7 / 24

Page 38: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Interlude

Edinburg – 21-23 October, 2013 Xen Development update 8 / 24

Page 39: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.3 Planning Retrospective

I Goal: 9 month release cycle

I Scheduled release: June 2013

I Actual release: July 2013

I No “howlers”

Edinburg – 21-23 October, 2013 Xen Development update 9 / 24

Page 40: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.3 Planning Retrospective

I Goal: 9 month release cycle

I Scheduled release: June 2013

I Actual release: July 2013

I No “howlers”

Edinburg – 21-23 October, 2013 Xen Development update 9 / 24

Page 41: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.3 Planning Retrospective

I Goal: 9 month release cycle

I Scheduled release: June 2013

I Actual release: July 2013

I No “howlers”

Edinburg – 21-23 October, 2013 Xen Development update 9 / 24

Page 42: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.3 Planning Retrospective

I Goal: 9 month release cycle

I Scheduled release: June 2013

I Actual release: July 2013

I No “howlers”

Edinburg – 21-23 October, 2013 Xen Development update 9 / 24

Page 43: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.3 Planning Retrospective

Aug ’12

Jan ’13 Jul ’13

NUMA-aware scheduler (NUMA affinity) 3

3 3

ARM server port 3

3 3

openvswitch integration 3

7 3

16 TiB 3

3 3

backend scripts 3

3 3

qemu stubdoms 3

3 7

event channel limit 3

3 7

NUMA memory migration 3

3 7

virtual NUMA topology 3

3 7

PVH mode 3

3 7

pv audio 3

7 7

blktap3 3

7 7

vm import/export 3

7 7

xl USB hot-plug for HVM

3 7

libvirt libxl driver

3 3

XSM can replace IS PRIV

3 3

vTPM updates

3 3

osstest

3 3

qxl spice

3 7

Edinburg – 21-23 October, 2013 Xen Development update 10 / 24

Page 44: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.3 Planning Retrospective

Aug ’12 Jan ’13

Jul ’13

NUMA-aware scheduler (NUMA affinity) 3 3

3

ARM server port 3 3

3

openvswitch integration 3 7

3

16 TiB 3 3

3

backend scripts 3 3

3

qemu stubdoms 3 3

7

event channel limit 3 3

7

NUMA memory migration 3 3

7

virtual NUMA topology 3 3

7

PVH mode 3 3

7

pv audio 3 7

7

blktap3 3 7

7

vm import/export 3 7

7

xl USB hot-plug for HVM

3 7

libvirt libxl driver

3 3

XSM can replace IS PRIV

3 3

vTPM updates

3 3

osstest

3 3

qxl spice

3 7

Edinburg – 21-23 October, 2013 Xen Development update 10 / 24

Page 45: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.3 Planning Retrospective

Aug ’12 Jan ’13

Jul ’13

NUMA-aware scheduler (NUMA affinity) 3 3

3

ARM server port 3 3

3

openvswitch integration 3 7

3

16 TiB 3 3

3

backend scripts 3 3

3

qemu stubdoms 3 3

7

event channel limit 3 3

7

NUMA memory migration 3 3

7

virtual NUMA topology 3 3

7

PVH mode 3 3

7

pv audio 3 7

7

blktap3 3 7

7

vm import/export 3 7

7

xl USB hot-plug for HVM 3

7

libvirt libxl driver 3

3

XSM can replace IS PRIV 3

3

vTPM updates 3

3

osstest 3

3

qxl spice 3

7

Edinburg – 21-23 October, 2013 Xen Development update 10 / 24

Page 46: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.3 Planning Retrospective

Aug ’12 Jan ’13 Jul ’13NUMA-aware scheduler (NUMA affinity) 3 3 3

ARM server port 3 3 3

openvswitch integration 3 7 3

16 TiB 3 3 3

backend scripts 3 3 3

qemu stubdoms 3 3 7

event channel limit 3 3 7

NUMA memory migration 3 3 7

virtual NUMA topology 3 3 7

PVH mode 3 3 7

pv audio 3 7 7

blktap3 3 7 7

vm import/export 3 7 7

xl USB hot-plug for HVM 3 7

libvirt libxl driver 3 3

XSM can replace IS PRIV 3 3

vTPM updates 3 3

osstest 3 3

qxl spice 3 7

Edinburg – 21-23 October, 2013 Xen Development update 10 / 24

Page 47: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.3 Planning Retrospective

Don’t try to predict.

Edinburg – 21-23 October, 2013 Xen Development update 11 / 24

Page 48: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.4 Planning

I Goal: 6 month release cycle

I Feature freeze: 18 October (past)

I Code freeze: Extended to catch a few straglers

Edinburg – 21-23 October, 2013 Xen Development update 12 / 24

Page 49: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.4 Planning

I Goal: 6 month release cycle

I Feature freeze: 18 October (past)

I Code freeze: Extended to catch a few straglers

Edinburg – 21-23 October, 2013 Xen Development update 12 / 24

Page 50: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.4 Planning

I Goal: 6 month release cycle

I Feature freeze: 18 October (past)

I Code freeze: Extended to catch a few straglers

Edinburg – 21-23 October, 2013 Xen Development update 12 / 24

Page 51: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.4 Planning

Things that look likely:

I Multi-vector MSI (done)

I Improved spice support for libxl (done)

I PVH for domUs

I Non-udev scripts for driver domains(NetBSD driver domains)

I A ton of fixes from Coverity reports

I NUMA per-vcpu affinity

I USB hotplug for libxl

Edinburg – 21-23 October, 2013 Xen Development update 13 / 24

Page 52: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.4 Planning

Things that look likely:

I Multi-vector MSI (done)

I Improved spice support for libxl (done)

I PVH for domUs

I Non-udev scripts for driver domains(NetBSD driver domains)

I A ton of fixes from Coverity reports

I NUMA per-vcpu affinity

I USB hotplug for libxl

Edinburg – 21-23 October, 2013 Xen Development update 13 / 24

Page 53: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.4 Planning

Things that look likely:

I Multi-vector MSI (done)

I Improved spice support for libxl (done)

I PVH for domUs

I Non-udev scripts for driver domains(NetBSD driver domains)

I A ton of fixes from Coverity reports

I NUMA per-vcpu affinity

I USB hotplug for libxl

Edinburg – 21-23 October, 2013 Xen Development update 13 / 24

Page 54: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.4 Planning

Things that look likely:

I Multi-vector MSI (done)

I Improved spice support for libxl (done)

I PVH for domUs

I Non-udev scripts for driver domains(NetBSD driver domains)

I A ton of fixes from Coverity reports

I NUMA per-vcpu affinity

I USB hotplug for libxl

Edinburg – 21-23 October, 2013 Xen Development update 13 / 24

Page 55: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.4 Planning

Things that look likely:

I Multi-vector MSI (done)

I Improved spice support for libxl (done)

I PVH for domUs

I Non-udev scripts for driver domains(NetBSD driver domains)

I A ton of fixes from Coverity reports

I NUMA per-vcpu affinity

I USB hotplug for libxl

Edinburg – 21-23 October, 2013 Xen Development update 13 / 24

Page 56: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.4 Planning

Things that look likely:

I Multi-vector MSI (done)

I Improved spice support for libxl (done)

I PVH for domUs

I Non-udev scripts for driver domains(NetBSD driver domains)

I A ton of fixes from Coverity reports

I NUMA per-vcpu affinity

I USB hotplug for libxl

Edinburg – 21-23 October, 2013 Xen Development update 13 / 24

Page 57: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Xen 4.4 Planning

Things that look likely:

I Multi-vector MSI (done)

I Improved spice support for libxl (done)

I PVH for domUs

I Non-udev scripts for driver domains(NetBSD driver domains)

I A ton of fixes from Coverity reports

I NUMA per-vcpu affinity

I USB hotplug for libxl

Edinburg – 21-23 October, 2013 Xen Development update 13 / 24

Page 58: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI intro

I Replacement for BIOS

I Includes “bootloader”-like functionality

I Boot-time services (similar to BIOS calls)

I Secure-boot services

Edinburg – 21-23 October, 2013 Xen Development update 14 / 24

Page 59: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI intro

I Replacement for BIOS

I Includes “bootloader”-like functionality

I Boot-time services (similar to BIOS calls)

I Secure-boot services

Edinburg – 21-23 October, 2013 Xen Development update 14 / 24

Page 60: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI intro

I Replacement for BIOS

I Includes “bootloader”-like functionality

I Boot-time services (similar to BIOS calls)

I Secure-boot services

Edinburg – 21-23 October, 2013 Xen Development update 14 / 24

Page 61: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI intro

I Replacement for BIOS

I Includes “bootloader”-like functionality

I Boot-time services (similar to BIOS calls)

I Secure-boot services

Edinburg – 21-23 October, 2013 Xen Development update 14 / 24

Page 62: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI: Xen

(from Daniel Kiper @ Oracle)

I EFI support was introduced in Xen 4.2

I Only EFI loader is fully supported now

I GRUB/GRUB2 and Xen does not work on EFI platform

I But GRUB2 with fakebios and chainloader can be used to loadxen.efi on EFI platform (this option was not tested deeply)

I Daniel Kiper from Oracle works on full GRUB2 support

I Support for Secure Boot with GRUB2 will not be available atfirst

I GRUB2 requires some changes to support Secure Boot

Edinburg – 21-23 October, 2013 Xen Development update 15 / 24

Page 63: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI: Xen

(from Daniel Kiper @ Oracle)

I EFI support was introduced in Xen 4.2

I Only EFI loader is fully supported now

I GRUB/GRUB2 and Xen does not work on EFI platform

I But GRUB2 with fakebios and chainloader can be used to loadxen.efi on EFI platform (this option was not tested deeply)

I Daniel Kiper from Oracle works on full GRUB2 support

I Support for Secure Boot with GRUB2 will not be available atfirst

I GRUB2 requires some changes to support Secure Boot

Edinburg – 21-23 October, 2013 Xen Development update 15 / 24

Page 64: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI: Xen

(from Daniel Kiper @ Oracle)

I EFI support was introduced in Xen 4.2

I Only EFI loader is fully supported now

I GRUB/GRUB2 and Xen does not work on EFI platform

I But GRUB2 with fakebios and chainloader can be used to loadxen.efi on EFI platform (this option was not tested deeply)

I Daniel Kiper from Oracle works on full GRUB2 support

I Support for Secure Boot with GRUB2 will not be available atfirst

I GRUB2 requires some changes to support Secure Boot

Edinburg – 21-23 October, 2013 Xen Development update 15 / 24

Page 65: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI: Xen

(from Daniel Kiper @ Oracle)

I EFI support was introduced in Xen 4.2

I Only EFI loader is fully supported now

I GRUB/GRUB2 and Xen does not work on EFI platform

I But GRUB2 with fakebios and chainloader can be used to loadxen.efi on EFI platform (this option was not tested deeply)

I Daniel Kiper from Oracle works on full GRUB2 support

I Support for Secure Boot with GRUB2 will not be available atfirst

I GRUB2 requires some changes to support Secure Boot

Edinburg – 21-23 October, 2013 Xen Development update 15 / 24

Page 66: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI: Xen

(from Daniel Kiper @ Oracle)

I EFI support was introduced in Xen 4.2

I Only EFI loader is fully supported now

I GRUB/GRUB2 and Xen does not work on EFI platform

I But GRUB2 with fakebios and chainloader can be used to loadxen.efi on EFI platform (this option was not tested deeply)

I Daniel Kiper from Oracle works on full GRUB2 support

I Support for Secure Boot with GRUB2 will not be available atfirst

I GRUB2 requires some changes to support Secure Boot

Edinburg – 21-23 October, 2013 Xen Development update 15 / 24

Page 67: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI: Xen

(from Daniel Kiper @ Oracle)

I EFI support was introduced in Xen 4.2

I Only EFI loader is fully supported now

I GRUB/GRUB2 and Xen does not work on EFI platform

I But GRUB2 with fakebios and chainloader can be used to loadxen.efi on EFI platform (this option was not tested deeply)

I Daniel Kiper from Oracle works on full GRUB2 support

I Support for Secure Boot with GRUB2 will not be available atfirst

I GRUB2 requires some changes to support Secure Boot

Edinburg – 21-23 October, 2013 Xen Development update 15 / 24

Page 68: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI: Xen

(from Daniel Kiper @ Oracle)

I EFI support was introduced in Xen 4.2

I Only EFI loader is fully supported now

I GRUB/GRUB2 and Xen does not work on EFI platform

I But GRUB2 with fakebios and chainloader can be used to loadxen.efi on EFI platform (this option was not tested deeply)

I Daniel Kiper from Oracle works on full GRUB2 support

I Support for Secure Boot with GRUB2 will not be available atfirst

I GRUB2 requires some changes to support Secure Boot

Edinburg – 21-23 October, 2013 Xen Development update 15 / 24

Page 69: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI: Dom0 kernels

(from Daniel Kiper @ Oracle)

I Full Dom0 support is in SUSE Linux Kernel

I Upstream Linux Kernel does not have EFI support in Dom0yet

I Liang Tang from Oracle started working on it but laterdropped it

I There are some updates appearing from time to time onXen-devel but there is no WIP per se yet

Edinburg – 21-23 October, 2013 Xen Development update 16 / 24

Page 70: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI: Dom0 kernels

(from Daniel Kiper @ Oracle)

I Full Dom0 support is in SUSE Linux Kernel

I Upstream Linux Kernel does not have EFI support in Dom0yet

I Liang Tang from Oracle started working on it but laterdropped it

I There are some updates appearing from time to time onXen-devel but there is no WIP per se yet

Edinburg – 21-23 October, 2013 Xen Development update 16 / 24

Page 71: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI: Dom0 kernels

(from Daniel Kiper @ Oracle)

I Full Dom0 support is in SUSE Linux Kernel

I Upstream Linux Kernel does not have EFI support in Dom0yet

I Liang Tang from Oracle started working on it but laterdropped it

I There are some updates appearing from time to time onXen-devel but there is no WIP per se yet

Edinburg – 21-23 October, 2013 Xen Development update 16 / 24

Page 72: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI: Dom0 kernels

(from Daniel Kiper @ Oracle)

I Full Dom0 support is in SUSE Linux Kernel

I Upstream Linux Kernel does not have EFI support in Dom0yet

I Liang Tang from Oracle started working on it but laterdropped it

I There are some updates appearing from time to time onXen-devel but there is no WIP per se yet

Edinburg – 21-23 October, 2013 Xen Development update 16 / 24

Page 73: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI: Guest support

(from Daniel Kiper @ Oracle)

I Open Virtual Machine Firmware (OVMF) was added to Xensource but it does not compile

I Framebuffer issue

Edinburg – 21-23 October, 2013 Xen Development update 17 / 24

Page 74: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

EFI: Guest support

(from Daniel Kiper @ Oracle)

I Open Virtual Machine Firmware (OVMF) was added to Xensource but it does not compile

I Framebuffer issue

Edinburg – 21-23 October, 2013 Xen Development update 17 / 24

Page 75: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Network updates

(from Wei Liu @ Citrix)I Two new features during last cycle:

I 1:1 model netbackI split event channels

I Feature being worked on:

I IPv6 packet offload

I Planned new features:

I multiqueue supportI multipage ring support

Edinburg – 21-23 October, 2013 Xen Development update 18 / 24

Page 76: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Network updates

(from Wei Liu @ Citrix)I Two new features during last cycle:

I 1:1 model netback

I split event channels

I Feature being worked on:

I IPv6 packet offload

I Planned new features:

I multiqueue supportI multipage ring support

Edinburg – 21-23 October, 2013 Xen Development update 18 / 24

Page 77: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Network updates

(from Wei Liu @ Citrix)I Two new features during last cycle:

I 1:1 model netbackI split event channels

I Feature being worked on:

I IPv6 packet offload

I Planned new features:

I multiqueue supportI multipage ring support

Edinburg – 21-23 October, 2013 Xen Development update 18 / 24

Page 78: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Network updates

(from Wei Liu @ Citrix)I Two new features during last cycle:

I 1:1 model netbackI split event channels

I Feature being worked on:

I IPv6 packet offload

I Planned new features:

I multiqueue supportI multipage ring support

Edinburg – 21-23 October, 2013 Xen Development update 18 / 24

Page 79: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Network updates

(from Wei Liu @ Citrix)I Two new features during last cycle:

I 1:1 model netbackI split event channels

I Feature being worked on:I IPv6 packet offload

I Planned new features:

I multiqueue supportI multipage ring support

Edinburg – 21-23 October, 2013 Xen Development update 18 / 24

Page 80: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Network updates

(from Wei Liu @ Citrix)I Two new features during last cycle:

I 1:1 model netbackI split event channels

I Feature being worked on:I IPv6 packet offload

I Planned new features:

I multiqueue supportI multipage ring support

Edinburg – 21-23 October, 2013 Xen Development update 18 / 24

Page 81: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Network updates

(from Wei Liu @ Citrix)I Two new features during last cycle:

I 1:1 model netbackI split event channels

I Feature being worked on:I IPv6 packet offload

I Planned new features:I multiqueue support

I multipage ring support

Edinburg – 21-23 October, 2013 Xen Development update 18 / 24

Page 82: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Network updates

(from Wei Liu @ Citrix)I Two new features during last cycle:

I 1:1 model netbackI split event channels

I Feature being worked on:I IPv6 packet offload

I Planned new features:I multiqueue supportI multipage ring support

Edinburg – 21-23 October, 2013 Xen Development update 18 / 24

Page 83: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

FreeBSD Xen status

(from Roger Pau Monne @ Citrix)Xen FreeBSD updates present in 10.0 (to be released by the end ofNovember):

I Rework of event channel implementation so it is sharedbetween PV and PVHVM guests.

I Implementation of the vector callback for HVM (allowsper-cpu event channel interrupts).

I PV event timer and time counter implementation for PVHVM.I PV IPIs for PVHVM.I Live Migration support for PVHVM guests.I Support for FLUSH/BARRIER in blkfront.I Full Xen support merged into GENERIC kernel (no need to

compile a Xen specific kernel for PVHVM).I Bug fixes for OSS Xen, XenServer and Amazon EC2.

This work has been done in conjunction between Spectra Logicand Citrix.

Edinburg – 21-23 October, 2013 Xen Development update 19 / 24

Page 84: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

FreeBSD Xen status

(from Roger Pau Monne @ Citrix)Xen FreeBSD updates present in 10.0 (to be released by the end ofNovember):

I Rework of event channel implementation so it is sharedbetween PV and PVHVM guests.

I Implementation of the vector callback for HVM (allowsper-cpu event channel interrupts).

I PV event timer and time counter implementation for PVHVM.I PV IPIs for PVHVM.I Live Migration support for PVHVM guests.I Support for FLUSH/BARRIER in blkfront.I Full Xen support merged into GENERIC kernel (no need to

compile a Xen specific kernel for PVHVM).I Bug fixes for OSS Xen, XenServer and Amazon EC2.

This work has been done in conjunction between Spectra Logicand Citrix.

Edinburg – 21-23 October, 2013 Xen Development update 19 / 24

Page 85: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

FreeBSD Xen status

(from Roger Pau Monne @ Citrix)Xen FreeBSD updates present in 10.0 (to be released by the end ofNovember):

I Rework of event channel implementation so it is sharedbetween PV and PVHVM guests.

I Implementation of the vector callback for HVM (allowsper-cpu event channel interrupts).

I PV event timer and time counter implementation for PVHVM.

I PV IPIs for PVHVM.I Live Migration support for PVHVM guests.I Support for FLUSH/BARRIER in blkfront.I Full Xen support merged into GENERIC kernel (no need to

compile a Xen specific kernel for PVHVM).I Bug fixes for OSS Xen, XenServer and Amazon EC2.

This work has been done in conjunction between Spectra Logicand Citrix.

Edinburg – 21-23 October, 2013 Xen Development update 19 / 24

Page 86: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

FreeBSD Xen status

(from Roger Pau Monne @ Citrix)Xen FreeBSD updates present in 10.0 (to be released by the end ofNovember):

I Rework of event channel implementation so it is sharedbetween PV and PVHVM guests.

I Implementation of the vector callback for HVM (allowsper-cpu event channel interrupts).

I PV event timer and time counter implementation for PVHVM.I PV IPIs for PVHVM.

I Live Migration support for PVHVM guests.I Support for FLUSH/BARRIER in blkfront.I Full Xen support merged into GENERIC kernel (no need to

compile a Xen specific kernel for PVHVM).I Bug fixes for OSS Xen, XenServer and Amazon EC2.

This work has been done in conjunction between Spectra Logicand Citrix.

Edinburg – 21-23 October, 2013 Xen Development update 19 / 24

Page 87: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

FreeBSD Xen status

(from Roger Pau Monne @ Citrix)Xen FreeBSD updates present in 10.0 (to be released by the end ofNovember):

I Rework of event channel implementation so it is sharedbetween PV and PVHVM guests.

I Implementation of the vector callback for HVM (allowsper-cpu event channel interrupts).

I PV event timer and time counter implementation for PVHVM.I PV IPIs for PVHVM.I Live Migration support for PVHVM guests.

I Support for FLUSH/BARRIER in blkfront.I Full Xen support merged into GENERIC kernel (no need to

compile a Xen specific kernel for PVHVM).I Bug fixes for OSS Xen, XenServer and Amazon EC2.

This work has been done in conjunction between Spectra Logicand Citrix.

Edinburg – 21-23 October, 2013 Xen Development update 19 / 24

Page 88: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

FreeBSD Xen status

(from Roger Pau Monne @ Citrix)Xen FreeBSD updates present in 10.0 (to be released by the end ofNovember):

I Rework of event channel implementation so it is sharedbetween PV and PVHVM guests.

I Implementation of the vector callback for HVM (allowsper-cpu event channel interrupts).

I PV event timer and time counter implementation for PVHVM.I PV IPIs for PVHVM.I Live Migration support for PVHVM guests.I Support for FLUSH/BARRIER in blkfront.

I Full Xen support merged into GENERIC kernel (no need tocompile a Xen specific kernel for PVHVM).

I Bug fixes for OSS Xen, XenServer and Amazon EC2.

This work has been done in conjunction between Spectra Logicand Citrix.

Edinburg – 21-23 October, 2013 Xen Development update 19 / 24

Page 89: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

FreeBSD Xen status

(from Roger Pau Monne @ Citrix)Xen FreeBSD updates present in 10.0 (to be released by the end ofNovember):

I Rework of event channel implementation so it is sharedbetween PV and PVHVM guests.

I Implementation of the vector callback for HVM (allowsper-cpu event channel interrupts).

I PV event timer and time counter implementation for PVHVM.I PV IPIs for PVHVM.I Live Migration support for PVHVM guests.I Support for FLUSH/BARRIER in blkfront.I Full Xen support merged into GENERIC kernel (no need to

compile a Xen specific kernel for PVHVM).

I Bug fixes for OSS Xen, XenServer and Amazon EC2.

This work has been done in conjunction between Spectra Logicand Citrix.

Edinburg – 21-23 October, 2013 Xen Development update 19 / 24

Page 90: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

FreeBSD Xen status

(from Roger Pau Monne @ Citrix)Xen FreeBSD updates present in 10.0 (to be released by the end ofNovember):

I Rework of event channel implementation so it is sharedbetween PV and PVHVM guests.

I Implementation of the vector callback for HVM (allowsper-cpu event channel interrupts).

I PV event timer and time counter implementation for PVHVM.I PV IPIs for PVHVM.I Live Migration support for PVHVM guests.I Support for FLUSH/BARRIER in blkfront.I Full Xen support merged into GENERIC kernel (no need to

compile a Xen specific kernel for PVHVM).I Bug fixes for OSS Xen, XenServer and Amazon EC2.

This work has been done in conjunction between Spectra Logicand Citrix.

Edinburg – 21-23 October, 2013 Xen Development update 19 / 24

Page 91: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

FreeBSD Xen status

(from Roger Pau Monne @ Citrix)Xen FreeBSD updates present in 10.0 (to be released by the end ofNovember):

I Rework of event channel implementation so it is sharedbetween PV and PVHVM guests.

I Implementation of the vector callback for HVM (allowsper-cpu event channel interrupts).

I PV event timer and time counter implementation for PVHVM.I PV IPIs for PVHVM.I Live Migration support for PVHVM guests.I Support for FLUSH/BARRIER in blkfront.I Full Xen support merged into GENERIC kernel (no need to

compile a Xen specific kernel for PVHVM).I Bug fixes for OSS Xen, XenServer and Amazon EC2.

This work has been done in conjunction between Spectra Logicand Citrix.

Edinburg – 21-23 October, 2013 Xen Development update 19 / 24

Page 92: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

FreeBSD Xen status

(from Roger Pau Monne @ Citrix)What’s coming next:

I PVH guest support.

I PVH Dom0 support.

Edinburg – 21-23 October, 2013 Xen Development update 20 / 24

Page 93: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

FreeBSD Xen status

(from Roger Pau Monne @ Citrix)What’s coming next:

I PVH guest support.

I PVH Dom0 support.

Edinburg – 21-23 October, 2013 Xen Development update 20 / 24

Page 94: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Block improvements

(from Roger Pau Monne @ Citrix)

I Persistent grants.

I Indirect descriptors.

Edinburg – 21-23 October, 2013 Xen Development update 21 / 24

Page 95: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Block improvements

(from Roger Pau Monne @ Citrix)

I Persistent grants.

I Indirect descriptors.

Edinburg – 21-23 October, 2013 Xen Development update 21 / 24

Page 96: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Libvirt

(from Dario Faggioli @ Citrix)

I Basic VM workflow

I Create, start, shutdown, reboot, destroy, pause, resume, save,restore, ... : working

I Migration, PCI passthrough: coming soon

I More advanced VM manipulation

I Scheduling, updating memory/vcpus, block attach, mediachange: working

I Vcpu pinning, NUMA node-affinity, network attach, native (xl)config file handling: missing

I Specific Libvirt stuff (for host and guests)

I Host and guest configuration and statistics reporting: missingI Block/network performance tuning and control: missing

Edinburg – 21-23 October, 2013 Xen Development update 22 / 24

Page 97: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Libvirt

(from Dario Faggioli @ Citrix)

I Basic VM workflowI Create, start, shutdown, reboot, destroy, pause, resume, save,

restore, ... : working

I Migration, PCI passthrough: coming soon

I More advanced VM manipulation

I Scheduling, updating memory/vcpus, block attach, mediachange: working

I Vcpu pinning, NUMA node-affinity, network attach, native (xl)config file handling: missing

I Specific Libvirt stuff (for host and guests)

I Host and guest configuration and statistics reporting: missingI Block/network performance tuning and control: missing

Edinburg – 21-23 October, 2013 Xen Development update 22 / 24

Page 98: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Libvirt

(from Dario Faggioli @ Citrix)

I Basic VM workflowI Create, start, shutdown, reboot, destroy, pause, resume, save,

restore, ... : workingI Migration, PCI passthrough: coming soon

I More advanced VM manipulation

I Scheduling, updating memory/vcpus, block attach, mediachange: working

I Vcpu pinning, NUMA node-affinity, network attach, native (xl)config file handling: missing

I Specific Libvirt stuff (for host and guests)

I Host and guest configuration and statistics reporting: missingI Block/network performance tuning and control: missing

Edinburg – 21-23 October, 2013 Xen Development update 22 / 24

Page 99: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Libvirt

(from Dario Faggioli @ Citrix)

I Basic VM workflowI Create, start, shutdown, reboot, destroy, pause, resume, save,

restore, ... : workingI Migration, PCI passthrough: coming soon

I More advanced VM manipulation

I Scheduling, updating memory/vcpus, block attach, mediachange: working

I Vcpu pinning, NUMA node-affinity, network attach, native (xl)config file handling: missing

I Specific Libvirt stuff (for host and guests)

I Host and guest configuration and statistics reporting: missingI Block/network performance tuning and control: missing

Edinburg – 21-23 October, 2013 Xen Development update 22 / 24

Page 100: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Libvirt

(from Dario Faggioli @ Citrix)

I Basic VM workflowI Create, start, shutdown, reboot, destroy, pause, resume, save,

restore, ... : workingI Migration, PCI passthrough: coming soon

I More advanced VM manipulationI Scheduling, updating memory/vcpus, block attach, media

change: working

I Vcpu pinning, NUMA node-affinity, network attach, native (xl)config file handling: missing

I Specific Libvirt stuff (for host and guests)

I Host and guest configuration and statistics reporting: missingI Block/network performance tuning and control: missing

Edinburg – 21-23 October, 2013 Xen Development update 22 / 24

Page 101: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Libvirt

(from Dario Faggioli @ Citrix)

I Basic VM workflowI Create, start, shutdown, reboot, destroy, pause, resume, save,

restore, ... : workingI Migration, PCI passthrough: coming soon

I More advanced VM manipulationI Scheduling, updating memory/vcpus, block attach, media

change: workingI Vcpu pinning, NUMA node-affinity, network attach, native (xl)

config file handling: missing

I Specific Libvirt stuff (for host and guests)

I Host and guest configuration and statistics reporting: missingI Block/network performance tuning and control: missing

Edinburg – 21-23 October, 2013 Xen Development update 22 / 24

Page 102: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Libvirt

(from Dario Faggioli @ Citrix)

I Basic VM workflowI Create, start, shutdown, reboot, destroy, pause, resume, save,

restore, ... : workingI Migration, PCI passthrough: coming soon

I More advanced VM manipulationI Scheduling, updating memory/vcpus, block attach, media

change: workingI Vcpu pinning, NUMA node-affinity, network attach, native (xl)

config file handling: missing

I Specific Libvirt stuff (for host and guests)

I Host and guest configuration and statistics reporting: missingI Block/network performance tuning and control: missing

Edinburg – 21-23 October, 2013 Xen Development update 22 / 24

Page 103: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Libvirt

(from Dario Faggioli @ Citrix)

I Basic VM workflowI Create, start, shutdown, reboot, destroy, pause, resume, save,

restore, ... : workingI Migration, PCI passthrough: coming soon

I More advanced VM manipulationI Scheduling, updating memory/vcpus, block attach, media

change: workingI Vcpu pinning, NUMA node-affinity, network attach, native (xl)

config file handling: missing

I Specific Libvirt stuff (for host and guests)I Host and guest configuration and statistics reporting: missing

I Block/network performance tuning and control: missing

Edinburg – 21-23 October, 2013 Xen Development update 22 / 24

Page 104: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

Libvirt

(from Dario Faggioli @ Citrix)

I Basic VM workflowI Create, start, shutdown, reboot, destroy, pause, resume, save,

restore, ... : workingI Migration, PCI passthrough: coming soon

I More advanced VM manipulationI Scheduling, updating memory/vcpus, block attach, media

change: workingI Vcpu pinning, NUMA node-affinity, network attach, native (xl)

config file handling: missing

I Specific Libvirt stuff (for host and guests)I Host and guest configuration and statistics reporting: missingI Block/network performance tuning and control: missing

Edinburg – 21-23 October, 2013 Xen Development update 22 / 24

Page 105: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

NUMA

(from Dario Faggioli @ Citrix)

I NUMA aware automatic placementWhen a VM is created, allocate its memory from theminimum number and best possible node(s)Included in Xen 4.2

I NUMA aware scheduling for Credit1VMs can run everywhere, but prefer to run on the nodeswhere their memory isIncluded in Xen 4.3

I Per-VCPU NUMA aware schedulingEach VCPU in a VM can have a different NUMAnode-affinity: different VCPUs (may) prefer to run ondifferent nodes Targeting Xen 4.4 (status: probable)

Edinburg – 21-23 October, 2013 Xen Development update 23 / 24

Page 106: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

NUMA

(from Dario Faggioli @ Citrix)

I NUMA aware automatic placementWhen a VM is created, allocate its memory from theminimum number and best possible node(s)Included in Xen 4.2

I NUMA aware scheduling for Credit1VMs can run everywhere, but prefer to run on the nodeswhere their memory isIncluded in Xen 4.3

I Per-VCPU NUMA aware schedulingEach VCPU in a VM can have a different NUMAnode-affinity: different VCPUs (may) prefer to run ondifferent nodes Targeting Xen 4.4 (status: probable)

Edinburg – 21-23 October, 2013 Xen Development update 23 / 24

Page 107: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

NUMA

(from Dario Faggioli @ Citrix)

I NUMA aware automatic placementWhen a VM is created, allocate its memory from theminimum number and best possible node(s)Included in Xen 4.2

I NUMA aware scheduling for Credit1VMs can run everywhere, but prefer to run on the nodeswhere their memory isIncluded in Xen 4.3

I Per-VCPU NUMA aware schedulingEach VCPU in a VM can have a different NUMAnode-affinity: different VCPUs (may) prefer to run ondifferent nodes Targeting Xen 4.4 (status: probable)

Edinburg – 21-23 October, 2013 Xen Development update 23 / 24

Page 108: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

NUMA, con’t

(from Dario Faggioli @ Citrix)

I Virtual NUMA topology for PV guestsVMs can be NUMA machines and have a virtual topology(number or nodes, amount of memory, distances, etc.)Targeting Xen 4.4 (status: probable)

I Memory migrationMoving the memory of a VM from a NUMA node to anotheron-lineTargeting Xen 4.4 (status: tentative)

Edinburg – 21-23 October, 2013 Xen Development update 24 / 24

Page 109: XPDS13: Xen Hypervisor Development Update - George Dunlap, Citrix

Intro OSS Development Xen 4.3 Xen 4.4 Updates

NUMA, con’t

(from Dario Faggioli @ Citrix)

I Virtual NUMA topology for PV guestsVMs can be NUMA machines and have a virtual topology(number or nodes, amount of memory, distances, etc.)Targeting Xen 4.4 (status: probable)

I Memory migrationMoving the memory of a VM from a NUMA node to anotheron-lineTargeting Xen 4.4 (status: tentative)

Edinburg – 21-23 October, 2013 Xen Development update 24 / 24