[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <09038324-65ed-8529-2f6c-671a15a8fb84@gmail.com>
Date: Sun, 24 Jul 2022 15:09:11 +0300
From: Tariq Toukan <ttoukan.linux@...il.com>
To: Tariq Toukan <tariqt@...dia.com>,
"David S. Miller" <davem@...emloft.net>,
Saeed Mahameed <saeedm@...dia.com>,
Jakub Kicinski <kuba@...nel.org>,
Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Juri Lelli <juri.lelli@...hat.com>
Cc: Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
Gal Pressman <gal@...dia.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next V3 0/3] Introduce and use NUMA distance metrics
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.
Powered by blists - more mailing lists