From: Joshua Hahn <joshua.hahnjy@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: gourry@gourry.net, hyeonggon.yoo@sk.com,
ying.huang@linux.alibaba.com, honggyu.kim@sk.com,
rafael@kernel.org, lenb@kernel.org, gregkh@linuxfoundation.org,
rakie.kim@sk.com, dan.j.williams@intel.com,
Jonathan.Cameron@huawei.com, dave.jiang@intel.com,
horen.chuang@linux.dev, hannes@cmpxchg.org,
linux-kernel@vger.org, linux-acpi@vger.kernel.org,
linux-mm@kvack.org, kernel-team@meta.com
Subject: Re: [PATCH v5] mm/mempolicy: Weighted Interleave Auto-tuning
Date: Wed, 12 Feb 2025 07:26:08 -0800 [thread overview]
Message-ID: <20250212152610.570427-1-joshua.hahnjy@gmail.com> (raw)
In-Reply-To: <20250211161752.64dd397e66a2754097ab8c2a@linux-foundation.org>
On Tue, 11 Feb 2025 16:17:52 -0800 Andrew Morton <akpm@linux-foundation.org> wrote:
> On Fri, 7 Feb 2025 21:06:04 -0800 Joshua Hahn <joshua.hahnjy@gmail.com> wrote:
>
> > On Fri, 7 Feb 2025 18:20:09 -0800 Andrew Morton <akpm@linux-foundation.org> wrote:
> >
> > > On Fri, 7 Feb 2025 12:13:35 -0800 Joshua Hahn <joshua.hahnjy@gmail.com> wrote:
> > >
> > > > This patch introduces an auto-configuration mode for the interleave
> > > > weights that aims to balance the two goals of setting node weights to be
> > > > proportional to their bandwidths and keeping the weight values low.
> > > > In order to perform the weight re-scaling, we use an internal
> > > > "weightiness" value (fixed to 32) that defines interleave aggression.
> > >
> > > Question please. How does one determine whether a particular
> > > configuration is working well? To determine whether
> > > manual-configuration-A is better than manual-configuration-B is better
> > > than auto-configuration?
> > >
> > > Leading to... how do we know that this patch makes the kernel better?
> >
> > Hello Andrew,
> >
> > Thank you for your interest in this patch!
> >
> > To answer your 1st question: I think that users can do some
> >
> > ...
> >
>
> Interesting, thanks.
>
> Have we adequately documented all these considerations for our users or
> can we add some additional words in an appropriate place?
Hello Andrew,
I have documented these thoughs on a private document, but I think that
it will be beneficial for weighted interleave users to have this
knowledge to reference in the future as well.
I can think of two places where this information will benefit users the
most: I can elaborate further the motivations & decisions Gregory
and I made for this patch within the patch commit message, and also
in the ABI documentation. As Oscar suggested, appropriate details in
the code should hopefully make the decisions clearer for future
maintainers and developers as well.
Thank you again for your insight! I will have a v6 drafted up, and
I think it makes sense to pull this patch out of mm-unstable for now.
Have a great day!
Joshua
next prev parent reply other threads:[~2025-02-12 15:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-07 20:13 Joshua Hahn
2025-02-08 2:20 ` Andrew Morton
2025-02-08 5:06 ` Joshua Hahn
2025-02-12 0:17 ` Andrew Morton
2025-02-12 15:26 ` Joshua Hahn [this message]
2025-02-10 5:36 ` Gregory Price
2025-02-11 0:39 ` Andrew Morton
2025-02-11 2:14 ` Gregory Price
2025-02-08 6:51 ` Oscar Salvador
2025-02-12 15:18 ` Joshua Hahn
2025-02-12 2:49 ` Huang, Ying
2025-02-12 17:06 ` Joshua Hahn
2025-02-13 1:32 ` Huang, Ying
2025-02-14 15:45 ` Joshua Hahn
2025-02-16 0:40 ` 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=20250212152610.570427-1-joshua.hahnjy@gmail.com \
--to=joshua.hahnjy@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=kernel-team@meta.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.org \
--cc=linux-mm@kvack.org \
--cc=rafael@kernel.org \
--cc=rakie.kim@sk.com \
--cc=ying.huang@linux.alibaba.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