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

Re: RX ring parameter

$
0
0

My understanding is the RX ring is the number of ethernet frames that the NIC can store in its internal buffers.  An ethernet frame can be any size up to MTU. In your case the NIC can store 8192 frames (of different sizes) before it starts dropping new frames (unless flow-control is enabled on NIC and the switch port. Flowcontrol is used to pause the tx on the switchport until the NIC's rx ring can accept more packets). If the kernel cannot copy frames fast enough from the rx ring to the kernel stack, then the rx ring can fill up and packets will be discarded.

 

There's another param, dev_weight, described in this doc that might help with frame loss:

 

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/s-network-common-queue-issues.html#s-network-commonque-nichwbuf


Viewing all articles
Browse latest Browse all 6211

Trending Articles



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