lkml.org 
[lkml]   [2022]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next V3 0/3] Introduce and use NUMA distance metrics
From


On 7/19/2022 7:23 PM, Tariq Toukan wrote:
> Hi,
>
> Implement and expose CPU spread API based on the scheduler's
> sched_numa_find_closest(). Use it in mlx5 and enic device drivers. This
> replaces the binary NUMA preference (local / remote) with an improved one
> that minds the actual distances, so that remote NUMAs with short distance
> are preferred over farther ones.
>
> This has significant performance implications when using NUMA-aware
> memory allocations, improving the throughput and CPU utilization.
>
> Regards,
> Tariq
>
> v3:
> - Introduce the logic as a common API instead of being mlx5 specific.
> - Add implementation to enic device driver.
> - Use non-atomic version of __cpumask_clear_cpu.
>

Comments on V2 were addressed.
Please let me now of any other comments on this V3.

\
 
 \ /
  Last update: 2022-07-24 14:10    [W:0.089 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site