Project

General

Profile

Actions

Bug #12441

closed

mlxcx default queue sizes are a bit on the small size

Added by Paul Winder over 2 years ago. Updated over 2 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

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 pathClosedPaul Winder

Actions
Actions

Also available in: Atom PDF