linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kurt.van.dijck@eia.be (Kurt Van Dijck)
To: linux-arm-kernel@lists.infradead.org
Subject: IRQ handler under load - slow response
Date: Fri, 25 Mar 2011 10:53:08 +0100	[thread overview]
Message-ID: <20110325095308.GB349@e-circ.dyndns.org> (raw)
In-Reply-To: <AANLkTikQhKz73sv1so2EepdeP5Nh6ZiLJ4+MKcNkt+u=@mail.gmail.com>

On Fri, Mar 25, 2011 at 09:46:43AM +0100, Arno Steffen wrote:
> 2011/3/24 Kurt Van Dijck <kurt.van.dijck@eia.be>:
> > On Thu, Mar 24, 2011 at 12:56:48PM +0100, Arno Steffen wrote:
> >> 2011/3/14 Kurt Van Dijck <kurt.van.dijck@eia.be>:
> >> > On Mon, Mar 14, 2011 at 02:26:35PM +0100, Arno Steffen wrote:
> 
> I get it working with your help. I see now threads for every IRQ I
> anounce to the system.
Good news. I'm in fact a bit curious to the results...
> Nevertheless it doesn't change the behaviour,
> even after increasing their prio. My assumption is: The kernel IRQs
> threads are processed fast, I do have the trouble on the user side of
> the IRQ handler.
> 
> The best performance I get, if all processes on my device are running
> in policy OTHER.
Just to update my memory: I think threaded-irq will give:
* less peak perfomance
* less average performance
* better 'worst' performance
ie. There should be much less jitter in the performance measurement.
> As soon as my code is running in FIFO or RR I have
> problems. If the IRQs-thread has higher priority it works better, but
> is far away from reliability of OTHER policy.
That's less good news.
I suppose you have enabled all relevant RT & preemptive options.
Then I'm out of ideas too.
> This is in opposite to
> all what I know about scheduling policies.
Ack.
> 
> Best regards
> Arno

Regards,
Kurt

      reply	other threads:[~2011-03-25  9:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09 14:02 IRQ handler under load - slow response Arno Steffen
2011-03-09 15:22 ` Kurt Van Dijck
2011-03-14 13:26   ` Arno Steffen
2011-03-14 14:47     ` Kurt Van Dijck
2011-03-24 11:56       ` Arno Steffen
2011-03-24 14:45         ` Kurt Van Dijck
2011-03-25  8:46           ` Arno Steffen
2011-03-25  9:53             ` Kurt Van Dijck [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=20110325095308.GB349@e-circ.dyndns.org \
    --to=kurt.van.dijck@eia.be \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).