Re: [PATCH v5] mm/mempolicy: Weighted Interleave Auto-tuning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 07, 2025 at 06:20:09PM -0800, Andrew Morton wrote:
> On Fri,  7 Feb 2025 12:13:35 -0800 Joshua Hahn <joshua.hahnjy@xxxxxxxxx> wrote:
> 
> Leading to... how do we know that this patch makes the kernel better?

Just focusing on this question:

The default behavior of weighted interleave without this patch is
equivalent to normal interleave.  This provides a differentiation
out-of-the box, and that's just a better experience.

We may find the default values / calculations need tweaking in the
future, but this gives us a good starting point.  Anecdotally, I've
seen an "optimal" distribution of 10:1 based on the numbers run
sub-optimally compared to 7:1 or 13:1 (but better than default mempol).

So there will always be a "try it and see" component to this.

(Not to mention hardware/firmware lies regularly, and their reported
 performance numbers rarely if ever match their tested numbers - so
 *at best* this can be considered a best-effort feature)

~Gregory




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux