[feature request] Add Mellanox ConnectX Tx / Rx buffer ringsize support
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-
Related branches
- Alvaro Uria (community): Needs Fixing
- BootStack Reviewers: Pending (mr tracking; do not claim) requested
- BootStack Reviewers: Pending requested
- Canonical IS Reviewers: Pending requested
-
Diff: 138 lines (+66/-0)4 files modifiedsrc/config.yaml (+6/-0)
src/lib/lib_sysconfig.py (+46/-0)
src/reactive/sysconfig.py (+6/-0)
src/templates/set-ringsize.sh.j2 (+8/-0)
Changed in charm-sysconfig: | |
importance: | Undecided → Medium |
Changed in charm-sysconfig: | |
status: | New → Triaged |
importance: | Medium → Wishlist |
+1 for this request, but you make this generic please for any given NIC. Same required for Intel NICs in our case.