All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Agner <stefan.agner@yahoo.com>
To: Sbs <sbs.pub@gmail.com>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: Doubt: Does RT patch reduce interrupt latency?
Date: Mon, 27 Jul 2009 03:47:15 -0700 (PDT)	[thread overview]
Message-ID: <776909.49461.qm@web59812.mail.ac4.yahoo.com> (raw)
In-Reply-To: <4cd511390907252328h4d82225cy2ae02d230fddbe61@mail.gmail.com>


Hi,



> Thank you for this clarification. This really made me think. In
> mainline kernel, my interrupt will not be affected by other processes.
> But, it can be affected by other interrupts in the system, right? So,
> I still gain something from rt patch where I can scale down the
> priority of other interrupts so that they don't come in the way of my
> 1 ms interrupt.
Yes this is correct...

> Now, if I got it correct, what I will have to see is whether this
> advantage outweighs the disadvantage of context switching delays. A
> quick search showed me http://choices.cs.uiuc.edu/ExpCS07.pdf. In page
> 25 they have listed time for context switches and interrupts. Those
> figures are rather dismal (~few milli seconds). Can someone familiar
> with ARM here tell me whether these numbers can be trusted? From the
> rt wiki I see that, on ARM, worst case latency is less than 300us. I
> will anyway repeat the tests that we did so far and will post the
> results again.
I did such messures in my diploma work, its written in german but you should 
be able to read the figures (the messures are done on an arm cpu):
http://www.agner.ch/linuxrealtime/Linux-Realtime-Faehigkeiten.pdf

PDF Page 47 and following are interessting. You can see the 
"Durchschnittslatenzzeiten" (average latencies) rt compared with mainline

Bye
Stefan



      

      reply	other threads:[~2009-07-27 10:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-24 18:11 Doubt: Does RT patch reduce interrupt latency? Sbs
2009-07-24 19:04 ` Sven-Thorsten Dietrich
2009-07-26  3:21   ` Sbs
2009-07-26  4:23     ` Sven-Thorsten Dietrich
2009-07-24 22:07 ` Darren Hart
2009-07-26  6:28   ` Sbs
2009-07-27 10:47     ` Stefan Agner [this message]

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=776909.49461.qm@web59812.mail.ac4.yahoo.com \
    --to=stefan.agner@yahoo.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=sbs.pub@gmail.com \
    /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.