summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorWilliam Tu <witu@nvidia.com>2025-02-09 13:17:09 +0300
committerJakub Kicinski <kuba@kernel.org>2025-02-12 21:46:17 +0300
commita38cc5706fb9f7dc4ee3a443f61de13ce1e410ed (patch)
tree15012f56f45a13950d29d2fcaf46ecf84b5ac2f7 /tools/perf/scripts/python/exported-sql-viewer.py
parentb9cc8f9d700867aaa77aedddfea85e53d5e5d584 (diff)
downloadlinux-a38cc5706fb9f7dc4ee3a443f61de13ce1e410ed.tar.xz
net/mlx5e: set the tx_queue_len for pfifo_fast
By default, the mq netdev creates a pfifo_fast qdisc. On a system with 16 core, the pfifo_fast with 3 bands consumes 16 * 3 * 8 (size of pointer) * 1024 (default tx queue len) = 393KB. The patch sets the tx qlen to representor default value, 128 (1<<MLX5E_REP_PARAMS_DEF_LOG_SQ_SIZE), which consumes 16 * 3 * 8 * 128 = 49KB, saving 344KB for each representor at ECPF. Signed-off-by: William Tu <witu@nvidia.com> Reviewed-by: Daniel Jurgens <danielj@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Link: https://patch.msgid.link/20250209101716.112774-9-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions