[feature request] Add Mellanox ConnectX Tx / Rx buffer ringsize support

Bug #1869233 reported by David Coronel
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
charm-sysconfig
Won't Fix
Wishlist
Unassigned

Bug Description

This is a feature request for adding support to the sysconfig charm to do tuning of the Tx/Rx buffer size settings on Mellanox ConnectX devices.

Tx/Rx buffers are memory spaces allocated by a network adapter to handle traffic bursts. Buffering takes place when the traffic exceeds physical capacity of network adapter. Increasing the buffer size helps to avoid packet loss when adapter is overloaded.

The only way I know of to make this change is with the ethtool command:

ethtool -G <nic> rx <ringsize> tx <ringsize>

The sysconfig charm should have a mellanox-connectx-ringsize option that will run this command on the hosts which it is related to, and make sure that the change survives across reboots (systemd unit?).

Related branches

Celia Wang (ziyiwang)
Changed in charm-sysconfig:
importance: Undecided → Medium
Alvaro Uria (aluria)
Changed in charm-sysconfig:
status: New → Triaged
importance: Medium → Wishlist
Revision history for this message
Derek Robertson (rober546) wrote :

+1 for this request, but you make this generic please for any given NIC. Same required for Intel NICs in our case.

Revision history for this message
Derek Robertson (rober546) wrote :

(and also multiple NICs)

Revision history for this message
Eric Chen (eric-chen) wrote :
Changed in charm-sysconfig:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.