public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: "Koehrer Mathias (ETAS/ESS2)" <mathias.koehrer@etas.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>,
	"linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>
Subject: Re: Question on RCU_BOOST option
Date: Wed, 27 Mar 2013 12:38:35 +0100 (CET)	[thread overview]
Message-ID: <alpine.LFD.2.02.1303271227410.22263@ionos> (raw)
In-Reply-To: <F9467A784CC48947B1D879F07370839E0EBE9EC3@fe20099s.ecn.etasgroup.com>

On Wed, 27 Mar 2013, Koehrer Mathias (ETAS/ESS2) wrote:
> > 
> > Perhaps you might want to have a look at this thread, about RCU stalls
> > and a possible common root cause for some of them.
> > 
> > http://marc.info/?l=linux-rt-users&m=136258510132233&w=2
> 
> Thanks for the information. However the application is intended to
> run with 100% CPU (real time) load on one core.  That's why the CPU
> core is isolated for. They are reserved for this application.

Sure, but it's not possible today to run 100% CPU in user space. RCU
is one of the issues, which has a solution in 3.8. See
https://lwn.net/Articles/522262/

There is work in progress to solve the other issues as well, but
that's not going to happen before 3.10.

> The one option is to raise the prioriy of ksoftirq (which contains
> the RCU stuff (if I know right...)) or I was playing with the
> RCU_BOOST feature which I expected to have the same effect.

RCU_BOOST does not solve that. It's about starvation of readside
critical sections.  See https://lwn.net/Articles/220677/

> However, the RCU_BOOST feature is not clear to me as I still saw the
> kernel messages about RCU stalls that I did not want to see
> anymore...

Sure, RCU_BOOST is tackling a different problem. The callback free
CPUs implementation is what you are looking for.

Thanks,

	tglx

  reply	other threads:[~2013-03-27 11:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-27  7:50 Question on RCU_BOOST option Koehrer Mathias (ETAS/ESS2)
2013-03-27 11:38 ` Thomas Gleixner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-03-25 10:35 Koehrer Mathias (ETAS/ESS2)
2013-03-26 17:13 ` Paul Gortmaker

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=alpine.LFD.2.02.1303271227410.22263@ionos \
    --to=tglx@linutronix.de \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=mathias.koehrer@etas.com \
    --cc=paul.gortmaker@windriver.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox