Experimental Study on the Performance of Linux Ethernet Bonding

Linux bonding is a feature allowing to group multiple physical network interfaces into a logical one on Linux machines. Known as a low-cost method to improve fault tolerance and network throughput, the Linux bonding with seven supported modes is increasingly deployed in various scenarios such as datacenters, home networks, etc. However, the strengths and weaknesses of different modes have not been well investigated. While previous works mostly pay attention on the performance of the popular round-robin mode, this work extensively and additionally evaluates other modes based on three major criteria: throughput improvement, load balancing, and fault tolerance. To the best of our knowledge, this is the first work investigating the capabilities of fault tolerance using Linux bonding. The evaluation results show that the active-backup mode achieves the flow switch-over time, which is the duration of traffic flow discontinuation due to a network failure, as small as 10 milliseconds. Moreover, in the round-robin mode with two bonded network interfaces, Linux machines can achieve the maximum throughput close to double of that in case of non-bonding. However, the out-of-order and switch compatibility issues may limit the utilisation of the round-robin mode in certain scenarios. In the 802.3ad mode, the out-of-order issue can be avoided, although load balancing is not always optimal.

[1]  S. Obana,et al.  Evaluation of Linux Bonding Features , 2006, 2006 International Conference on Communication Technology.

[2]  Xiaowei Yang,et al.  High performance network virtualization with SR-IOV , 2010, HPCA - 16 2010 The Sixteenth International Symposium on High-Performance Computer Architecture.

[3]  Mark Handley,et al.  TCP Extensions for Multipath Operation with Multiple Addresses , 2020, RFC.

[4]  Olivier Bonaventure,et al.  MultiPath TCP: From Theory to Practice , 2011, Networking.

[5]  Jianping Pan,et al.  Evaluating “no-new-wires” home networks , 2008, 2008 33rd IEEE Conference on Local Computer Networks (LCN).

[6]  Jason Cope,et al.  Shared Parallel Filesystems in Heterogeneous Linux Multi-Cluster Environments , 2005 .

[7]  Brice Augustin,et al.  Measuring Multipath Routing in the Internet , 2011, IEEE/ACM Transactions on Networking.

[8]  Akira Yamaguchi,et al.  Aggregation of Wi-Fi Links: When Does it Work? , 2007, 2007 15th IEEE International Conference on Networks.

[9]  Randy H. Katz,et al.  A view of cloud computing , 2010, CACM.