[OpenIndiana-discuss] Intel Driver causes a lot of syscalls
raichoo
raichoo at googlemail.com
Sat Jun 25 20:17:20 UTC 2011
Hi everyone,
I already pasted this in the Illumos Forums but figured that this might
be a better place.
(I'm new here so you might also direct me to a better ML than this one)
I recently installed OpenIndiana on my Thinkpad x201. Everything works
fine but Xorg
produces a lot of syscalls (approx. 9000/sec). I dug a little deeper and
found out that
it's actually the intel driver calling ioctl to commincate with the drm
driver to do some
compositing stuff.
I tested this under 148 and 151 and the issue is present in both.
Here is some information I have gathered:
root at ayanami:/home/raichoo# mpstat 1
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
0 848 0 86 619 200 473 7 28 17 0 3093 4 3 0 93
1 616 0 83 382 106 504 6 27 17 0 3012 4 2 0 94
2 359 0 72 384 135 432 6 24 15 0 2168 3 1 0 96
3 164 0 64 320 69 411 5 20 16 0 2036 2 1 0 96
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
0 19 0 42 904 416 581 0 25 30 0 659 0 4 0 96
1 0 0 12 322 93 491 0 29 31 0 126 2 0 0 98
2 0 0 72 520 167 778 3 31 34 0 10578 3 3 0 94
3 0 0 18 394 127 541 4 27 57 0 1115 2 1 0 97
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
0 0 0 18 934 421 629 1 11 0 0 640 1 4 0 95
1 0 0 3 478 205 446 0 15 2 0 290 0 1 0 99
2 0 0 0 368 112 449 0 14 1 0 8780 4 3 0 93
3 0 0 9 432 72 702 0 10 16 0 1210 4 1 0 95
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
0 0 0 30 787 350 693 0 12 0 0 854 0 4 0 96
1 0 0 34 420 106 518 3 13 0 0 6578 3 2 0 95
2 0 0 33 318 94 273 2 8 3 0 2317 1 1 0 98
3 0 0 24 556 177 798 0 14 5 0 1294 2 2 0 96
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
0 0 0 45 840 365 675 2 11 6 0 3868 2 5 0 93
1 0 0 39 551 146 702 4 22 7 0 6230 4 2 0 94
2 0 0 30 472 173 443 0 21 1 0 456 1 1 0 98
3 0 0 6 182 39 150 1 10 2 0 152 0 0 0 100
root at ayanami:/home/raichoo# dtrace -n 'syscall::ioctl:entry/execname == "Xorg"/{@[ustack()] = count();} tick-1s{printa(@); trunc(@);}'
[...]
libc.so.1`ioctl+0xa
intel_drv.so`i965_composite+0x4b2
libexa.so`exaTryDriverCompositeRects+0x605
libexa.so`exaCompositeRects+0x235
libexa.so`exaGlyphsToMask+0x2a
libexa.so`exaGlyphs+0x7d1
Xorg`damageGlyphs+0x256
Xorg`ProcRenderCompositeGlyphs+0x529
Xorg`Dispatch+0x3b4
Xorg`main+0x673
Xorg`0x46e2dc
7229
pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x0044
Intel Corporation Core Processor DRAM Controller
pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x8086 device 0x0046
Intel Corporation Core Processor Integrated Graphics Controller
pci bus 0x0000 cardnum 0x16 function 0x00: vendor 0x8086 device 0x3b64
Intel Corporation 5 Series/3400 Series Chipset HECI Controller
pci bus 0x0000 cardnum 0x16 function 0x03: vendor 0x8086 device 0x3b67
Intel Corporation 5 Series/3400 Series Chipset KT Controller
pci bus 0x0000 cardnum 0x19 function 0x00: vendor 0x8086 device 0x10ea
Intel Corporation 82577LM Gigabit Network Connection
pci bus 0x0000 cardnum 0x1a function 0x00: vendor 0x8086 device 0x3b3c
Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host
Controller
pci bus 0x0000 cardnum 0x1b function 0x00: vendor 0x8086 device 0x3b56
Intel Corporation 5 Series/3400 Series Chipset High Definition Audio
pci bus 0x0000 cardnum 0x1c function 0x00: vendor 0x8086 device 0x3b42
Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1
pci bus 0x0000 cardnum 0x1c function 0x03: vendor 0x8086 device 0x3b48
Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4
pci bus 0x0000 cardnum 0x1c function 0x04: vendor 0x8086 device 0x3b4a
Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5
pci bus 0x0000 cardnum 0x1d function 0x00: vendor 0x8086 device 0x3b34
Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host
Controller
pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x8086 device 0x2448
Intel Corporation 82801 Mobile PCI Bridge
pci bus 0x0000 cardnum 0x1f function 0x00: vendor 0x8086 device 0x3b07
Intel Corporation Mobile 5 Series Chipset LPC Interface Controller
pci bus 0x0000 cardnum 0x1f function 0x02: vendor 0x8086 device 0x3b2f
Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller
pci bus 0x0000 cardnum 0x1f function 0x03: vendor 0x8086 device 0x3b30
Intel Corporation 5 Series/3400 Series Chipset SMBus Controller
pci bus 0x0000 cardnum 0x1f function 0x06: vendor 0x8086 device 0x3b32
Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem
pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x8086 device 0x4238
Intel Corporation WiFi Link 6000 Series
Regards,
raichoo
More information about the OpenIndiana-discuss
mailing list