Re: [RFC PATCH 0/5] Memory access profiler(IBS) driven NUMA balancing

From: Bharata B Rao
Date: Mon Mar 06 2023 - 10:31:42 EST


On 03-Mar-23 11:23 AM, Huang, Ying wrote:
>
> What is the memory accessing pattern of the workload? Uniform random or
> something like Gauss distribution?

Multiple iterations of uniform access from beginning to end of the
memory region.

>
> Anyway, it may take some time for the original method to scan enough
> memory space to trigger enough hint page fault. We can check
> numa_pte_updates to check whether enough virtual space has been scanned.

I see that numa_hint_faults is way higher (sometimes close to 5 times)
than numa_pte_updates. This doesn't make sense. Very rarely I do see
saner numbers and when that happens the benchmark score is also much better.

Looks like an issue with the default kernel itself. I will debug this
further and get back.

Regards,
Bharata.