📜 ⬆️ ⬇️

How to optimize bandwidth on Ethernet networks

The blog 45 Drives published quite interesting material by Rob McQueen, who works in the R & D department of the company. It deals with bandwidth optimization. Let's try to figure out this story and the main points that Rob talked about.

/ Photo by Karl Baron CC

Rob compares the 10-gigabit standard with the purchase of a new Mustang after years of riding a regular city sedan - gigabit Ethernet. Similarity in configuration allows not only to easily switch from one to another, but also to configure 20-gigabit and 30-gigabit connections.
')
Automotive analogies are quite appropriate, because the throughput as a concept is similar to what a highway is: the more lanes on the road, the more cars use the road. With IT infrastructure, everything is the same.

What equipment is mentioned here:


The fact is that any OS, automatically determine the possibility of using a 10-gigabit network card - so the whole process is identical to the configuration of a standard gigabit network.

What else:


The whole further process is based on combining several 10-gigabit connections. The driver for linking channels is already in Linux - additional software is not required here.

Next in CentOS you need to create a configuration file (devices, IP, subnet, linking mode, and so on). To solve this problem, Rob advises you to take a look at his channel modification guide for CentOS 7. The setup process for FreeNAS is here .

Rob faced an unforeseen problem, which allowed us to get bandwidth of only 11.3 Gbit / s (instead of 20 Gbit / s). Suspicion fell on the standard TCP window size, but in the end it turned out that Linux itself determines the optimal window size.

Another move - switching to Jumbo frames gave only 13.9 Gbit / s. But two network cards in each machine and linking two interfaces (one for each card) with the switch gave the desired 20-gigabit connection (as confirmed by iperf).

PS Other materials on the topic from our blog:

Source: https://habr.com/ru/post/267629/


All Articles