Xen 4.5 development update (July update)
Below is a summary of the projects / features being worked on for the 4.5 time frame. The tentative feature freeze is scheduled for September 10th, which is less than one month away. This being the summer some folks are talking vacation, so that month might be a lot less.
I have moved some of the items for which I hadn't seen any traffic for quite some time - or hadn't received any email response, and as such I think it won't make it by the feature freeze date.
The "prognosis" is now the likelihood of completion in the 4.5 timeframe. A bunch of items had moved to the completed phase which is fantastic.
none - nothing yet
fair - still working on it, patches are prototypes or RFC
ok - patches posted, acting on review
good - some last minute pieces
done - all done, might have bugs
For items involving code hosted on the Xen.org site (including qemu-xen), that means a likelihood of having the feature code-complete and mostly working by the feature freeze. (It's OK if there are still bugs to be worked out.) For items in Linux, it would mean having items on track to make it into the kernel released just after the scheduled 4.5 time frame.
In terms of libvirt it has monthly releases. As such not going to track every release - but closer to when RCs are out.
= Timeline =
We are planning on a 9-month release cycle. Based on that, below are our estimated dates:
* Coding time: <=== NOW, one (less than!) month left!
* Feature Freeze: 10th September 2014
* First RC: 10th October
* Release: 10th December 2014
The RCs and release will of course depend on stability and bugs, and will therefore be fairly unpredictable. The feature freeze may be slipped for especially important features which are near completion.
= Prognosis =
The states are: none -> fair -> ok -> good -> done
none - nothing yet
fair - still working on it, patches are prototypes or RFC
ok - patches posted, acting on review
good - some last minute pieces
done - all done, might have bugs
= Open =
== ARM ==
* ARM - Device assigment on ARM (good)
Linux parts at risk.
v2 for hypervisor out
- Julien Grall
* ARM XEN_DOMCTL_memory_mapping hypercall for ARM (good) v10 posted; resent & rebased
- Arianna Avanzini
* ARM Xen UEFI booting on ARM (ok)
v2
- Roy Franz
* ARM PSCI v0.2 (good)
v11 posted
- Parth Dixit
* ARM GICv3 support (ok)
v6a patchset (refactor in, also known as v9a); v7 posted v9a posted which does GIC and VGIC code refactoring v8 posted
- Vijay Kilari
* ARM remote processor iommu module (GPUs + IPUs) (fair) v2 posted
- Andrii Tseglytskyi
* ARM - MiniOS (ok)
v7 posted
- Thomas Leonard
* ARM - VGIC emulation (ok)
Reposted as gic and vgic fixes and improvements v12
- Stefano Stabellini
* ARM - XENFEAT_grant_map_11 (aka map grants refs at pfn = mfn) (ok) Provide kernels an grant->MFN lookup
v4
- Stefano Stabellini
* ARM - Add Odroid-XU (Exynos5410) support (ok)
v3
- Suriyan Ramasami
== x86 ==
* New Migration (v2). (good)
v6 posted, going on the 'good' side!
- Andrew Cooper & David Vrabel
* libxl migrationv2 patches. (none)
- Andrew Cooper & David Vrabel
* tmem migrationv2 patches. (none)
- Bob Liu & Andrew Cooper & David Vrabel
* Remus using migration-v2 (fair)
RFC posted - depends on v6 of 'New Migration'
- Yang Hongyang
* PVH - AMD hardware support. (fair)
Issues with TSC on modern AMD machines
- Mukesh Rathor
* Xen multiboot2-EFI support (fair)
Needed for SecureBoot
Depends on Xen Boot info (rework multiboot and other structs) See http://lists.xen.org/archives/html/xen-devel/2013-05/msg02281.html
RFC posted
- Daniel Kiper
* HT enabled, virtualization overhead is high (Xen 4.4) (none) kernbench demonstrated it
Looking and tracing
http://www.gossamer-threads.com/lists/xen/devel/339409
- Dario Faggioli
* dirty vram / IOMMU bug (fair)
http://bugs.xenproject.org/xen/bug/38
- Zhang, Yang Z
* VMware backdoor (hypercall) (ok)
Needs to be split up and redone
- Don Slutz
* VPMU - 'perf' support in Xen (good)
v9 posted
- Boris Ostrovsky
* Cache QoS Monitoring - hypercalls (fair)
Just hypercalls - no toolstack changes.
v13.
- Dongxiao Xu and Shantong Kang
* 1TB slow destruction (ok)
- Bob Liu
* extending mem_access support to PV domain (fair) RFC v2
- Aravindh Puthiyaparambil (aravindp)
* Support controlling the max C-state sub-state (ok) v3 posted
- Ross Lagerwall
* Repurpose SEDF Scheduler for Real-time (fair)
RFC patch posted (v2)
- Joshua Whitehead, Robert VanVossen
* XenRT (Preemptive Global Earliest Deadline First) (fair) RFC patch posted (v2)
- Meng Xu
* Introspection of HVM guests (fair)
RFC v7
- Razvan Cojocaru
* vNUMA in Xen (ok)
v6 posted
git://gitorious.org/vnuma/xen_vnuma.git
- Elena Ufimtseva
== QEMU ==
* Using qemu-upstream in a stubdomain (fair)
Will use rump kernels.
- Ian Jackson
* Intel IGD PCI GPU passthrough (ok)
v5 posted
- Chen, Tiejun
* Xen PV block driver in OVMF (UEFI in guest) (fair) RFC posted.
- Anthony PERARD
== lib{xc,xl} and toolstack ==
* libxl/xl - xm compatibility mode for mem-max and mem-set; (ok)
- Daniel Kiper
* Rearrange and cleanup installation destination directories (/var -> var/lib/xen) (fair)
- Daniel Kiper
* libxl work - JSON to keep track of guest configs (ok)
- Wei Liu
* pvscsi should be targeted for 4.5, a prototype exists (fair)
- Olaf Hering
* Remus in Xen (libxl) (ok)
v18
url: https://github.com/laijs/xen remus-v18
- Gui Jianfeng - Yang Hongyang - Dong, Eddie
* COarse-grain LOck-stepping Virtual Machines in Xen (fair) RFC patch posted
- Wen Congyang - Gui Jianfeng - Yang Hongyang - Dong, Eddie
* snapshot API extension (checkpointing disk) (ok) v5
- Bamvor Jian Zhang
* extend the xenstore ring with a 'closing' signal (fair) RFC patch posted
- David Scott
== Linux ==
* Linux block multiqueue (fair)
- Arianna Avanzini
* Netback grant table manipulations (ok)
- Zoltan Kiss
* VPMU - 'perf' support in Linux (ok)
Depends on Xen patches
- Boris Ostrovsky
* vNUMA in Linux (ok)
v6 posted
git://gitorious.org/vnuma/linux_vnuma.git
- Elena Ufimtseva
* vsyscall in Linux (fair)
- Konrad Rzeszutek Wilk
* COLO Agent in Linux (fair)
- Gui Jianfeng - Yang Hongyang - Dong, Eddie
* vAPIC in PVHVM guests (Linux side) (none)
- Boris Ostrovsky
* pvSCSI (ok)
Initial patch posted.
- Juergen Gross
== FreeBSD ==
* PVH FreeBSD dom0 (ok)
FreeBSD 11 goal. Toolstack side done in Xen 4.5
- Roger Pau Monné
== Other OSes (MiniOS, QNX) ==
* PV drivers for automotive kernels (fair)
- Artem Mygaiev
* mini-os: xenbus changes for rump kernels (ok)
git://xenbits.xen.org/people/iwj/rumpuser-xen.git
branch: base.dev-xen-xenbus.v1..dev-xen-xenbus.v1 v2 posted
- Ian Jackson
== GRUB2 ==
* GRUB2 multiboot2 (fair)
- Daniel Kiper
== OSSTEST ==
* OSSTest: libvirt (good)
- Ian Campbell
== Deferred to Xen 4.6 ==
* IOMMU ABI for guests to map their DMA regions (fair)
- Malcolm Crossley
* xl list --long (and some related xl commands) have some bugs (none)
- Zhigang Wang
* Xen HPET interrupt fixes (fair)
behind migration v2
- Andrew Cooper
* Convert tasklet to per-cpu tasklets (fair)
- Konrad Rzeszutek Wilk
* ARM VM save/restore/live migration (none) Need to rebased against migrationv2 - no code posted.
- Junghyun Yoo
* Default to credit2 (none)
cpu pinning, numa affinity and cpu reservation
- George Dunlap
* "Short" grant copy (just header) of packets. (none)
- Zoltan Kiss
* cpuid leveling (none)
http://xenbits.xen.org/people/andrewcoop/feature-levelling/feature-levelling-D.pdf
- Andrew Cooper
* live migration knobs, there is no suitable code yet, just ideas (none)
http://lists.xenproject.org/archives/html/xen-devel/2014-03/msg00785.html
- Olaf Hering
* Further tmem cleanups/fixes (16TB etc) (fair)
- Bob Liu
* AMD Radeon PCI GPU passthrough (none)
Focusing on Xen 4.2 and qemu-traditional
- Kelly Zytaruk
* xl does not handle migrate interruption gracefully (none)
If you start a localhost migrate, and press "Ctrl-C" in the middle, you get two hung domains
- Ian Jackson
* IO-NUMA - hwloc and xl (none)
Andrew Cooper had an RFC patch for hwloc
- Boris Ostrovsky
* HVM guest NUMA (none)
- Matt Wilson
* PVH - Migration of PVH DomUs. (none)
Depends on migration2 code
- Roger Pau Monné
* PVH - Migration of guests from a PVH dom0 (none) Depends on migration2 code
- Roger Pau Monné
* ARM GICv2m support (none)
- Linaro (unknown)
== Up for grabs ==
* OSSTest - also test Linux PVH guests
* PoD fixes
if you boot with memory <= maxmem we have a size estimation bug
* TLB flushing without locks in Xen
* xl does not support specifying virtual function for passthrough device
http://bugs.xenproject.org/xen/bug/22
* PCI hole resize support hvmloader/qemu-traditional/qemu-upstream with PCI/GPU passthrough
http://bugs.xenproject.org/xen/bug/28
* libx{c,l} error handling cleanup
* Adding missing 'xend' features in libxl
* xl list -l on a dom0-only system
* xl list -l doesn't contain tty console port
* xl: passing more defaults in configuration in xl.conf
There are a number of options for which it might be useful to pass a default in xl.conf. For example, if we could have a default "backend" parameter for vifs, then it would be easy to switch back and forth between a backend in a driver domain and a backend in dom0.
* PVH - PVH working with shadow.
Based on Tim's work
* PVH - PCI passthrough for DomU.
* AMD performance regressions
* Performance due to hypercall preemption. More preemptions - slower. (none)
== Completed ==
* alternative_asm in Xen (done)
- Feng Wu
* SMAP (done)
- Feng Wu
* Re-write of vHPET (done)
aka hvm/hpet: Detect comparator values in the past
- Don Slutz
* vAPIC in PVHVM guests (Xen side) (done)
- Boris Ostrovsky
* libvirt and xl discard support, so that libvirt can start using it (done)
- Olaf Hering
* Xen PVH dom0 (done)
- Mukesh Rathor
* Linux PVH dom0 (done)
- Mukesh Rathor
* OSSTest: upstream QEMU (done)
- Ian Campbell
* amd_ucode cleanups, verify patch size(enhancement) (mostly in master except one patch)
* Data breakpoint Extension support (new-feat) (in master)
* Feature masking MSR support (enhancement) (in master)
* Support BRCM TruManage chip (Serial over LAN support) (new-feat) (in master)
* fix vmce_amd* functions, unify mce_amd mcheck initialization (fixes/cleanups)
* multiple AMD container files appended together in initrd (early initramfs)
- Aravind and Suravee
* NUMA memory scrubbing (done)
- Konrad Rzeszutek Wilk
* ARM - IOMMU support (done)
- Julien Grall
* ioreq-server, aka secondary emulators (done)
- Paul Durrant
* Netback multiqueue (good)
- Wei Liu
* ARM Interrupt latency reduction (no maintenance interrupts) (good)
- Stefano Stabellini
* Bigger PCI hole in QEMU (done)
Needs to be rebased
- Don Slutz
* ARM DRA7 support (done)
v3 posted
v3 with comments applied
- Andrii Tseglytskyi
* rework VM Generation ID (done)
v7 posted
- David Vrabel
* Soft affinity for vcpus (was NUMA affinity for vcpus) (good) v11 posted
- Dario Faggioli
* Linux pvops of Xen EFI hypercall support (done)
- Daniel Kiper
* ARM: Use super pages in p2m (done)
v5 posted
- Ian Campbell
* QEMU 2.0 branch for qemu-upstream (done)
It is v2.0 with 2.1 Xen backports.
- Stefano Stabellini
* systemd support (done)
v11
- Luis R. Rodriguez
* Soft affinity for vcpus libxl/xl changes (done) v13 posted
- Dario Faggioli
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 5 lines · On 08/15/14 13:23, [email protected] wrote:
Below is a summary of the projects / features being worked on for the 4.5 time frame. The tentative feature freeze is scheduled for September 10th, which is less than one month away. This being the summer some folks are talking vacation, so that month might be a lot less.
...
Quoted 6 lines
none - nothing yet
fair - still working on it, patches are prototypes or RFC
ok - patches posted, acting on review
good - some last minute pieces
done - all done, might have bugs
...
Quoted 4 lines
* VMware backdoor (hypercall) (ok)
Needs to be split up and redone
- Don Slutz
Still making review changes. And then the re-spliting into a good patch set still needs to be done. So I think this is still in the ok state.
-Don Slutz
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 15.08.14 at 19:23, <[email protected]> wrote:
* Xen multiboot2-EFI support (fair)
Needed for SecureBoot
Depends on Xen Boot info (rework multiboot and other structs) See http://lists.xen.org/archives/html/xen-devel/2013-05/msg02281.html
RFC posted
- Daniel Kiper
I think the qualification above should be changed from "Needed for SecureBoot" to "Needed to work with GrUB2" - after all, secure booting works quite fine without that code in place.
Quoted 2 lines
* 1TB slow destruction (ok)
- Bob Liu
I haven't seen any progress here for quite a while, and based on the last iteration I don't think this will get ready in time.
Quoted 3 lines
* Support controlling the max C-state sub-state (ok) v3 posted
- Ross Lagerwall
This is stalled on a conceptional issue (it being unclear how to express this via a meaningful command line option value).
Jan
Quoted 11 lines · Jan Beulich
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 15.08.14 at 19:23, <[email protected]> wrote:
* Xen multiboot2-EFI support (fair)
Needed for SecureBoot
Depends on Xen Boot info (rework multiboot and other structs) See http://lists.xen.org/archives/html/xen-devel/2013-05/msg02281.html
RFC posted
- Daniel KiperI think the qualification above should be changed from "Needed for SecureBoot" to "Needed to work with GrUB2" - after all, secure booting works quite fine without that code in place.
<nods> Is there an document describing how to do that? (I presume you need to build xen.efi with a signature?)
Quoted 6 lines
Quoted 3 lines
* 1TB slow destruction (ok)
- Bob LiuI haven't seen any progress here for quite a while, and based on the last iteration I don't think this will get ready in time.
Good point. Moving it to defered.
Quoted 7 lines
Quoted 4 lines
* Support controlling the max C-state sub-state (ok) v3 posted
- Ross LagerwallThis is stalled on a conceptional issue (it being unclear how to express this via a meaningful command line option value).
OK, moving to defered.
Quoted 3 lines
Jan
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 15.08.14 at 21:46, <[email protected]> wrote:
Quoted 8 lines · Jan Beulich
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 15.08.14 at 19:23, <[email protected]> wrote:
* Xen multiboot2-EFI support (fair)
Needed for SecureBoot
Depends on Xen Boot info (rework multiboot and other structs) See http://lists.xen.org/archives/html/xen-devel/2013-05/msg02281.html
RFC posted
- Daniel Kiper
Quoted 5 lines
Quoted 3 lines
I think the qualification above should be changed from "Needed for SecureBoot" to "Needed to work with GrUB2" - after all, secure booting works quite fine without that code in place.
<nods> Is there an document describing how to do that?
I don't know of one, but that doesn't mean much. Iirc this involves a small custom patch to the boot loader unless you'd set things up so the shim would load xen.efi directly (not sure whether that actually works).
Quoted 1 line
(I presume you need to build xen.efi with a signature?)
Yes.
Jan
Quoted 11 lines
The "prognosis" is now the likelihood of completion in the 4.5 timeframe. A bunch of items had moved to the completed phase which is fantastic.
none - nothing yet
fair - still working on it, patches are prototypes or RFC
ok - patches posted, acting on review
good - some last minute pieces
done - all done, might have bugs
* XenRT (Preemptive Global Earliest Deadline First) (fair)
Quoted 3 lines
RFC patch posted (v2)
- Meng Xu
The RFC patch v3 will be released next week and the RFC patch v4 (last one) will be released before the Xen 4.5 feature freeze. both of the following two patches are focusing on improving the performance of the scheduler.
Although it's a RFC patch, the XenRT can actually works well on the machines we have. It currently has the preemptive global EDF scheduler. The functionalities I'm currently working on is improving its performance based on the review of the first version of patches.
Thanks,
Meng
Signature · 4 lines
----------- Meng Xu PhD Student in Computer and Information Science University of Pennsylvania
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 21 lines · Meng Xu
The "prognosis" is now the likelihood of completion in the 4.5 timeframe.
A bunch of items had moved to the completed phase which is fantastic.none - nothing yet
fair - still working on it, patches are prototypes or RFC
ok - patches posted, acting on review
good - some last minute pieces
done - all done, might have bugs* XenRT (Preemptive Global Earliest Deadline First) (fair) RFC patch posted (v2)
- Meng Xu
Quoted 5 lines
Although it's a RFC patch, the XenRT can actually works well on the machines we have. It currently has the preemptive global EDF scheduler. The functionalities I'm currently working on is improving its performance based on the review of the first version of patches.
If this is the case, I think you should drop the RFC tag/status.
The idea is this: if you are asking the Xen dev community to provide some feedback on an idea/prototype implementation, then keep the RFC tag. If you are proposing something for inclusion in upstream Xen and, at least according to your own opinion, the code you are submitting is good enough to be included, then you need to drop the RFC tag.
Then, of course, there will still be reviews, changes will be requested, new versions, etc., but it's important to mark the difference between these two phases, as said, by either retaining or dripping the tag.
Basing on what you're saying (i.e., that you're working on performances optimizations), on how the last patch series looked and on the comments you got, I think it would be fine for you to send the next round of patches as proper v1, rather than "RFC v3", but that's, of course, up to you. :-)
Regards,
Dario
Signature · 4 lines
<<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Hi Dario,
Quoted 36 lines
Quoted 19 lines
The "prognosis" is now the likelihood of completion in the 4.5 timeframe.
A bunch of items had moved to the completed phase which is fantastic.none - nothing yet
fair - still working on it, patches are prototypes or RFC
ok - patches posted, acting on review
good - some last minute pieces
done - all done, might have bugs* XenRT (Preemptive Global Earliest Deadline First) (fair) RFC patch posted (v2)
- Meng XuQuoted 5 lines
Although it's a RFC patch, the XenRT can actually works well on the machines we have. It currently has the preemptive global EDF scheduler. The functionalities I'm currently working on is improving its performance based on the review of the first version of patches.
If this is the case, I think you should drop the RFC tag/status.
The idea is this: if you are asking the Xen dev community to provide some feedback on an idea/prototype implementation, then keep the RFC tag. If you are proposing something for inclusion in upstream Xen and, at least according to your own opinion, the code you are submitting is good enough to be included, then you need to drop the RFC tag.
Then, of course, there will still be reviews, changes will be requested, new versions, etc., but it's important to mark the difference between these two phases, as said, by either retaining or dripping the tag.
Quoted 6 lines
Basing on what you're saying (i.e., that you're working on performances optimizations), on how the last patch series looked and on the comments you got, I think it would be fine for you to send the next round of patches as proper v1, rather than "RFC v3", but that's, of course, up to you. :-)
Thank you very much for your advice! I will drop the RFC then in the next round of patches (this week).
Best,
Meng
Signature · 4 lines
----------- Meng Xu PhD Student in Computer and Information Science University of Pennsylvania
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 10 lines · On ven, 2014-08-15 at 13:23 -0400, [email protected] wrote:
= Open =
== x86 ==
* HT enabled, virtualization overhead is high (Xen 4.4) (none) kernbench demonstrated it
Looking and tracing
http://www.gossamer-threads.com/lists/xen/devel/339409
- Dario Faggioli
Mmm... I realize only now that I must have missed your last email about this... So, sorry.
In any case, didn't we settle on closing it? The bullet is here because very high perf degradation between baremetal and HVM DomU was seen when running `kernbench -j' (i.e., kernbench with unlimited number of build jobs) with HT enabled.
Both me and other people tried to reproduce the issue, and here's the number:
HT Enabled
==========
Host Guest kernbench -j4 31.598 (0.113666) 34.078 (0.168582) kernbench -j8 26.676 (0.16772) 26.672 (0.0432435) kernbench -j 27.674 (0.933584) 27.49 (0.364897)
To me, this means we don't have an issue of high virtualization overhead when HT is enabled (look at the last row!).
All the other things that came up in previous threads are not to be ignored or forgot, of course, and I won't, but they don't have anything to do with this.
Let me know,
Dario
Signature · 4 lines
<<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 25 lines · Dario Faggioli
Quoted 10 lines · On ven, 2014-08-15 at 13:23 -0400, [email protected] wrote:
= Open =
== x86 ==
* HT enabled, virtualization overhead is high (Xen 4.4) (none) kernbench demonstrated it
Looking and tracing
http://www.gossamer-threads.com/lists/xen/devel/339409
- Dario FaggioliMmm... I realize only now that I must have missed your last email about this... So, sorry.
In any case, didn't we settle on closing it? The bullet is here because very high perf degradation between baremetal and HVM DomU was seen when running `kernbench -j' (i.e., kernbench with unlimited number of build jobs) with HT enabled.
Both me and other people tried to reproduce the issue, and here's the number:
HT Enabled
==========
Quoted 7 lines
Host Guest kernbench -j4 31.598 (0.113666) 34.078 (0.168582) kernbench -j8 26.676 (0.16772) 26.672 (0.0432435) kernbench -j 27.674 (0.933584) 27.49 (0.364897)To me, this means we don't have an issue of high virtualization overhead when HT is enabled (look at the last row!).
Ok, so false alarm. Thank you!
Quoted 14 lines
All the other things that came up in previous threads are not to be ignored or forgot, of course, and I won't, but they don't have anything to do with this.
Let me know,
DarioSignature · 4 lines
<<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)