drm / i915 performance problems

From: Knut Petersen
Date: Fri Aug 14 2009 - 07:25:50 EST


Hi David!

My current system is based on openSuSE 10.2, kernel 2.6.22.6 is used.
As support for that distribution is discontinued, I had a look at
openSuSE 11.1
and tried some of the new kernels. I found serious performance regressions
using the current kernels

First a short descrition of the relevant hardware:

mainboard: Aopen i915Gmm-hfs,
RAM: 2 GB
cpu: Pentium M 1.86GHz.
video: built in i915GM
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML
Express Processor to DRAM Controller (rev 04)
00:02.0 VGA compatible controller: Intel Corporation Mobile
915GM/GMS/910GML Express Graphics Controller (rev 04) (prog-if 00 [VGA])
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML
Express Graphics Controller (rev 04)

Test results:

glxgears: 1045 fps / 30% cpu usage (opensuse 10.2, kernel 2.6.22.6,
smooth desktop and glxgears operation)
glxgears: 925 fps / 35% cpu usage (opensuse 11.1, kernel 2.6.22.6,
smooth desktop and glxgears operation)
glxgears: 900 fps / 45% cpu usage (opensuse 11.1, kernel 2.6.27.29,
smooth desktop and glxgears operation)

glxgears: 210 fps / 8% cpu usage (opensuse 11.1, kernel 2.6.31-rc6,
Tiled buffers, jerky desktop and glxgears operation)
glxgears: 230 fps / 8% cpu usage (opensuse 11.1, kernel 2.6.31-rc6,
Tiling disabled, jerky desktop and glxgears operation)

glxgears: 280 fps / 100% cpu usage (opensuse 11.1, kernel 2.6.31-rc6,
DRI disabled in kernel, smooth desktop and glxgears operation)

With "jerky operation" in the table above I want to express, that
desktop and glxgears drawing operation seems to happen in
several bursts a second. Because of that the desktop performance is
annoying enough to be unusable.

Xorg.0.log tells me: "Failed to set tiling on [front|back|depth] buffer:
Invalid argument". As disabling tiling in the older kernels
results in similar performance drops, I believe that the inability to
use tiled buffers is responsible for the low glxgears fps numbers.

Any ideas how to solve that problem?

cu,
Knut
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/