aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@nvidia.com>2023-08-07 11:33:41 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2023-12-20 16:54:26 -0800
commite4f9686bdee7b4dd89e0ed63cd03606e4bda4ced (patch)
tree44e6eaa848f884939c8037a3faad4c120d662310 /tools/perf/scripts/python/syscall-counts.py
parentnet/mlx5e: Create EN core HW resources for all secondary devices (diff)
downloadlinux-e4f9686bdee7b4dd89e0ed63cd03606e4bda4ced.tar.gz
linux-e4f9686bdee7b4dd89e0ed63cd03606e4bda4ced.zip
net/mlx5e: Let channels be SD-aware
Distribute the channels between the different SD-devices to acheive local numa node performance on multiple numas. Each channel works against one specific mdev, creating all datapath queues against it. We distribute channels to mdevs in a round-robin policy. Example for 2 mdevs and 6 channels: +-------+---------+ | ch ix | mdev ix | +-------+---------+ | 0 | 0 | | 1 | 1 | | 2 | 0 | | 3 | 1 | | 4 | 0 | | 5 | 1 | +-------+---------+ This round-robin distribution policy is preferred over another suggested intuitive distribution, in which we first distribute one half of the channels to mdev #0 and then the second half to mdev #1. We prefer round-robin for a reason: it is less influenced by changes in the number of channels. The mapping between channel index and mdev is fixed, no matter how many channels the user configures. As the channel stats are persistent to channels closure, changing the mapping every single time would turn the accumulative stats less representing of the channel's history. Per-channel objects should stop using the primary mdev (priv->mdev) directly, and instead move to using their own channel's mdev. Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Gal Pressman <gal@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
n class='insertions'>+38 2016-08-05ntb_test: Add a selftest script for the NTB subsystemLogan Gunthorpe2-0/+423 2016-08-05ntb_perf: clear link_is_up flag when the link goes down.Logan Gunthorpe1-19/+9 2016-08-05ntb_pingpong: Add a debugfs file to get the ping countLogan Gunthorpe1-1/+61 2016-08-05ntb_tool: Add link status and files to debugfsLogan Gunthorpe1-0/+92 2016-08-05ntb_tool: Postpone memory window initialization for the userLogan Gunthorpe1-138/+228 2016-08-05ntb_perf: Wait for link before running testLogan Gunthorpe1-1/+4 2016-08-05ntb_perf: Return results by reading the run fileLogan Gunthorpe1-12/+55 2016-08-05ntb_perf: Improve thread handling to increase robustnessLogan Gunthorpe1-48/+76 2016-08-05ntb_perf: Schedule based on time not on performanceLogan Gunthorpe1-2/+4 2016-08-05ntb_transport: Check the number of spads the hardware supportsLogan Gunthorpe2-4/+13 2016-08-05ntb_tool: Add memory window debug supportLogan Gunthorpe1-1/+257 2016-08-05ntb_perf: Allow limiting the size of the memory windowsLogan Gunthorpe1-0/+8 2016-08-05NTB: allocate number transport entries depending on size of ring sizeDave Jiang1-2/+27 2016-08-05ntb_tool: BUG: Ensure the buffer size is large enough to return all spadsLogan Gunthorpe1-2/+8 2016-08-05ntb_tool: Fix infinite loop bug when writing spad/peer_spad fileLogan Gunthorpe1-4/+5