2009-11-20 15:51:46

by J.A. Magallón

[permalink] [raw]
Subject: Performance of bonding driver

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 [email protected], 3Gb of RAM.

TIA

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




2009-11-20 19:16:24

by David Miller

[permalink] [raw]
Subject: Re: Performance of bonding driver

From: ""J.A. Magall?n"" <[email protected]>
Date: Fri, 20 Nov 2009 16:51:47 +0100

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

Just FYI, you might get better help on [email protected]

Thanks.