Performance of bonding driver

From: "J.A. MagallÃn"
Date: Fri Nov 20 2009 - 10:51:56 EST


Hi...

I have tw boxes which I linked together vi 2x gigabit interfaces and a
3Com switch. Each interface is:

02:0a.0 Ethernet controller: Intel Corporation 82541EI Gigabit Ethernet Controller
02:0b.0 Ethernet controller: Intel Corporation 82541EI Gigabit Ethernet Controller

The switch is private for them, so there is no more taffic.
One interface alone works pretty well:

[ 3] local 192.168.1.208 port 37739 connected with 192.168.1.226 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 1.00 GBytes 861 Mbits/sec

I loaded bondin driver with no parameters, and using iperf to test the connection
I get:

[ 5] local 192.168.1.208 port 5001 connected with 192.168.1.226 port 40036
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.0 sec 812 MBytes 679 Mbits/sec

In the node which receives, two instances of iftop on slave interfaces
show that load is balanced, but none flies higher than about 300 Mb/s.

Any ideas ?
Is bonding dependent on CPU power ? Boxes are P4-HT@xxx, 3Gb of RAM.

TIA

--
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/