kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: mount command stuck at synchronize_rcu on a RT patched kernel.
Date: Mon, 4 Jun 2018 14:26:40 +0200	[thread overview]
Message-ID: <20180604122640.GA2926@kroah.com> (raw)
In-Reply-To: <CAG8eE3Eo9MH2-5gKMusfF4LfqUhhQFsBbu1dnPkv5P2R-ETPfg@mail.gmail.com>

On Mon, Jun 04, 2018 at 03:55:34PM +0530, Mahesh Sivapuram wrote:
> Hello All,
> 
> We are facing an issue with 3.10.65 kernel + RT69 patch on a 12core xeon.

First off, that is a very old and "obsolete" kernel version.  As you are
probably stuck at that version due to a support contract, I strongly
suggest you get support from the company you are paying that money to,
as they are the only ones that really know what is in that kernel.
There's almost nothing the community can do to help you out, sorry.

> We are running real time applications (higher priority than kernel threads,
> requiring the resolution of 1ms or less) on ioslated CPU's which are
> configured through kernel boot arguments as indicated below. Also, we have
> offloaded the RCU call backs to other book keeping CPU cores. But when we
> try to perform some general commands like mount some directory over NFS,
> the command hangs and never completes till we stop our real time
> applications. The moment real time applications are stopped, command
> finishes immediately.
> 
> When we see the backtrace of the mount command, it waiting for
> "synchronize_rcu". Since we have already offloaded RCU call backs, we
> expect nothing to be done on isolcpus except rcuc process on isolcpus
> waking the offloaded threads on other cores.

Messing with where RCU callbacks run from, is a _very_ risky thing to
do.  There are built-in assumptions that RCU uses to be able to do its
work properly, and some of those are that it can touch specific CPUs.

Also, I don't think the 3.10.y kernel had all of the "isolate cpus"
logic properly implemented in it, I would strongly suggest moving to a
newer kernel version (4.17?) that way if things still do not work, the
community has a chance to provide some help.

good luck!

greg k-h

      reply	other threads:[~2018-06-04 12:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04 10:25 mount command stuck at synchronize_rcu on a RT patched kernel Mahesh Sivapuram
2018-06-04 12:26 ` Greg KH [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=20180604122640.GA2926@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.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).