Project

General

Profile

Bug #12441

mlxcx default queue sizes are a bit on the small size

Added by Paul Winder 7 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

80%

Estimated time:
Difficulty:
Medium
Tags:

Description

When stress testing (on 25G NICs), I noticed the driver was consistently blocking because of full send and receive queues.

With these larger sizes, we can still fill up the rings but it appears to have minimal effect on throughput.

#
# Sizing of event and completion queues.
#
# The number of entries on each queue will be (1 << *_size_shift) -- so
# a value of 10 would mean 1024 entries.
#
#eq_size_shift = 10;
#cq_size_shift = 12;

#
# Sizing of send and receive queues.
#
# Note that this determines the size of the RX and TX rings that mlxcx will
# advertise to MAC. It also determines how many packet buffers we will allocate
# when starting the interface.
#
#sq_size_shift = 13;
#rq_size_shift = 12;

Related issues

Related to illumos gate - Bug #12383: Slow down and lock up in mlxcx receive interrupt pathIn Progress

Actions

History

#1

Updated by Paul Winder 6 days ago

  • Related to Bug #12383: Slow down and lock up in mlxcx receive interrupt path added

Also available in: Atom PDF