2

I am configuring a hadoop cluster to prepare for our vendor to install its hadoop manager this week. The pre-installation checklist recommends that 1gb ethernet is not sufficient and that I should bond the two nics to double the bandwidth of each machine.

To do so, I'm trying to follow the instructions here to bond the nics: http://www.unixmen.com/linux-basics-create-network-bonding-centos-6-5/

However this page mentions nothing about doubling network bandwidth, and lists several different types of bonding that can be performed such as adaptive transmit load balancing, active-backup, broadcast, and adaptive load balancing.

What should I do to double the bandwidth to these servers by bonding the nics? Is there a tutorial I can view to accomplish this?

KinsDotNet
  • 197
  • 7
  • 1
    None of them literally double the bandwidth, but several of the are able to combine multiple interfaces in a way that increase the bandwidth in certain workloads. The mode you use depends on the workload and the specific equipment you have in your environment. I don't know hadoop, so I don't know what you need. Check with the vendor you are working with. – Zoredache Jan 08 '15 at 18:44
  • I think you should try mode=802.3ad with xmit_hash_policy=layer2+3 – ALex_hha Jan 08 '15 at 18:47

1 Answers1

2

No bonding mode doubles bandwidth of a single TCP or UDP connection, bonding just allows the bond to service multiple connections at once, where each connection could be the max speed of a single interface.

So say a bond with 4x 1Gbps NICs would never do 4Gbps over one session, but it could do a total of 4x 1Gbps sessions at the same time (or 8x 500Mbps sessions, etc).

If you need faster bandwidth for a single connection, get faster NICs.

suprjami
  • 3,536
  • 21
  • 29