mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dave Hansen <dave.hansen@linux.intel.com>
To: Peter Zijlstra <peterz@infradead.org>,
	Thomas Gleixner <tglx@linutronix.de>
Cc: Alison Schofield <alison.schofield@intel.com>,
	Ingo Molnar <mingo@kernel.org>, Tony Luck <tony.luck@intel.com>,
	Tim Chen <tim.c.chen@linux.intel.com>,
	"H. Peter Anvin" <hpa@linux.intel.com>,
	Borislav Petkov <bp@alien8.de>,
	David Rientjes <rientjes@google.com>,
	Igor Mammedov <imammedo@redhat.com>,
	Prarit Bhargava <prarit@redhat.com>,
	brice.goglin@gmail.com, x86@kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] x86,sched: allow topologies where NUMA nodes share an LLC
Date: Thu, 29 Mar 2018 07:37:29 -0700	[thread overview]
Message-ID: <596dcb0c-5bbc-f3be-203b-571170ee8f11@linux.intel.com> (raw)
In-Reply-To: <20180329134723.GA4043@hirez.programming.kicks-ass.net>

On 03/29/2018 06:47 AM, Peter Zijlstra wrote:
> Further I think Dave argued that we should not change the llc-size,
> because while SNC presents a subset of the cache to local CPUs, for
> remote data the whole cache is still available, again something some
> applications might rely on.

BTW, I may have argued this in the past, but I don't think it's the best
thing to do.

If anything, we should optimize for the _users_ of this information: the
performance-sensitive ones who are digging up the cache topology.  They
are also likely to be the most NUMA-affinitized and stay node-local with
much of their memory traffic.  That would seem to point us in the
direction of enumerating two separate, half-sized LLCs "shared" only by
the slice when SNC mode is on.

That's what I've argued to the hardware folks lately, at least.

  parent reply	other threads:[~2018-03-29 14:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-29  0:00 Alison Schofield
2018-03-29 13:16 ` Thomas Gleixner
2018-03-29 13:45   ` Dave Hansen
2018-03-29 13:57     ` Peter Zijlstra
2018-03-29 13:47   ` Peter Zijlstra
2018-03-29 14:34     ` Dave Hansen
2018-03-29 16:09       ` Peter Zijlstra
2018-03-29 16:25         ` Dave Hansen
2018-03-29 16:29           ` Luck, Tony
2018-03-29 14:37     ` Dave Hansen [this message]
2018-03-29 14:55       ` Peter Zijlstra
2018-03-30  3:20 ` kbuild test robot
2018-03-30 17:34 ` Alison Schofield

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=596dcb0c-5bbc-f3be-203b-571170ee8f11@linux.intel.com \
    --to=dave.hansen@linux.intel.com \
    --cc=alison.schofield@intel.com \
    --cc=bp@alien8.de \
    --cc=brice.goglin@gmail.com \
    --cc=hpa@linux.intel.com \
    --cc=imammedo@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=prarit@redhat.com \
    --cc=rientjes@google.com \
    --cc=tglx@linutronix.de \
    --cc=tim.c.chen@linux.intel.com \
    --cc=tony.luck@intel.com \
    --cc=x86@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

all inboxes | Powered by JetHome®