Testbeds and Research Infrastructure: Development of Networks and Communities. 9th International ICST Conference, TridentCom 2014, Guangzhou, China, May 5-7, 2014, Revised Selected Papers

Research Article

Experimental Study on the Performance of Linux Ethernet Bonding

Download
431 downloads
  • @INPROCEEDINGS{10.1007/978-3-319-13326-3_29,
        author={Hoang Tran-Viet and Toan Nguyen-Duc and Kien Nguyen and Quang Minh and Son Ngo and Shigeki Yamada},
        title={Experimental Study on the Performance of Linux Ethernet Bonding},
        proceedings={Testbeds and Research Infrastructure: Development of Networks and Communities. 9th International ICST Conference, TridentCom 2014, Guangzhou, China, May 5-7, 2014, Revised Selected Papers},
        proceedings_a={TRIDENTCOM},
        year={2014},
        month={11},
        keywords={Linux bonding Link aggregation Fault tolerance Switch-over Throughput improvement Load balancing},
        doi={10.1007/978-3-319-13326-3_29}
    }
    
  • Hoang Tran-Viet
    Toan Nguyen-Duc
    Kien Nguyen
    Quang Minh
    Son Ngo
    Shigeki Yamada
    Year: 2014
    Experimental Study on the Performance of Linux Ethernet Bonding
    TRIDENTCOM
    Springer
    DOI: 10.1007/978-3-319-13326-3_29
Hoang Tran-Viet1,*, Toan Nguyen-Duc1,*, Kien Nguyen,*, Quang Minh2,*, Son Ngo1,*, Shigeki Yamada2,*
  • 1: Hanoi University of Science and Technology
  • 2: National Institute of Informatics
*Contact email: hoang.tranviet@hust.edu.vn, toan.nguyenduc1@hust.edu.vn, kienng@nii.ac.jp, quangtran@nii.ac.jp, sonnh@soict.hust.edu.vn, shigeki@nii.ac.jp

Abstract

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.