Skip to contentSkip to conversation

Will Xen 4.0 release use the pv-ops kernel despite it's performance hit

DISCUSSION Tom Rotenberg 5 participants 9 messages Dec 20, 2009 – Dec 21, 2009

lore
Share & tools
lore
#0 lore raw

Hi All,

Will Xen 4.0 release use the pv-ops kernel, despite the fact that it has about ~15% hit in performance?
This is a major performance hit, and releasing a new Xen version with a 15% performance hit in the dom0 kernel compared to a previous version, will just cause people not to upgrade to Xen 4.0 (especially if Xen 4.0, won't support the old 2.6.18 xen kernel anymore).

Is this performance issue going to be addressed prior to Xen 4.0 release?

Tom

#1 lore raw
Quoted 8 lines · Tom Rotenberg

Will Xen 4.0 release use the pv-ops kernel, despite the fact that it has about ~15% hit in performance?
This is a major performance hit, and releasing a new Xen version with a 15% performance hit in the dom0 kernel compared to a previous version, will just cause people not to upgrade to Xen 4.0 (especially if Xen 4.0, won't support the old 2.6.18 xen kernel anymore).

Is this performance issue going to be addressed prior to Xen 4.0 release?

Work on both stabilisation and performance will be ongoing. But bear in mind that upgrading to Xen 4.0 will not require users to switch to pv_ops dom0.

-- Keir

#2 lore raw

OK.

I just thought i saw Jeremy's mail about changing the APIC logic in Xen to conform to the pv-ops kernel, which i thought will cause new Xen not to work with old dom0 kernel. This isn't the case?

Quoted 18 lines · Keir Fraser
Quoted 8 lines · Tom Rotenberg

Will Xen 4.0 release use the pv-ops kernel, despite the fact that it has about ~15% hit in performance?
This is a major performance hit, and releasing a new Xen version with a 15% performance hit in the dom0 kernel compared to a previous version, will just cause people not to upgrade to Xen 4.0 (especially if Xen 4.0, won't support the old 2.6.18 xen kernel anymore).

Is this performance issue going to be addressed prior to Xen 4.0 release?

Work on both stabilisation and performance will be ongoing. But bear in mind that upgrading to Xen 4.0 will not require users to switch to pv_ops dom0.

 -- Keir

#3 lore raw
Quoted 5 lines · Tom Rotenberg

OK.

I just thought i saw Jeremy's mail about changing the APIC logic in Xen to conform to the pv-ops kernel, which i thought will cause new Xen not to work with old dom0 kernel. This isn't the case?

As I know, new Xen should work with old dom0 after APIC logic changes, but new dom0 may not be able to run on old Xen. To make new dom0 work with old Xen hypervisor, has to backport two small patches Cset#20491 and Cset20509. Keir,
Do you think we should backport them to Xen3.4-testing tree ? Since logic has no any change, and just added a new hypercall, I think they should be good to xen-3.4-testing tree ? :)
Xiantao

Quoted 29 lines
Quoted 11 lines · Keir Fraser
Quoted 9 lines · Tom Rotenberg

Will Xen 4.0 release use the pv-ops kernel, despite the fact that it has about ~15% hit in performance?
This is a major performance hit, and releasing a new Xen version with
a 15% performance hit in the dom0 kernel compared to a previous version, will just cause people not to upgrade to Xen 4.0 (especially
if Xen 4.0, won't support the old 2.6.18 xen kernel anymore).

Quoted 11 lines
Quoted 2 lines

Is this performance issue going to be addressed prior to Xen 4.0 release?

Work on both stabilisation and performance will be ongoing. But bear in mind that upgrading to Xen 4.0 will not require users to switch to pv_ops dom0.

 -- Keir

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

#4 lore raw
Quoted 6 lines · Xiantao
Quoted 5 lines

OK.

I just thought i saw Jeremy's mail about changing the APIC logic in Xen to conform to the pv-ops kernel, which i thought will cause new Xen not to work with old dom0 kernel. This isn't the case?

Quoted 7 lines

As I know, new Xen should work with old dom0 after APIC logic changes, but new dom0 may not be able to run on old Xen. To make new dom0 work with old Xen hypervisor, has to backport two small patches Cset#20491 and Cset20509. Keir,
Do you think we should backport them to Xen3.4-testing tree ? Since logic
has no any change, and just added a new hypercall, I think they should be good to xen-3.4-testing tree ? :)

Yes, go ahead. They do require backporting (and testing) -- they don't apply as-is.

-- Keir

#5 lore raw
Quoted 17 lines · Keir Fraser
Quoted 6 lines · Xiantao
Quoted 5 lines

OK.

I just thought i saw Jeremy's mail about changing the APIC logic in Xen to conform to the pv-ops kernel, which i thought will cause new Xen not to work with old dom0 kernel. This isn't the case?

Quoted 8 lines

As I know, new Xen should work with old dom0 after APIC logic changes, but new dom0 may not be able to run on old Xen. To make new dom0 work with old Xen hypervisor, has to backport two small patches Cset#20491 and Cset20509.
Keir,
Do you think we should backport them to Xen3.4-testing tree ?
Since logic has no any change, and just added a new hypercall, I think they should be good to xen-3.4-testing tree ? :)

Quoted 2 lines

Yes, go ahead. They do require backporting (and testing) -- they don't apply as-is.

Okay, I will backport them and send it out later.
Xiantao

#6 lore raw
In reply to Tom Rotenberg

It's the other way round: using newer pv_ops dom0 will require a newer version of Xen (4.0, or perhaps a newer 3.4.x if I backport the patches). Compatibility is not broken the other way round (new Xen, old dom0), and never should be.

-- Keir

Quoted 26 lines · Tom Rotenberg

OK.

I just thought i saw Jeremy's mail about changing the APIC logic in Xen to conform to the pv-ops kernel, which i thought will cause new Xen not to work with old dom0 kernel. This isn't the case?

Quoted 18 lines · Keir Fraser
Quoted 8 lines · Tom Rotenberg

Will Xen 4.0 release use the pv-ops kernel, despite the fact that it has about ~15% hit in performance?
This is a major performance hit, and releasing a new Xen version with a 15% performance hit in the dom0 kernel compared to a previous version, will just cause people not to upgrade to Xen 4.0 (especially if Xen 4.0, won't support the old 2.6.18 xen kernel anymore).

Is this performance issue going to be addressed prior to Xen 4.0 release?

Work on both stabilisation and performance will be ongoing. But bear in mind that upgrading to Xen 4.0 will not require users to switch to pv_ops dom0.

 -- Keir

#7 lore raw
In reply to Tom Rotenberg
Quoted 4 lines · Tom Rotenberg

I just thought i saw Jeremy's mail about changing the APIC logic in Xen to conform to the pv-ops kernel, which i thought will cause new Xen not to work with old dom0 kernel. This isn't the case?

No. Future pvops dom0 kernels will require Xen >= 4.0. Xen 4.0 will still support older dom0 kernels.

BTW, I haven't measured pvops dom0 performance, but there's no particular reason to believe there'll be a big hit (the performance hit I was talking about refers to the overhead of fork/exec-heavy workloads, which is very unlike dom0's workload).

J

#8 lore raw
In reply to Tom Rotenberg
Quoted 6 lines · Tom Rotenberg

Hi All,

Will Xen 4.0 release use the pv-ops kernel, despite the fact that it has about ~15% hit in performance?
This is a major performance hit, and releasing a new Xen version with a 15% performance hit in the dom0 kernel compared to a previous

I am quite curious about this. Earlier in November I asked about this and was told the same issue - but no hard numbers. Recently Jun from Intel mentioned that they had run performance numbers that they would share in Xen-conference in Asia (wasn't there, bummer) and which would be posted on xen-devel (Jun: hint hint).

The numbers they listed was ~5% (this is 2.6.31 dom0 compared to 2.6.18 dom0). Thought I don't remember if baremetal 2.6.31 vs baremetal 2.6.18 has the ~5% degredation as well?

I don't have the hard numbers, and I haven't come to the stage where I can start tracking this down, so I was wondering if somebody else in the community had done this? And perhaps also run the right profiling tool to figure out where the hit is happening?

Quoted 1 line

Is this performance issue going to be addressed prior to Xen 4.0 release?

I know that one of the issues for DomU was resolved a couple of months ago. But besides that we are working on stabilizing the kernel first.

It goes without saying that any help in the performance department (especially collecting profile data as this is happening) would be much appreciated.