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 rx tx
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?).
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 rx tx
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?).
Imported from Launchpad using lp2gh.
date created: 2020-03-26T16:42:53Z
owner: davecore
assignee: None
the launchpad url