Skip to content

mlx5: Use NUMA distance metrics

Tariq Toukan lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v12 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sched/topology: Expose sched_numa_find_closestinclude/linux/sched/topology.h kernel/sched/topology.c+3 -01 reply
2/2net/mlx5e: Improve remote NUMA preferences used for the IRQ affinity hintsdrivers/net/ethernet/mellanox/mlx5/core/eq.c+59 -34 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGal PressmanSaeed MahameedPeter Zijlstra (Intel)
1/2R-b A-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

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

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 | 62 +++++++++++++++++++-
 include/linux/sched/topology.h               |  2 +
 kernel/sched/topology.c                      |  1 +
 3 files changed, 62 insertions(+), 3 deletions(-)
Signature · 1 line
2.21.0