Skip to contentSkip to conversation

pvops upstream status

DISCUSSION Juergen Gross 7 participants 9 messages Jun 17, 2014 – Jun 24, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

I'd like to update the wiki page

http://wiki.xenproject.org/wiki/XenParavirtOps

regarding the current status of the pvops kernel. I've just started to collect the missing bits and who is working on them. Up to now I have a SUSE internal list, some data from Konrad, and, of course, the EFI patches sent by Daniel last week:

- EFI support (patches posted by Daniel Kiper on 13.06.2014)
- use of PAT (i.e. WC memory type) not possible
- microcode loader (runtime)
- 500Gb+ support
- expected to be dead (under Xen) code cannot be easily verified to indeed be dead (e.g. IOMMU, PCI ATS, PRI, and PASID), leaving the risk of bad interaction between hypervisor and Dom0 if a new, active user of that code appears and goes unnoticed
- user mode pvclock
- possibly not suitable for pre-4.0.1 hypervisor (definitely not as Dom0)
- blktap (blktap3 replacement stalled)
- pvSCSI
- pvUSB
- oprofile (perf implementation having got started by Boris)
- some SUSE internal enhancement patches

Done:
- memory hotplug (available 3.9)
- ACPI Sx handling (3.11)
- not using ticket locks (3.12)
- NMI injection/delivery (3.12)
- kexec (implementation not requiring a kernel layer in place)
- MSI-X possibly broken (fixed in 3.14)
- multi-vector MSI (3.15)

I'll add above stuff to the wiki. Any further information is appreciated especially regarding who is currently working on any of the above or not mentioned topics. Missing topics not mentioned here with nobody working on them are welcomed, too.

Juergen

#1 lore raw
Quoted 11 lines · Juergen Gross

Hi,

I'd like to update the wiki page

http://wiki.xenproject.org/wiki/XenParavirtOps

regarding the current status of the pvops kernel. I've just started to collect the missing bits and who is working on them. Up to now I have a SUSE internal list, some data from Konrad, and, of course, the EFI patches sent by Daniel last week:

Quoted 9 lines

- EFI support (patches posted by Daniel Kiper on 13.06.2014)
- use of PAT (i.e. WC memory type) not possible
- microcode loader (runtime)
- 500Gb+ support
- expected to be dead (under Xen) code cannot be easily verified to indeed be dead (e.g. IOMMU, PCI ATS, PRI, and PASID), leaving the risk of bad interaction between hypervisor and Dom0 if a new, active user of that code appears and goes unnoticed
- user mode pvclock

that would something I had been looking at and hope to have some patches soon out.

Quoted 29 lines

- possibly not suitable for pre-4.0.1 hypervisor (definitely not as Dom0)
- blktap (blktap3 replacement stalled)
- pvSCSI
- pvUSB
- oprofile (perf implementation having got started by Boris)
- some SUSE internal enhancement patches

Done:
- memory hotplug (available 3.9)
- ACPI Sx handling (3.11)
- not using ticket locks (3.12)
- NMI injection/delivery (3.12)
- kexec (implementation not requiring a kernel layer in place)
- MSI-X possibly broken (fixed in 3.14)
- multi-vector MSI (3.15)

I'll add above stuff to the wiki. Any further information is appreciated especially regarding who is currently working on any of the above or not mentioned topics. Missing topics not mentioned here with nobody working on them are welcomed, too.

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw
In reply to Juergen Gross

Il 17/06/2014 11:52, Juergen Gross ha scritto:

Quoted 11 lines

Hi,

I'd like to update the wiki page

http://wiki.xenproject.org/wiki/XenParavirtOps

regarding the current status of the pvops kernel. I've just started to collect the missing bits and who is working on them. Up to now I have a SUSE internal list, some data from Konrad, and, of course, the EFI patches sent by Daniel last week:

Quoted 12 lines

- EFI support (patches posted by Daniel Kiper on 13.06.2014)
- use of PAT (i.e. WC memory type) not possible
- microcode loader (runtime)
- 500Gb+ support
- expected to be dead (under Xen) code cannot be easily verified to indeed be dead (e.g. IOMMU, PCI ATS, PRI, and PASID), leaving the risk of bad interaction between hypervisor and Dom0 if a new, active user of that code appears and goes unnoticed
- user mode pvclock
- possibly not suitable for pre-4.0.1 hypervisor (definitely not as Dom0)
- blktap (blktap3 replacement stalled)

I think blktap is no more needed, qdisk of qemu upstream (already used by xen) has much superior performance. One my first benchmark of long time ago in attachment.

Quoted 20 lines

- pvSCSI
- pvUSB
- oprofile (perf implementation having got started by Boris)
- some SUSE internal enhancement patches

Done:
- memory hotplug (available 3.9)
- ACPI Sx handling (3.11)
- not using ticket locks (3.12)
- NMI injection/delivery (3.12)
- kexec (implementation not requiring a kernel layer in place)
- MSI-X possibly broken (fixed in 3.14)
- multi-vector MSI (3.15)

I'll add above stuff to the wiki. Any further information is appreciated especially regarding who is currently working on any of the above or not mentioned topics. Missing topics not mentioned here with nobody working on them are welcomed, too.

Quoted 6 lines

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw
Quoted 25 lines · Fabio Fantoni

Il 17/06/2014 11:52, Juergen Gross ha scritto:

Quoted 11 lines

Hi,

I'd like to update the wiki page

http://wiki.xenproject.org/wiki/XenParavirtOps

regarding the current status of the pvops kernel. I've just started to collect the missing bits and who is working on them. Up to now I have a SUSE internal list, some data from Konrad, and, of course, the EFI patches sent by Daniel last week:

Quoted 12 lines

- EFI support (patches posted by Daniel Kiper on 13.06.2014)
- use of PAT (i.e. WC memory type) not possible
- microcode loader (runtime)
- 500Gb+ support
- expected to be dead (under Xen) code cannot be easily verified to indeed be dead (e.g. IOMMU, PCI ATS, PRI, and PASID), leaving the risk of bad interaction between hypervisor and Dom0 if a new, active user of that code appears and goes unnoticed
- user mode pvclock
- possibly not suitable for pre-4.0.1 hypervisor (definitely not as Dom0)
- blktap (blktap3 replacement stalled)

Quoted 3 lines

I think blktap is no more needed, qdisk of qemu upstream (already used by xen) has much superior performance.
One my first benchmark of long time ago in attachment.

Okay, noted. We'll have to verify that all blktap protocols and scenarios are handled properly and with good performance by qdisk.

Thanks, Juergen

#4 lore raw

Il 17/06/2014 15:34, Juergen Gross ha scritto:

Quoted 26 lines · Fabio Fantoni
Quoted 25 lines

Il 17/06/2014 11:52, Juergen Gross ha scritto:

Quoted 23 lines

Hi,

I'd like to update the wiki page

http://wiki.xenproject.org/wiki/XenParavirtOps

regarding the current status of the pvops kernel. I've just started to collect the missing bits and who is working on them. Up to now I have a SUSE internal list, some data from Konrad, and, of course, the EFI patches sent by Daniel last week:

- EFI support (patches posted by Daniel Kiper on 13.06.2014)
- use of PAT (i.e. WC memory type) not possible
- microcode loader (runtime)
- 500Gb+ support
- expected to be dead (under Xen) code cannot be easily verified to indeed be dead (e.g. IOMMU, PCI ATS, PRI, and PASID), leaving the risk of bad interaction between hypervisor and Dom0 if a new, active user of that code appears and goes unnoticed
- user mode pvclock
- possibly not suitable for pre-4.0.1 hypervisor (definitely not as Dom0)
- blktap (blktap3 replacement stalled)

Quoted 8 lines
Quoted 3 lines

I think blktap is no more needed, qdisk of qemu upstream (already used by xen) has much superior performance.
One my first benchmark of long time ago in attachment.

Okay, noted. We'll have to verify that all blktap protocols and scenarios are handled properly and with good performance by qdisk.

Thanks, Juergen

My test was only with raw image, for what I read time ago probably the only problem should be with vhd format they said needed improvements on qemu but they might have done in the meantime (if I remember good I read it 2 year ago).

#5 lore raw

Re: pvops upstream status - VHD

Hello,

Quoted 4 lines · Fabio Fantoni

My test was only with raw image, for what I read time ago probably the only problem should be with vhd format they said needed improvements on qemu but they might have done in the meantime (if I remember good I read it 2 year ago).

VHD in QEMU had very little changes, differencing images are still not supported (I have a WIP patch which supports reading, but write seems to be broken). What's also missing it support for the journaling extension, which vhd-utils supports.
VHDX support seems to be a lot better in QEMU (and non-existent in chd-utils), which AFAIK has removed some limitations of VHD (image size, journaling support), so my personal opinion would classify VHD as legacy, for which read support is good to have, but write support is less important.

Philipp

#6 lore raw
In reply to Juergen Gross
Quoted 26 lines · you
Quoted 25 lines · Fabio Fantoni

Il 17/06/2014 11:52, Juergen Gross ha scritto:

Quoted 23 lines

Hi,

I'd like to update the wiki page

http://wiki.xenproject.org/wiki/XenParavirtOps

regarding the current status of the pvops kernel. I've just started to collect the missing bits and who is working on them. Up to now I have a SUSE internal list, some data from Konrad, and, of course, the EFI patches sent by Daniel last week:

- EFI support (patches posted by Daniel Kiper on 13.06.2014)
- use of PAT (i.e. WC memory type) not possible
- microcode loader (runtime)
- 500Gb+ support
- expected to be dead (under Xen) code cannot be easily verified to indeed be dead (e.g. IOMMU, PCI ATS, PRI, and PASID), leaving the risk of bad interaction between hypervisor and Dom0 if a new, active user of that code appears and goes unnoticed
- user mode pvclock
- possibly not suitable for pre-4.0.1 hypervisor (definitely not as Dom0)
- blktap (blktap3 replacement stalled)

Quoted 8 lines
Quoted 3 lines

I think blktap is no more needed, qdisk of qemu upstream (already used by xen) has much superior performance.
One my first benchmark of long time ago in attachment.

Okay, noted. We'll have to verify that all blktap protocols and scenarios are handled properly and with good performance by qdisk.

Thanks, Juergen

Another benchmark:
https://events.linuxfoundation.org/sites/events/files/slides/20131025%20-%20Storage%20Performance%20PDF.pdf

seems to show not that much difference between tapdisk and qdisk (both relatively slow compared to blkback)

--
Sander

#7 lore raw
Quoted 35 lines · Sander Eikelenboom
Quoted 32 lines · you
Quoted 25 lines · Fabio Fantoni

Il 17/06/2014 11:52, Juergen Gross ha scritto:

Quoted 11 lines

Hi,

I'd like to update the wiki page

http://wiki.xenproject.org/wiki/XenParavirtOps

regarding the current status of the pvops kernel. I've just started to collect the missing bits and who is working on them. Up to now I have a SUSE internal list, some data from Konrad, and, of course, the EFI patches sent by Daniel last week:

Quoted 12 lines

- EFI support (patches posted by Daniel Kiper on 13.06.2014)
- use of PAT (i.e. WC memory type) not possible
- microcode loader (runtime)
- 500Gb+ support
- expected to be dead (under Xen) code cannot be easily verified to indeed be dead (e.g. IOMMU, PCI ATS, PRI, and PASID), leaving the risk of bad interaction between hypervisor and Dom0 if a new, active user of that code appears and goes unnoticed
- user mode pvclock
- possibly not suitable for pre-4.0.1 hypervisor (definitely not as Dom0)
- blktap (blktap3 replacement stalled)

Quoted 3 lines

I think blktap is no more needed, qdisk of qemu upstream (already used by xen) has much superior performance.
One my first benchmark of long time ago in attachment.

Okay, noted. We'll have to verify that all blktap protocols and scenarios are handled properly and with good performance by qdisk.

Quoted 7 lines
Quoted 1 line

Thanks, Juergen

Another benchmark:
https://events.linuxfoundation.org/sites/events/files/slides/20131025%20-%20Storage%20Performance%20PDF.pdf

seems to show not that much difference between tapdisk and qdisk (both relatively slow compared to blkback)

qdisk should be a very good replacement, even better than blktap unless the guest image format is vhd, in that case blktap has better support for the format.
Of course guest images can be converted to raw or qcow2 using qemu-img.

#8 lore raw
In reply to Juergen Gross
Quoted 28 lines · Juergen Gross

Hi,

I'd like to update the wiki page

http://wiki.xenproject.org/wiki/XenParavirtOps

regarding the current status of the pvops kernel. I've just started to collect the missing bits and who is working on them. Up to now I have a SUSE internal list, some data from Konrad, and, of course, the EFI patches sent by Daniel last week:

- EFI support (patches posted by Daniel Kiper on 13.06.2014)
- use of PAT (i.e. WC memory type) not possible
- microcode loader (runtime)
- 500Gb+ support
- expected to be dead (under Xen) code cannot be easily verified to indeed be dead (e.g. IOMMU, PCI ATS, PRI, and PASID), leaving the risk of bad interaction between hypervisor and Dom0 if a new, active user of that code appears and goes unnoticed
- user mode pvclock
- possibly not suitable for pre-4.0.1 hypervisor (definitely not as Dom0)
- blktap (blktap3 replacement stalled)
- pvSCSI
- pvUSB
- oprofile (perf implementation having got started by Boris)
- some SUSE internal enhancement patches

Quoted 6 lines

Done:
- memory hotplug (available 3.9)
- ACPI Sx handling (3.11)
- not using ticket locks (3.12)
- NMI injection/delivery (3.12)
- kexec (implementation not requiring a kernel layer in place)

Please remove kexec/kdump stuff from "Work in progress for 3.10" paragraph or even completely delete it because it is a bit outdated.

Daniel