* Noticeably poor Intel GPU performance on 3.3 and 3.4 dom0 kernels
@ 2012-05-30 10:14 Joanna Rutkowska
2012-05-30 10:37 ` Jan Beulich
2012-05-30 14:28 ` Konrad Rzeszutek Wilk
0 siblings, 2 replies; 6+ messages in thread
From: Joanna Rutkowska @ 2012-05-30 10:14 UTC (permalink / raw)
To: xen-devel@lists.xensource.com; +Cc: Marek Marczykowski
[-- Attachment #1.1: Type: text/plain, Size: 945 bytes --]
Hello,
I've recently been some newer Dom0 kernels (3.3.5, 3.4) under Xen 4.1.2,
and have noticed that those kernel noticeably downgrade performance of
(at least) Intel GPUs. This is easily noticeable even on such trivial
tasks as scrolling a webpage in Firefox or Chrome. This slow GPU
performance on 3.3 and 3.4 kernels is in stark contrast with what I see
on 3.2.7 Dom0 kernel, where graphics works just great...
In order to make sure that this is not caused by power management set
too strictly, I played with xenpm and made sure to set the following:
1) xenpm set-scaling-governor performance
2) xenpm set-max-cstate 0
I have verified then that my processor: 1) keeps staying in P0 state
(so, max frequency), and 2) keeps staying in C0 state.
Those setting didn't change anything regarding the poor graphics
performance, though.
Any ideas what else I could test to find out the cause of this?
Thanks,
joanna.
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Noticeably poor Intel GPU performance on 3.3 and 3.4 dom0 kernels
2012-05-30 10:14 Noticeably poor Intel GPU performance on 3.3 and 3.4 dom0 kernels Joanna Rutkowska
@ 2012-05-30 10:37 ` Jan Beulich
2012-05-31 9:15 ` Joanna Rutkowska
2012-05-30 14:28 ` Konrad Rzeszutek Wilk
1 sibling, 1 reply; 6+ messages in thread
From: Jan Beulich @ 2012-05-30 10:37 UTC (permalink / raw)
To: Joanna Rutkowska; +Cc: Marek Marczykowski, xen-devel
>>> On 30.05.12 at 12:14, Joanna Rutkowska <joanna@invisiblethingslab.com> wrote:
> I've recently been some newer Dom0 kernels (3.3.5, 3.4) under Xen 4.1.2,
> and have noticed that those kernel noticeably downgrade performance of
> (at least) Intel GPUs. This is easily noticeable even on such trivial
> tasks as scrolling a webpage in Firefox or Chrome. This slow GPU
> performance on 3.3 and 3.4 kernels is in stark contrast with what I see
> on 3.2.7 Dom0 kernel, where graphics works just great...
>
> In order to make sure that this is not caused by power management set
> too strictly, I played with xenpm and made sure to set the following:
> 1) xenpm set-scaling-governor performance
> 2) xenpm set-max-cstate 0
>
> I have verified then that my processor: 1) keeps staying in P0 state
> (so, max frequency), and 2) keeps staying in C0 state.
>
> Those setting didn't change anything regarding the poor graphics
> performance, though.
>
> Any ideas what else I could test to find out the cause of this?
To check whether the DRM drivers' supposedly more extensive
use of the DMA API is the reason, could you check whether the
performance is as bad with "mem=4G" on the Xen command line?
Jan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Noticeably poor Intel GPU performance on 3.3 and 3.4 dom0 kernels
2012-05-30 10:14 Noticeably poor Intel GPU performance on 3.3 and 3.4 dom0 kernels Joanna Rutkowska
2012-05-30 10:37 ` Jan Beulich
@ 2012-05-30 14:28 ` Konrad Rzeszutek Wilk
2012-05-30 14:57 ` Marek Marczykowski
1 sibling, 1 reply; 6+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-05-30 14:28 UTC (permalink / raw)
To: Joanna Rutkowska; +Cc: xen-devel@lists.xensource.com, Marek Marczykowski
On Wed, May 30, 2012 at 12:14:07PM +0200, Joanna Rutkowska wrote:
> Hello,
>
> I've recently been some newer Dom0 kernels (3.3.5, 3.4) under Xen 4.1.2,
> and have noticed that those kernel noticeably downgrade performance of
> (at least) Intel GPUs. This is easily noticeable even on such trivial
> tasks as scrolling a webpage in Firefox or Chrome. This slow GPU
> performance on 3.3 and 3.4 kernels is in stark contrast with what I see
> on 3.2.7 Dom0 kernel, where graphics works just great...
>
> In order to make sure that this is not caused by power management set
> too strictly, I played with xenpm and made sure to set the following:
And are you building with CONFIG_INTEL_IOMMU=y?
> 1) xenpm set-scaling-governor performance
> 2) xenpm set-max-cstate 0
>
> I have verified then that my processor: 1) keeps staying in P0 state
> (so, max frequency), and 2) keeps staying in C0 state.
>
> Those setting didn't change anything regarding the poor graphics
> performance, though.
>
> Any ideas what else I could test to find out the cause of this?
>
> Thanks,
> joanna.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Noticeably poor Intel GPU performance on 3.3 and 3.4 dom0 kernels
2012-05-30 14:28 ` Konrad Rzeszutek Wilk
@ 2012-05-30 14:57 ` Marek Marczykowski
2012-05-30 21:21 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 6+ messages in thread
From: Marek Marczykowski @ 2012-05-30 14:57 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk; +Cc: xen-devel@lists.xensource.com, Joanna Rutkowska
[-- Attachment #1.1: Type: text/plain, Size: 1797 bytes --]
On 30.05.2012 16:28, Konrad Rzeszutek Wilk wrote:
> On Wed, May 30, 2012 at 12:14:07PM +0200, Joanna Rutkowska wrote:
>> Hello,
>>
>> I've recently been some newer Dom0 kernels (3.3.5, 3.4) under Xen 4.1.2,
>> and have noticed that those kernel noticeably downgrade performance of
>> (at least) Intel GPUs. This is easily noticeable even on such trivial
>> tasks as scrolling a webpage in Firefox or Chrome. This slow GPU
>> performance on 3.3 and 3.4 kernels is in stark contrast with what I see
>> on 3.2.7 Dom0 kernel, where graphics works just great...
>>
>> In order to make sure that this is not caused by power management set
>> too strictly, I played with xenpm and made sure to set the following:
>
> And are you building with CONFIG_INTEL_IOMMU=y?
Yes:
CONFIG_GART_IOMMU=y
# CONFIG_CALGARY_IOMMU is not set
CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y
(...)
CONFIG_IOMMU_API=y
CONFIG_IOMMU_SUPPORT=y
CONFIG_AMD_IOMMU=y
# CONFIG_AMD_IOMMU_STATS is not set
CONFIG_AMD_IOMMU_V2=m
CONFIG_DMAR_TABLE=y
CONFIG_INTEL_IOMMU=y
CONFIG_INTEL_IOMMU_DEFAULT_ON=y
CONFIG_INTEL_IOMMU_FLOPPY_WA=y
CONFIG_IRQ_REMAP=y
>
>> 1) xenpm set-scaling-governor performance
>> 2) xenpm set-max-cstate 0
>>
>> I have verified then that my processor: 1) keeps staying in P0 state
>> (so, max frequency), and 2) keeps staying in C0 state.
>>
>> Those setting didn't change anything regarding the poor graphics
>> performance, though.
>>
>> Any ideas what else I could test to find out the cause of this?
>>
>> Thanks,
>> joanna.
>>
>
>
>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xen.org
>> http://lists.xen.org/xen-devel
>
--
Best Regards / Pozdrawiam,
Marek Marczykowski
Invisible Things Lab
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Noticeably poor Intel GPU performance on 3.3 and 3.4 dom0 kernels
2012-05-30 14:57 ` Marek Marczykowski
@ 2012-05-30 21:21 ` Konrad Rzeszutek Wilk
0 siblings, 0 replies; 6+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-05-30 21:21 UTC (permalink / raw)
To: Marek Marczykowski; +Cc: xen-devel@lists.xensource.com, Joanna Rutkowska
On Wed, May 30, 2012 at 04:57:00PM +0200, Marek Marczykowski wrote:
> On 30.05.2012 16:28, Konrad Rzeszutek Wilk wrote:
> > On Wed, May 30, 2012 at 12:14:07PM +0200, Joanna Rutkowska wrote:
> >> Hello,
> >>
> >> I've recently been some newer Dom0 kernels (3.3.5, 3.4) under Xen 4.1.2,
> >> and have noticed that those kernel noticeably downgrade performance of
> >> (at least) Intel GPUs. This is easily noticeable even on such trivial
> >> tasks as scrolling a webpage in Firefox or Chrome. This slow GPU
> >> performance on 3.3 and 3.4 kernels is in stark contrast with what I see
> >> on 3.2.7 Dom0 kernel, where graphics works just great...
> >>
> >> In order to make sure that this is not caused by power management set
> >> too strictly, I played with xenpm and made sure to set the following:
> >
> > And are you building with CONFIG_INTEL_IOMMU=y?
>
> Yes:
> CONFIG_GART_IOMMU=y
> # CONFIG_CALGARY_IOMMU is not set
> CONFIG_SWIOTLB=y
> CONFIG_IOMMU_HELPER=y
> (...)
> CONFIG_IOMMU_API=y
> CONFIG_IOMMU_SUPPORT=y
> CONFIG_AMD_IOMMU=y
> # CONFIG_AMD_IOMMU_STATS is not set
> CONFIG_AMD_IOMMU_V2=m
> CONFIG_DMAR_TABLE=y
> CONFIG_INTEL_IOMMU=y
> CONFIG_INTEL_IOMMU_DEFAULT_ON=y
> CONFIG_INTEL_IOMMU_FLOPPY_WA=y
> CONFIG_IRQ_REMAP=y
In that case I think you might need to do some git bisection to figure
out which patch caused the slow-down. Are there any obvious things in the
kernel logs (you might have to boot it with loglevel=8 debug)?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Noticeably poor Intel GPU performance on 3.3 and 3.4 dom0 kernels
2012-05-30 10:37 ` Jan Beulich
@ 2012-05-31 9:15 ` Joanna Rutkowska
0 siblings, 0 replies; 6+ messages in thread
From: Joanna Rutkowska @ 2012-05-31 9:15 UTC (permalink / raw)
To: Jan Beulich; +Cc: Marek Marczykowski, xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 1416 bytes --]
On 05/30/12 12:37, Jan Beulich wrote:
>>>> On 30.05.12 at 12:14, Joanna Rutkowska <joanna@invisiblethingslab.com> wrote:
>> > I've recently been some newer Dom0 kernels (3.3.5, 3.4) under Xen 4.1.2,
>> > and have noticed that those kernel noticeably downgrade performance of
>> > (at least) Intel GPUs. This is easily noticeable even on such trivial
>> > tasks as scrolling a webpage in Firefox or Chrome. This slow GPU
>> > performance on 3.3 and 3.4 kernels is in stark contrast with what I see
>> > on 3.2.7 Dom0 kernel, where graphics works just great...
>> >
>> > In order to make sure that this is not caused by power management set
>> > too strictly, I played with xenpm and made sure to set the following:
>> > 1) xenpm set-scaling-governor performance
>> > 2) xenpm set-max-cstate 0
>> >
>> > I have verified then that my processor: 1) keeps staying in P0 state
>> > (so, max frequency), and 2) keeps staying in C0 state.
>> >
>> > Those setting didn't change anything regarding the poor graphics
>> > performance, though.
>> >
>> > Any ideas what else I could test to find out the cause of this?
> To check whether the DRM drivers' supposedly more extensive
> use of the DMA API is the reason, could you check whether the
> performance is as bad with "mem=4G" on the Xen command line?
With mem=4G xen option, the graphics performance is just as poor as without.
joanna.
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-05-31 9:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30 10:14 Noticeably poor Intel GPU performance on 3.3 and 3.4 dom0 kernels Joanna Rutkowska
2012-05-30 10:37 ` Jan Beulich
2012-05-31 9:15 ` Joanna Rutkowska
2012-05-30 14:28 ` Konrad Rzeszutek Wilk
2012-05-30 14:57 ` Marek Marczykowski
2012-05-30 21:21 ` Konrad Rzeszutek Wilk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).