2.8. Network determinism tips

2.8. Network determinism tips

Transmission Control Protocol (TCP)

TCP can have a large effect on latency. TCP adds latency in order to obtain efficiency, control congestion, and to ensure reliable delivery. When tuning, consider the following points:

Network Tuning

There are numerous tools for tuning the network. Here are some of the more useful:

Interrupt Coalescing

To reduce netwrok traffic, packets can be collected and a single interrupt generated.

Use the -C (--coalesce) option with the ethtool command to enable.

Congestion

Often, I/O switches can be subject to back-pressure, where network data builds up as a result of full buffers.

Use the -A (--pause) option with the ethtool command to change pause parameters and avoid network congestion.

Infiniband (IB)

Infiniband is a type of communications architecture often used to increase bandwidth and provide quality of service and failover. It can also be used to improve latency through Remote Direct Memory Access (RDMA) capabilities.

Network Protocol Statistics

Use the -s (--statistics) option with the netstat comamnd to monitor network traffic.

Related Manual Pages

For more information, or for further reading, the following man pages are related to the information given in this section.