All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Dauphin Alexandre <alexandre.dauphin@ecole.ensicaen.fr>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] The latency test hangs
Date: Sun, 8 Feb 2015 18:38:49 +0100	[thread overview]
Message-ID: <20150208173849.GA2014@hermes.click-hack.org> (raw)
In-Reply-To: <6740-54d79d80-97-750d4f00@265280780>

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.


  reply	other threads:[~2015-02-08 17:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-08 17:30 [Xenomai] The latency test hangs Dauphin Alexandre
2015-02-08 17:38 ` Gilles Chanteperdrix [this message]
     [not found]   ` <2e77-54d7af80-c1-61088680@169838476>
2015-02-08 18:54     ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150208173849.GA2014@hermes.click-hack.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=alexandre.dauphin@ecole.ensicaen.fr \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.