All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Henry Bausley <hbausley@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Reducing Kernel Mode Interrupt Latency
Date: Mon, 27 Oct 2008 16:08:20 +0100	[thread overview]
Message-ID: <4905D964.7060805@domain.hid> (raw)
In-Reply-To: <1224605536.10407.15.camel@domain.hid>

Henry Bausley wrote:
> Is there any way the kernel mode interrupt handling maximum times can be
> decreased.  I very much need to reduce my kernel mode interrupt
> latencies.  I know my hardware is capable of better performance based
> upon measurements done with RT Linux.  Below is our timing comparison,
> all times are the maximums.
> 
> 
> Xenomai 2.4.5 interrupt handler  w/ Kernel 2.6.26 powerpc, gcc 4.2
> -------------------------------------------------------------------
> AMCC 440EP - 24.5 usec
> AMCC 460EX - 16.5 usec
>

While running long performances tests on a Sequoia board here (I'm still
investigating the latency trace data and evaluating optimizations), I've never
been able to reproduce such worst case latency values.

The figures I have on the 440EPx (w/ 2.6.26 + Xenomai 2.4.5 + I-pipe 2.2-07 +
ELDK-4.2 toolchain) are:

klatency: 15.2 us
latency -t2 : 17.1 us

latency -t1: 26.1 us
latency -t0: 34.9 us

/proc/xenomai/latency reset to 0 (no timer shot anticipation)
continuous process creation loop and interrupt flood on entry.

The figure you are most likely interested in - the one that actually compares
with RTLinux's latency test - is given by the klatency test, i.e. pure in-kernel
timer handler, no user-space Xenomai thread). Could you tell us a bit more about
your kernel config, and the kind of stress you put on the system? TIA,

> 
> FSM Labs RT-Linux 2.2 w/ Kernel 2.6.14 ppc, gcc 3.3
> ---------------------------------------------------
> AMCC 440EP - 10.0 usec
> AMCC 460EX - Not Available, would require 10's of thousands of dollars
> to WindRiver
> 
> 
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
> 


-- 
Philippe.


  parent reply	other threads:[~2008-10-27 15:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16 12:52 [Xenomai-help] Need some help getting past an ken barnett
2008-10-16 12:58 ` Gilles Chanteperdrix
2008-10-16 13:40   ` [Xenomai-help] Unhandled irq 9 ken barnett
2008-10-21 16:12 ` [Xenomai-help] Reducing Kernel Mode Interrupt Latency Henry Bausley
2008-10-21 16:19   ` Gilles Chanteperdrix
2008-10-21 16:22   ` Philippe Gerum
2008-10-21 21:00     ` Alexis Berlemont
2008-10-22  7:02   ` Wolfgang Grandegger
2008-10-27 15:08   ` Philippe Gerum [this message]
2008-10-28 23:15     ` Henry Bausley
2008-11-07 12:13       ` Philippe Gerum
2008-10-21 20:50 ` [Xenomai-help] Need some help getting past an 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=4905D964.7060805@domain.hid \
    --to=rpm@xenomai.org \
    --cc=hbausley@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.