All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Felipe Castro <felipecpc1@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [PXA + Xenomai] Latency program
Date: Mon, 31 Aug 2009 17:10:07 +0200	[thread overview]
Message-ID: <4A9BE7CF.3030406@domain.hid> (raw)
In-Reply-To: <7a15153d0908310753s68f36dffg817df3cb9a16db06@domain.hid>

Felipe Castro wrote:
> hi !
> 
> I apllied the patch that you sent me, but there are some weird!
> When i run latency program the result is:
> 
> root@domain.hid$ /usr/xenomai/bin/latency
> == Sampling period: 100 us
> == Test mode: periodic user-mode task
> == All results in microseconds
> warming up...
> RTT|  00:00:02  (periodic user-mode task, 100 us period, priority 99)
> RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat
> worst
> RTD|      83.384|     146.769|     189.538|    1803|      83.384|    
> 189.538

100us is to short a period for an ARM without FCSE enabled. Actually it
is also too short for an ARM with FCSE. Look at the latency: you are
asking a 100us period whereas the latency is 150us on average, don't you
see the problem?

You can try a period of 1ms, it is more reasonable. If you want periods
of 70us, you can not use an ARM.

> 
> 
> And than the program just freeze, and the kernel trace:
> 
> [  780.136217] Xenomai: Switching display-343 to secondary mode after
> exception #5 from user-space at 0x93e0 (pid 345)

That is another problem which should be fixed in the next Xenomai
release, which should happen real soon now.

-- 
                                          Gilles



  reply	other threads:[~2009-08-31 15:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-28 17:50 [Xenomai-core] [PXA + Xenomai] Latency program Felipe Castro
2009-08-28 18:00 ` Gilles Chanteperdrix
2009-08-28 18:04   ` Gilles Chanteperdrix
2009-08-28 19:09     ` Felipe Castro
2009-08-28 19:16       ` Gilles Chanteperdrix
2009-08-31 14:53         ` Felipe Castro
2009-08-31 15:10           ` Gilles Chanteperdrix [this message]
2009-08-31 18:36             ` Felipe Castro
     [not found]             ` <7a15153d0908311135o753de66ex90f835f14c506e9b@domain.hid>
2009-08-31 18:38               ` [Xenomai-help] " Gilles Chanteperdrix
2009-08-31 18:48               ` 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=4A9BE7CF.3030406@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=felipecpc1@domain.hid \
    --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.