Performance and troubleshooting
147
Alvium G1 User Guide V1.1.1
NIC driver settings
In systems with more than one NUMA (non-uniform memory access) node, the
interconnect between the nodes can become a bottleneck. We recommend you to
optimize the settings as suggested by the CPU and NIC manufacturer. If possible,
lock the host software to the NUMA node connected to the NIC.
NIC driver settings under Linux
The following commands can be used to find suitable settings. Note that these
settings are
only temporary
. Adjust the corresponding system configuration files
to change the settings permanently.
•
Enabling Jumbo frames by setting the MTU size:
ifconfig <dev> mtu 9000
•
Setting the IP address:
ip a a 169.254.240.4/16 dev <dev>
•
Some 1000BASE-T NICs do not support auto negation.
Setting the link speed manually:
ethtool -s <dev> autoneg off speed 1000
NIC driver settings under Windows
•
Maximize the Jumbo frame size.
•
Maximize the number of receive buffers.
•
Switch off all non-required drivers, including filter drivers, in the network
adapter settings. Mostly, the Vimba filter driver helps to increase the
performance. Be aware that using a PCAP filter, such as
Wireshark
, has an
impact on the performance.
•
Optimize settings related to IRQs (interrupt requests) in the network driver
settings (interrupt moderation).
•
RSS (receive side scaling) should be enabled to improve the performance
when multiple cameras or several network adapters are connected to the
host.
1000BASE-T mode
The 1000BASE-T mode must be enabled on some NICs and SFP modules.
Receive buffer size
You can increase the receive buffer size to handle the data throughput
• Temporarily:
sysctl -w net.core.rmem_max=33554432
• Permanently: Add to the file
/etc/sysctl.conf
:
net.core.rmem_max=33554432