mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexander Gordeev <agordeev@redhat.com>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Make RCU tree CPU topology aware?
Date: Mon, 17 Aug 2015 11:39:34 +0100	[thread overview]
Message-ID: <20150817103931.GB4588@agordeev.usersys.redhat.com> (raw)

Hi Paul,

Currently RCU tree distributes CPUs to leafs based on consequent CPU
IDs. That means CPUs from remote caches and even nodes might end up
in the same leaf.

I did not research the impact, but at the glance that seems at least
sub-optimal; especially in case of remote nodes, when CPUs access
each others' memory?

I am thinking of topology-aware RCU geometry where the RCU tree reflects
the actual system topology. I.e by borrowing it from schedulling domains
or soemthing like that.

Do you think it worth the effort to research this question or I am
missing something and the current access patterns are just optimal?

Thanks!

-- 
Regards,
Alexander Gordeev
agordeev@redhat.com

             reply	other threads:[~2015-08-17 10:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-17 10:39 Alexander Gordeev [this message]
2015-08-17 15:28 ` Paul E. McKenney
2015-08-18  8:55   ` Alexander Gordeev
2015-08-18 13:21     ` Paul E. McKenney

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=20150817103931.GB4588@agordeev.usersys.redhat.com \
    --to=agordeev@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@linux.vnet.ibm.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

all inboxes | Powered by JetHome®