In order to improve the throughput of the back-end equipment in the storage system, multiple network card binding technology is often needed. For example, the back-end storage maximizes the throughput of 300mb/s, so it requires 3 1Gps of network cards to be delivered concurrently to achieve peak performance. So, from the point of view of research and development, how to implement multiple NIC bindings? This is an in-depth analysis of the multiple NIC binding techniques for improving throughput usage.
Multi-NIC bindings can improve network throughput on the one hand, and enhance network availability on the other. There is no discussion about the multiple NIC binding techniques for highly available applications. From the software point of view, the multi-NIC binding actually only need to provide an additional bond driver, through the virtual network card driver can be the actual multiple network card shielding, the TCP/IP protocol layer exists only a bond network card. The network traffic load balancing (load balance) is implemented in the bond driver, and a network request is relocated to different network cards (NICs) to improve the performance of the overall network. The software hierarchy for multiple NIC bindings is shown in the following illustration:
Consider, in order to bind multiple network card, its technical difficulty lies in what place? Network switches are routed through physical addresses, and for ordinary switches that do not support the IEEE802.3AB protocol, they can only connect to a different physical address, or the switch will not work properly. Each network adapter has an IP address, and each IP address is bound together by an ARP protocol and a MAC address. From this analysis, without the cooperation of the switch, we can hardly realize the perfect multi-NIC binding communication model in our imagination:
If the ARP protocol can support the mapping of an IP address to multiple MAC addresses, then in the bond driver layer we can fully implement the multiple network card binding communication model shown above. In the real IP network, in order to achieve the binding effect, it is necessary to support the 802.3AB protocol of the switch and realize the round robin network card binding through the switch, the pure software method cannot do it. The multiple NIC bindings based on the 802.3AB protocol are shown in the following illustration: