The latency test hangs
Hello,
My probleme is that i can't launch any latency tests , they always hang . I work with a Imx6 quad core board ( arm architecture ) , my kernel version is :
# cat /proc/version Linux version 3.0.43 (root@modx6sdk) (gcc version 4.7.1 20120402 (prerelease) (crosstool-NG linaro-1.13.1-2012.04-20120426 - Linaro GCC 2012.04) )
there , is the xenomai configuration i used :
# /usr/xenomai/bin/xeno-config xeno-config --verbose --version="2.6.4" --cc="arm-linux-gnueabi-gcc" --arch="arm" --prefix="/usr/xenomai" --xeno-cflags="-I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -D__XENO__" --xeno-ldflags="-L/usr/xenomai/lib -lxenomai -lpthread -lrt " --posix-cflags="" --posix-ldflags="-Wl,@/usr/xenomai/lib/posix.wrappers -L/usr/xenomai/lib -lpthread_rt -lxenomai -lpthread -lrt " --library-dir="/usr/xenomai/lib"
Whene i run some latency test , it always hangs after "warming up..." and nothing append then..
# /usr/xenomai/bin/latency -p 1000 == Sampling period: 120000 us == Test mode: periodic user-mode task == All results in microseconds warming up...
I tried to change the periode ,but it doesn't make any changes.
# /usr/xenomai/bin/latency -p 120000 -T 600 == Sampling period: 120000 us == Test mode: periodic user-mode task == All results in microseconds warming up... ---|-----------|-----------|-----------|--------|------|------------------------- RTS| 25252.525| 0.000| -25252.526| 0| 0| 00:10:00/00:10:00
In my configuration , CONFIG_CPU_FREQ , CONFIG_CPU_IDLE and CONFIG_KGDB are disable ;
I don't know what is wrong with my configuration and i thank you a lot for your help.
Thanks you,
Alex
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: modx6_defonfig.txt
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20150208/cd204caf/attachment.txt>
Quoted 22 lines · Dauphin Alexandre
Hello,
My probleme is that i can't launch any latency tests , they always hang . I work with a Imx6 quad core board ( arm architecture ) , my kernel version is :
# cat /proc/version Linux version 3.0.43 (root@modx6sdk) (gcc version 4.7.1 20120402 (prerelease) (crosstool-NG linaro-1.13.1-2012.04-20120426 - Linaro GCC 2012.04) )there , is the xenomai configuration i used :
# /usr/xenomai/bin/xeno-config xeno-config --verbose --version="2.6.4" --cc="arm-linux-gnueabi-gcc" --arch="arm" --prefix="/usr/xenomai" --xeno-cflags="-I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -D__XENO__" --xeno-ldflags="-L/usr/xenomai/lib -lxenomai -lpthread -lrt " --posix-cflags="" --posix-ldflags="-Wl,@/usr/xenomai/lib/posix.wrappers -L/usr/xenomai/lib -lpthread_rt -lxenomai -lpthread -lrt " --library-dir="/usr/xenomai/lib"
Quoted 7 lines
Whene i run some latency test , it always hangs after "warming up..." and nothing append then..
# /usr/xenomai/bin/latency -p 1000 == Sampling period: 120000 us == Test mode: periodic user-mode task == All results in microseconds warming up...
I do not see how this is possible, if you pass -p 1000, you should
read: Sampling period: 1000 us.
Quoted 4 lines
I tried to change the periode ,but it doesn't make any changes.
# /usr/xenomai/bin/latency -p 120000 -T 600
with -p 120000 you request for a 2 minutes sampling period. I am not sure this can even work, I would say latency can not work with a period larger than 1s.
Signature · 1 line
Gilles.
A message that is not in the archive (sent off-list or not yet received): 2e77-54d7af80-c1-61088680@169838476
Quoted 4 lines · Dauphin Alexandre
Thanks you for your answer.
I knows that 120000 is too long. But when i tried sampling with 10 us
Sampling with 10us should cause a lockup, and trigger the watchdog.
Quoted 2 lines
,100us or 1000us.
It's the same result , nothing append.
100us or 1000us should be fine, have you tried waiting a few seconds before interrupting the test? "warming up" means that nothing happens for some 1s.
Please stay on the list.
Signature · 1 line
Gilles.