Re: [LSF/MM/BPF TOPIC] Weighted interleave auto-tuning
From: Joshua Hahn
Date: Thu Mar 27 2025 - 11:46:37 EST
On Thu, 27 Mar 2025 12:11:55 +0100 Oscar Salvador <osalvador@xxxxxxx> 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)