Skip to contentSkip to conversation

Xen/Linux 3.4.2 performance

Fedora-xen Konrad Rzeszutek Wilk 2 participants 2 messages Aug 2, 2012 – Aug 3, 2012 4 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 16 lines · Konrad Rzeszutek Wilk
Quoted 5 lines · W. Michael Petullo
Quoted 5 lines
Quoted 2 lines

We have seen a significant reduction in performance in our research DomU OS kernel when running on Fedora 16 with Linux 3.4.2 vs. 3.3.7. We run

a series of benchmarks which are DomU-kernel-space-CPU-heavy; many of

Quoted 2 lines

these run 10x slower when using the 3.4.2 Linux kernel as Dom0.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

This is a little surprising---we've been tracking the Fedora kernels for a long time with no problem like this. Did anyone else notice any changes?

Just to verify.. both the 3.3.7 and 3.4.2 Linux kernel are 'release' builds? and not debug-versions from rawhide?

Yes, they are the Fedora 16 release builds.

The commits that went in (3.4) were:

...

Quoted 5 lines

So one thing that you might be hitting is that now the CPU freq driver is uploading the data to the hypervisor - the hypervisor might be doing power-save stuff instead of concentrating on giving your raw performance.

So can you start with 'cpufreq=verbose,performance' on your hypervisor line.

Michael openned a bug and on it we found that the xen-acpi-processor.off=1 would solve the performance problem. What that does is to not upload C-states and P-states information to the hypervisor. So I pulled up an AMD box and found that the problem is only if hypervisor enters C-2 states. If I do 'xenpm set-max-cstate 1' it gets back to working nicely.

Wei, any ideas? This is with Xen 4.1

--
xen mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/xen

#5 lore raw
Quoted 8 lines
Quoted 1 line
Quoted 1 line · Konrad Rzeszutek Wilk

Michael openned a bug and on it we found that the xen-acpi-processor.off=1 would solve the performance problem. What that does is to not upload C-states and P-states information to the hypervisor. So I pulled up an AMD box and found that the problem is only if hypervisor enters C-2 states. If I do 'xenpm set-max-cstate 1' it gets back to working nicely.

Wei, any ideas? This is with Xen 4.1

Is that 4.1 you're using lacking a backport of -unstable 25195:a06e6cdeafe3 (4.1-testing 23298:435493696053)?

Jan