[PATCH net-next 0/2] mlx5: Use NUMA distance metrics

Tariq Toukan posted 2 patches 3 years, 9 months ago
There is a newer version of this series
drivers/net/ethernet/mellanox/mlx5/core/eq.c | 46 ++++++++++++++++++--
include/linux/sched/topology.h               |  2 +
kernel/sched/topology.c                      |  1 +
3 files changed, 46 insertions(+), 3 deletions(-)
[PATCH net-next 0/2] mlx5: Use NUMA distance metrics
Posted by Tariq Toukan 3 years, 9 months ago
Hi,

Expose the scheduler's sched_numa_find_closest() function, and use it in
mlx5 device driver.  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

Tariq Toukan (2):
  sched/topology: Expose sched_numa_find_closest
  net/mlx5e: Improve remote NUMA preferences used for the IRQ affinity
    hints

 drivers/net/ethernet/mellanox/mlx5/core/eq.c | 46 ++++++++++++++++++--
 include/linux/sched/topology.h               |  2 +
 kernel/sched/topology.c                      |  1 +
 3 files changed, 46 insertions(+), 3 deletions(-)

-- 
2.21.0