linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Henri Roosen <henri.roosen@ginzinger.com>
Cc: "linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>
Subject: Re: INFO: rcu_preempt detected stalls on CPUs/tasks
Date: Fri, 29 Jul 2016 18:46:58 +0200	[thread overview]
Message-ID: <20160729164658.GH21715@linutronix.de> (raw)
In-Reply-To: <150d1d1f-b427-50be-524d-dbe80dd5523e@ginzinger.com>

* Henri Roosen | 2016-07-15 12:54:25 [+0200]:

>The problem is easily triggered, but only after starting a flood-ping to
>the PREEMPT_RT-system under test. This also results in huge latency,
>much bigger than on a 'normal' PREEMPT-system, which seems to be
>resistant against the flood-ping.
>
>Any suggestions how to best trace this down?

Hmm. 4.1.27-rt30 has
 softirq: split timer softirqs out of ksoftirqd
 net: provide a way to delegate processing a softirq to ksoftirqd

I would suggest using those two but you should have them.
Your ksoftirqd runs as SCHED_OTHER, right? And you do have
CONFIG_RCU_BOOST enabled? Your do_hell script which starts hackbench
does not run with higher priority?
>From the backtrace it is hackbench "doing things" and this one should be
preempted by RCU and ethernet networking napi code should be preempted /
moved to ksoftirqd during the flood-ping. Can you check this happens?

>Thanks,
>Henri

Sebastian

  reply	other threads:[~2016-07-29 16:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-30 16:05 INFO: rcu_preempt detected stalls on CPUs/tasks Roosen Henri
2016-07-14 15:27 ` Sebastian Andrzej Siewior
2016-07-15 10:54   ` Henri Roosen
2016-07-29 16:46     ` Sebastian Andrzej Siewior [this message]
2016-10-19 15:17       ` Henri Roosen

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=20160729164658.GH21715@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=henri.roosen@ginzinger.com \
    --cc=linux-rt-users@vger.kernel.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).