Skip to contentSkip to conversation

Latency peaks without IPIPE_DEBUG_INTERNAL

Xenomai Petr Cervenka 2 participants 2 messages Oct 9, 2013

lore
Share & tools
lore
#0 lore raw

Hello everyone.
I have very high latency peaks (~400us) with my configuration when IPIPE_DEBUG and IPIPE_DEBUG_INTERNAL are !NOT! switched on. Way to reproduce the issue is to run the latency test (tried with high priority):

$ sudo /usr/xenomai/bin/latency -P 99
and in another terminal to list xenomai statistics couple of times:
$ cat /proc/xenomai/stat

versions:
kernel 3.5.7
xenomai 2.6.2.1 and 2.6.3
tried on different (but similar) intel based hw (Core2Duo E7400, Xeon E3-1220, i5-2500K)

Do you have any idea what could be wrong?

Petr Cervenka

PS: My kernel config is not optimized and includes lot of modules. The compilation time is quite long

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-3.5.7-adeos
Type: application/octet-stream
Size: 145980 bytes
Desc: config-3.5.7-adeos
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20131009/83323974/attachment.obj>

#1 lore raw
Quoted 7 lines · Petr Cervenka

Hello everyone.
I have very high latency peaks (~400us) with my configuration when IPIPE_DEBUG and IPIPE_DEBUG_INTERNAL are !NOT! switched on. Way to reproduce the issue is to run the latency test (tried with high priority):

$ sudo /usr/xenomai/bin/latency -P 99
and in another terminal to list xenomai statistics couple of times:
$ cat /proc/xenomai/stat
Quoted 6 lines

versions:
kernel 3.5.7
xenomai 2.6.2.1 and 2.6.3
tried on different (but similar) intel based hw (Core2Duo E7400, Xeon E3-1220, i5-2500K)

Do you have any idea what could be wrong?

I would say /proc/xenomai/stat holds the nklock for too long.

Signature · 1 line
                                                                Gilles.