All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Latencies while ethernet access
Date: Mon, 14 May 2007 18:12:17 +0200	[thread overview]
Message-ID: <46488A61.6090709@domain.hid> (raw)
In-Reply-To: <46488839.4060801@domain.hid>

Jan Kiszka wrote:
> Jan Kiszka wrote:
> 
>>Let us get the tracer right.
>>...
> 
> 
> And here is the issue already when having a second look:
> 
> 
>>/ # cat /proc/ipipe/trace/frozen 
>>I-pipe frozen back-tracing service on 2.6.19.2/ipipe-1.6-04
>>------------------------------------------------------------
>>Freeze: 9187269471 cycles, Trace Points: 30 (+10)
>>Calibrated minimum trace-point overhead: 3.000 us
>>
>> +----- Hard IRQs ('|': locked)
>> |+---- <unused>
>> ||+--- Xenomai
>> |||+-- IShield
>> ||||+- Linux ('*': domain stalled, '+': current, '#': current+stalled)
>> |||||                        +---------- Delay flag ('+': > 1 us, '!': > 10 us)
>> |||||                        |        +- NMI noise ('N')
>> |||||                        |        |
>>      Type    User Val.   Time    Delay  Function (Parent)
>>:| #  begin   0x80000001  -190+   4.250N __ipipe_mach_get_tsc+0x48 (xntimer_do_tick_aperiodic+0x40)
> 
> 
> __ipipe_mach_get_tsc() must never pop up in trace, it has to be marked
> "notrace". I guess you ported that service for your board? Please fix
> and retry the test.

This has only be fixed very recently, version 1.6-04 of the I-pipe patch
for ARM makes use of plain local_irq_save_hw/local_irq_restore_hw, which
causes the NMI noise.

-- 
                                                 Gilles Chanteperdrix


  reply	other threads:[~2007-05-14 16:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-04  8:40 [Xenomai-help] Latencies while ethernet access CAMUS Benoit
2007-05-04 10:18 ` Gilles Chanteperdrix
2007-05-04 16:24   ` Jan Kiszka
2007-05-14 10:09     ` CAMUS Benoit
2007-05-14 10:28       ` Jan Kiszka
2007-05-14 16:03         ` Jan Kiszka
2007-05-14 16:12           ` Gilles Chanteperdrix [this message]
2007-05-04 10:26 ` Gilles Chanteperdrix
     [not found]   ` <1178287470.22169.9.camel@domain.hid>
2007-05-04 16:06     ` Gilles Chanteperdrix
2007-05-04 16:12       ` Jan Kiszka

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=46488A61.6090709@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jan.kiszka@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.