Am 17.02.2014 15:24, schrieb Philippe Gerum: > On 02/17/2014 01:57 PM, Christian Göbeler wrote: >> Hello everyone, >> >> I'm trying to get xenomai working on my laptop: >> - Intel i7-2630QM >> - HM67 Chipset >> - Ubuntu 12.04 >> - NVidia GF 540 and Intel onboard graphics chip >> - kernel 3.8.13 x86_64 >> - xenomai 2.6.3 >> >> but when I run the latency tests I keep getting high worst case >> latencies. >> >> When generating load by manually calling dd or using the "dohell" script >> I get >> latencies >290. When I start X while running the latency test I get >> latencies >700 >> .. and finally when I run glxgears on the nvidia card I get latencies of >> up to >9000. >> Eventhough these do only occur right when I start glxgears. >> >> I do not intend to measure latencies while doing 3d animation but I >> think the >> latencies shown indicate some kind of configuration mistake which I'd >> like to >> avoid. >> > > If you plan to use the i915 drm driver with an Intel integrated > graphic chip, make sure to run ipipe-core-3.8.13-x86-4, anything > earlier (i.e. 3.8.13-x86-3 and below) shows high latencies. > http://download.gna.org/adeos/patches/v3.x/x86/ipipe-core-3.8.13-x86-4.patch > > Thanks for the hint. ipipe-core-3.8.13-x86-4 patch is included in the xenomai 2.6.3 download and was successfully applied to my kernel so that should not be the reason for those latency peaks.
Increasing CONFIG_XENO_OPT_SYS_HEAPSZ solved the problem of not being able to run the switchtest. But I still have those latency peaks... when I do nothing and simply run the tests including the dohell script or compiling some code parallel to the test I get a 200-300 us latency peak about once a minute... but whenever I activate the discrete graphics card, connect a mouse, insert a cd, disconnect the power supply or a fan starts to work I instantly get a latency peak from 300us to 700us ... Is there anything I can do to prevent this? (besides not touching anything) How can I find what's causing this? Christian _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
