May i have some question about interface configuration ? I want to use 4 ports gigabit bonding on centos6. Is linux limited speed below full ports( 4 * 1GB) by default or not? I cannot use speed more than 2 GB.
Thank you in advance.
May i have some question about interface configuration ? I want to use 4 ports gigabit bonding on centos6. Is linux limited speed below full ports( 4 * 1GB) by default or not? I cannot use speed more than 2 GB.
Thank you in advance.
It depends on the bonding mode in use and the nature of the traffic flowing across the connection.
Start by reviewing this: https://www.kernel.org/doc/Documentation/networking/bonding.txt Pay particular attention to section "12.1.1 MT Bonding Mode Selection for Single Switch Topology"
You might be able to achieve what you want with a "balance-rr" bond. I've never personally been very satisfied with these though - others might have better experiences.
Generally speaking a 4x1Gb bond is going to give you a 1Gb connection that's 4x harder to saturate rather than just a 4Gb connection. The reason being that in most bonding modes the kernel will select a particular interface within the bond to send all the traffic for either a particular connection or host thru. This is referred to as the transmit hash policy in the above document. With a sufficient diversity of hosts/connections the load becomes equally balanced across the individual links, but no one connection will exceed the maximum speed of an individual link (obviously).