Noticeably poor Intel GPU performance on 3.3 and 3.4 dom0 kernels
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.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 13 lines
Quoted 1 line
Quoted 1 line · Joanna Rutkowska
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
Quoted 7 lines
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
Quoted 11 lines · Joanna Rutkowska
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?
Quoted 21 lines
1) xenpm set-scaling-governor performance
2) xenpm set-max-cstate 0I 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
[email protected]
http://lists.xen.org/xen-devel
Quoted 10 lines · Konrad Rzeszutek Wilk
Quoted 9 lines · Joanna Rutkowska
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...
Quoted 4 lines
Quoted 2 lines
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 setCONFIG_SWIOTLB=yCONFIG_IOMMU_HELPER=y
(...)CONFIG_IOMMU_API=yCONFIG_IOMMU_SUPPORT=yCONFIG_AMD_IOMMU=y
# CONFIG_AMD_IOMMU_STATS is not setCONFIG_AMD_IOMMU_V2=mCONFIG_DMAR_TABLE=yCONFIG_INTEL_IOMMU=yCONFIG_INTEL_IOMMU_DEFAULT_ON=yCONFIG_INTEL_IOMMU_FLOPPY_WA=yCONFIG_IRQ_REMAP=y
Quoted 23 lines
Quoted 22 lines
1) xenpm set-scaling-governor performance
2) xenpm set-max-cstate 0I 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
[email protected]
http://lists.xen.org/xen-devel
Signature · 3 lines
Best Regards / Pozdrawiam, Marek Marczykowski Invisible Things Lab
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 16 lines · Marek Marczykowski
Quoted 10 lines · Konrad Rzeszutek Wilk
Quoted 9 lines · Joanna Rutkowska
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...
Quoted 4 lines
Quoted 2 lines
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?
Quoted 16 lines
Yes:
CONFIG_GART_IOMMU=y
#CONFIG_CALGARY_IOMMUis not setCONFIG_SWIOTLB=yCONFIG_IOMMU_HELPER=y
(...)CONFIG_IOMMU_API=yCONFIG_IOMMU_SUPPORT=yCONFIG_AMD_IOMMU=y
#CONFIG_AMD_IOMMU_STATSis not setCONFIG_AMD_IOMMU_V2=mCONFIG_DMAR_TABLE=yCONFIG_INTEL_IOMMU=yCONFIG_INTEL_IOMMU_DEFAULT_ON=yCONFIG_INTEL_IOMMU_FLOPPY_WA=yCONFIG_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)?
Quoted 16 lines · Jan Beulich
Quoted 16 lines
Quoted 16 lines
Quoted 1 line · Joanna Rutkowska
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 0I have verified then that my processor: 1) keeps staying in P0 state (so, max frequency), and 2) keeps staying in C0 state.
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
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.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel