[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250327154627.3195329-1-joshua.hahnjy@gmail.com>
Date: Thu, 27 Mar 2025 08:46:26 -0700
From: Joshua Hahn <joshua.hahnjy@...il.com>
To: Oscar Salvador <osalvador@...e.de>
Cc: lsf-pc@...ts.linux-foundation.org,
linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
gourry@...rry.net,
ying.huang@...ux.alibaba.com,
hyeonggon.yoo@...com,
honggyu.kim@...com,
kernel-team@...a.com
Subject: Re: [LSF/MM/BPF TOPIC] Weighted interleave auto-tuning
On Thu, 27 Mar 2025 12:11:55 +0100 Oscar Salvador <osalvador@...e.de> wrote:
> On Thu, Jan 09, 2025 at 01:50:48PM -0500, Joshua Hahn wrote:
> > Hello everyone, I hope everyone has had a great start to 2025!
>
> Hi Joshua,
>
> as discussed in the LSFMM about how you can react to nodes becoming
> memory{aware,less}, you can register a hotplug memory notifier, as
> memory-tiering currently does.
>
> The current use of the hotplug memory notifier by some consumers (e.g:
> memory-tiering, slub, etc) is a bit suboptimal, as they only care about
> nodes changing its memory state, yet they get notified for every
> {online,offline}_pages operation.
>
> I came up with [1]
>
> I did not publish it yet upstream because I wanted to discuss it a bit
> with David, but you can give it a try to see if it works for you.
> But till it is upstream, you will have to use the hotplug memory
> notifier.
Hi Oscar,
This is great, thank you for taking a look at this. I'll also do some
experimenting on my end and let you know with any results that I see from
my end, using weighted interleave.
In the meantime yes -- I think the hotplug memory notifier should do the
trick. Thank you again, have a great day!
Joshua
> [1] https://github.com/leberus/linux.git numa-node-notifier
>
> --
> Oscar Salvador
> SUSE Labs
Sent using hkml (https://github.com/sjp38/hackermail)
Powered by blists - more mailing lists