linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Huang, Ying" <ying.huang@linux.alibaba.com>
To: Hyeonggon Yoo <hyeonggon.yoo@sk.com>
Cc: Joshua Hahn <joshua.hahnjy@gmail.com>,
	 "gourry@gourry.net" <gourry@gourry.net>,
	 kernel_team@skhynix.com,  42.hyeyoo@gmail.com,
	"rafael@kernel.org" <rafael@kernel.org>,
	 "lenb@kernel.org" <lenb@kernel.org>,
	 "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	 "akpm@linux-foundation.org" <akpm@linux-foundation.org>,
	 Honggyu Kim <honggyu.kim@sk.com>,  Rakie Kim <rakie.kim@sk.com>,
	 "dan.j.williams@intel.com" <dan.j.williams@intel.com>,
	 "Jonathan.Cameron@huawei.com" <Jonathan.Cameron@huawei.com>,
	 "dave.jiang@intel.com" <dave.jiang@intel.com>,
	 "horen.chuang@linux.dev" <horen.chuang@linux.dev>,
	 "hannes@cmpxchg.org" <hannes@cmpxchg.org>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"kernel-team@meta.com" <kernel-team@meta.com>
Subject: Re: [External Mail] [RFC PATCH v2] Weighted interleave auto-tuning
Date: Sun, 22 Dec 2024 15:21:32 +0800	[thread overview]
Message-ID: <87r060i3nn.fsf@DESKTOP-5N7EMDA> (raw)
In-Reply-To: <3682b9cf-213c-497d-ab81-f70e1a785716@sk.com> (Hyeonggon Yoo's message of "Fri, 20 Dec 2024 17:25:28 +0900")

Hyeonggon Yoo <hyeonggon.yoo@sk.com> writes:

> On 2024-12-20 4:18 AM, Joshua Hahn wrote:

[snip]

>
> By the way, this might be out of scope, but let me ask for my own
> learning.
>
> We have a server with 2 sockets, each attached with local DRAM and CXL
> memory (and thus 4 NUMA nodes). When accessing remote socket's memory
> (either CXL or not), the bandwidth is limited by the interconnect's
> bandwidth.
>
> On this server, ideally weighted interleaving should be configured
> within a socket (e.g. local NUMA node + local CXL node) because
> weighted interleaving does not consider the bandwidth when accessed
> from a remote socket.

If multiple sockets are considered, what is the best behavior?

The process may be cross-socket too.  So, we will need to use
set_mempolicy() to bind tasks to sockets firstly.  Then, it may be
better to use per-task weights.

> So, the question is: On systems with multiple sockets (and CXL mem
> attached to each socket), do you always assume the admin must bind to
> a specific socket for optimal performance or is there any plan to
> mitigate this problem without binding tasks to a socket?
>

[snip]

---
Best Regards,
Huang, Ying



  parent reply	other threads:[~2024-12-22  7:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-19 19:18 Joshua Hahn
2024-12-20  8:25 ` [External Mail] " Hyeonggon Yoo
2024-12-20 14:13   ` Gregory Price
2024-12-22  7:21   ` Huang, Ying [this message]
2024-12-22 17:03     ` Gregory Price
2024-12-24 23:48       ` Huang, Ying

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=87r060i3nn.fsf@DESKTOP-5N7EMDA \
    --to=ying.huang@linux.alibaba.com \
    --cc=42.hyeyoo@gmail.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=akpm@linux-foundation.org \
    --cc=dan.j.williams@intel.com \
    --cc=dave.jiang@intel.com \
    --cc=gourry@gourry.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=hannes@cmpxchg.org \
    --cc=honggyu.kim@sk.com \
    --cc=horen.chuang@linux.dev \
    --cc=hyeonggon.yoo@sk.com \
    --cc=joshua.hahnjy@gmail.com \
    --cc=kernel-team@meta.com \
    --cc=kernel_team@skhynix.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=rafael@kernel.org \
    --cc=rakie.kim@sk.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