* [Xenomai] The latency test hangs
@ 2015-02-08 17:30 Dauphin Alexandre
2015-02-08 17:38 ` Gilles Chanteperdrix
0 siblings, 1 reply; 3+ messages in thread
From: Dauphin Alexandre @ 2015-02-08 17:30 UTC (permalink / raw)
To: xenomai
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai] The latency test hangs
2015-02-08 17:30 [Xenomai] The latency test hangs Dauphin Alexandre
@ 2015-02-08 17:38 ` Gilles Chanteperdrix
[not found] ` <2e77-54d7af80-c1-61088680@169838476>
0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2015-02-08 17:38 UTC (permalink / raw)
To: Dauphin Alexandre; +Cc: xenomai
On Sun, Feb 08, 2015 at 06:30:43PM +0100, Dauphin Alexandre wrote:
>
> 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 do not see how this is possible, if you pass -p 1000, you should
read: Sampling period: 1000 us.
>
> 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.
--
Gilles.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai] The latency test hangs
[not found] ` <2e77-54d7af80-c1-61088680@169838476>
@ 2015-02-08 18:54 ` Gilles Chanteperdrix
0 siblings, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2015-02-08 18:54 UTC (permalink / raw)
To: Dauphin Alexandre; +Cc: Xenomai
On Sun, Feb 08, 2015 at 07:48:18PM +0100, Dauphin Alexandre wrote:
>
> 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.
> ,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.
--
Gilles.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-08 18:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-08 17:30 [Xenomai] The latency test hangs Dauphin Alexandre
2015-02-08 17:38 ` Gilles Chanteperdrix
[not found] ` <2e77-54d7af80-c1-61088680@169838476>
2015-02-08 18:54 ` Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.