Re: [RFC] Memory tiering kernel alignment

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

 



On 29-Feb-24 7:34 AM, Davidlohr Bueso wrote:
> On Thu, 25 Jan 2024, David Rientjes wrote:
> 
>> Some recent discussions have proven that there is widespread interest in
>> some very foundational topics for this technology such as:
>>
>> - Decoupling CPU balancing from memory balancing (or obsoleting CPU
>>   balancing entirely)
>>
>>   + John Hubbard notes this would be useful for GPUs:
>>
>>      a) GPUs have their own processors that are invisible to the kernel's
>>         NUMA "which tasks are active on which NUMA nodes" calculations,
>>         and
>>
>>      b) Similar to where CXL is generally going, we have already built
>>         fully memory-coherent hardware, which include memory-only NUMA
>>         nodes.
>>
>> - In-kernel hot memory abstraction, informed by hardware hinting drivers
>>   (incl some architectures like Power10), usable as a NUMA Balancing
>>   backend for promotion and other areas of the kernel like transparent
>>   hugepage utilization
> 
> Regarding the hardware counters, can/will CPU vendors provide something
> better for what is currently there for PEBS/IBS - which needs a lot of
> stat crunching to make it useful for hot page detection.

IBS works independent of PMCs and reports useful information like the
virtual and physical address of the access, precise IP, Data Source
info (like cache, DRAM, External memory/CXL etc), remote node indication
etc. Hence it doesn't really need stat crunching.

However it captures and reports access information based on sampling
and I have seen that the best sampling interval isn't always good enough
to match the number of accesses captured by software based mechanism
like NUMA balancing.

Regards,
Bharata.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux