All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Tollenaar <rwatollenaar@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>,
	Xenomai-help@domain.hid
Subject: Re: [Xenomai-help] RTCAN and tsc
Date: Tue, 06 Mar 2007 21:46:09 +0100	[thread overview]
Message-ID: <45EDD311.1060506@domain.hid> (raw)
In-Reply-To: <17901.49981.701410.464219@domain.hid>

Hi,



Gilles Chanteperdrix wrote:
>>> Enable the I-pipe tracer, recompile your kernel, set
>>> /proc/ipipe/trace/back_trace_points to a larger value, and run latency
>>> with the -f flag. Show us the contents of /proc/ipipe/trace/frozen, and
>>> we may be able to give you an answer.
>>>
>>> For more details on the I-pipe tracer, see:
>>> http://www.xenomai.org/index.php/I-pipe:Tracer
>> Attached find the traces. The first one , frozentrace.txt is without
>> my application running.
>>
>> The frozentraceApptxt with my app running and frozentrace_rtcanrecv
>> with the node  alive but only read by rtcanrecv.
> 
> frozentraceApp.txt:
> 
> :|func     -217!  rtcan_sja_interrupt (xnintr_irq_handler)
> :|func      -96   rtcan_rcv (rtcan_sja_interrupt)
> 
> 
> and frozentrace_rtcanrecv.txt:
> 
> :|func     -164!  rtcan_sja_interrupt (xnintr_irq_handler)
> :|func      -39   rtcan_rcv (rtcan_sja_interrupt)
> 
> look very consistent: the call to rtcan_sja_interrupt eats more than
> 100 us.

What does this mean? This is as good as it gets? That is a problem. I 
have a couple of thousand euros of new hardware betting on xenomai/rtcan 
being real-time enough to do some serious feedback control of machinery. 
Must I put that up for sale now? I'll start writing my resignation 
letter......:(

But more seriously rtcan_sja_interrupt I presume is a routine (interrupt 
handler?) by the sound of things related to the sja chip. Is the 
conclusion that something is wrong in rtcan_sja? Surely timing 
inconsistencies of 200 micro seconds cannot be design?


I will not be able to work on this tomorrow. So if I make less noise on 
the list its only because I am on a plane not because I have lost 
interest. :)

Regards,

Roland

> 


  reply	other threads:[~2007-03-06 20:46 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-06 15:06 [Xenomai-help] RTCAN and tsc roland Tollenaar
2007-03-06 15:11 ` Gilles Chanteperdrix
2007-03-06 15:53   ` roland Tollenaar
2007-03-06 15:59     ` Gilles Chanteperdrix
2007-03-06 16:11       ` roland Tollenaar
2007-03-06 16:15         ` Gilles Chanteperdrix
2007-03-06 16:32           ` roland Tollenaar
2007-03-06 16:42             ` Gilles Chanteperdrix
2007-03-06 17:04               ` roland Tollenaar
2007-03-06 17:19                 ` Gilles Chanteperdrix
2007-03-06 18:17               ` roland Tollenaar
2007-03-06 19:38                 ` Gilles Chanteperdrix
2007-03-06 20:46                   ` Roland Tollenaar [this message]
2007-03-07  9:04                     ` Sebastian Smolorz
2007-03-08 12:14                       ` Roland Tollenaar
2007-03-08 14:12                         ` Sebastian Smolorz
2007-03-08 17:36                           ` Bernard Dautrevaux
2007-03-08 19:06                             ` Roland Tollenaar
2007-03-09  9:47                               ` Sebastian Smolorz
2007-03-09  9:59                                 ` Gilles Chanteperdrix
2007-03-09 10:14                                   ` Sebastian Smolorz
2007-03-09 10:16                                     ` Gilles Chanteperdrix
2007-03-09 10:56                                       ` Sebastian Smolorz
2007-03-09 11:17                                         ` Gilles Chanteperdrix
2007-03-09 13:36                                           ` Sebastian Smolorz
2007-03-09 14:08                                             ` Dmitry Adamushko
2007-03-09 14:45                                               ` Sebastian Smolorz
2007-03-09 15:17                                                 ` Dmitry Adamushko
2007-03-09 15:26                                                 ` roland Tollenaar
2007-03-09 15:17                                             ` roland Tollenaar
2007-03-09 15:38                                               ` Paul
2007-03-09 16:12                                                 ` roland Tollenaar
2007-03-09 16:36                                                   ` Eric Noulard
2007-03-09 17:46                                                     ` roland Tollenaar
2007-03-09 17:42                                                   ` Daniel Schnell
2007-03-09 18:04                                                     ` roland Tollenaar
2007-03-10 21:12                                                     ` Wolfgang Grandegger
2007-03-11  8:15                                                       ` roland Tollenaar
2007-03-09 16:37                                               ` Sebastian Smolorz
2007-03-09 17:55                                                 ` roland Tollenaar
2007-03-09 18:10                       ` roland Tollenaar
2007-03-06 16:45             ` Sebastian Smolorz
2007-03-06 16:54               ` roland Tollenaar
2007-03-06 16:58               ` roland Tollenaar
2007-03-06 16:21         ` Sebastian Smolorz

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=45EDD311.1060506@domain.hid \
    --to=rwatollenaar@domain.hid \
    --cc=Xenomai-help@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=rolandtollenaar@domain.hid \
    /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.