Quantcast
Channel: Mellanox Interconnect Community: Message List
Viewing all articles
Browse latest Browse all 6278

RX ring parameter

$
0
0

Hello,

 

I am working on trying to obtain near line rate for a ConnectX-3 adapter (MCX354A). I am also trying to minimize or eliminate packet loss for high-throughput UDP transfers. One parameter that I have found makes a large difference is the setting for the receive ring buffer size. The default value was 1024, which I have increased to 8192:

 

# ethtool -g eth2
Ring parameters for eth2:
Pre-set maximums:
RX:        8192
RX Mini:    0
RX Jumbo:    0
TX:        8192
Current hardware settings:
RX:        8192
RX Mini:    0
RX Jumbo:    0
TX:        8192

 

To what exactly does that number correspond? Is it a number of 4KB memory buffers (for 4KB pages)? Does each entry correspond to the current MTU? Basically, I am trying to determine how many packets of a given size can fit in the receive ring.

 

Regards,

Thomas


Viewing all articles
Browse latest Browse all 6278

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>