Jump to content


Photo

adjust the RX & TX ringbuffers for certain NICs

NIC ringpuffer network startup script nic settings high performance

This topic has been archived. This means that you cannot reply to this topic.
No replies to this topic

#1 Johannes Bucher

Johannes Bucher
  • Members
  • 21 posts

Posted 21 August 2019 - 02:17 AM

We are running an F1000 in our data center environment and because of performance issue we had adjust the RX & TX ringbuffers for certain NICs in order to reduce the amount of PAUSE frames and throttleing down the speed.

Due to lack of functionality in Firewall Admin to get those settings set we are invoking as network startup command like this:

ethtool -G portB1 rx 3072 tx 3072
ethtool -G portB2 rx 3072 tx 3072

which seems to work fine but checking the values on the CLI reveals that they get partialy reset:

13.08.2019 08:37:04 Info -- -- Checking portB2 RX: 3072 TX: 3072
13.08.2019 08:37:05 Info -- -- Checking portB1 RX: 3072 TX: 3072
13.08.2019 08:37:05 Info -- -- Checking portB2 RX: 3072 TX: 3072
13.08.2019 08:37:06 Info -- -- Checking portB1 RX: 3072 TX: 256
13.08.2019 08:37:06 Info -- -- Checking portB2 RX: 3072 TX: 256

Furthering investigation pointed to a behavior where the command setsmp is called from various processes/services (vpn, control and maybe others) which causes a short link down:
/phion0/logs/box_System_klogd.log:2019 08 13 08:37:05 Info     +00:00 [   83.972022] bonding: bond0: link status down for interface portB2, disabling it in 300 ms.
/phion0/logs/box_System_klogd.log:2019 08 13 08:37:05 Info     +00:00 [   83.999847] ixgbe 0000:01:00.1: portB1: enabling UDP RSS: fragmented packets may arrive out of order to the stack above

Sadly in a high performance this is not acceptable and we need to get this configured for example under "box >> network >> interfaces >> Physical Interfaces" or "Ethernet Bundles" not beeing reset by other services.