Skip to contentSkip to conversation

Poor Performance for ethernet bonding

DISCUSSION Bernhard Busch 4 participants 4 messages Aug 24, 2001

lore
Share & tools
lore
#0 lore raw

Hi

I have tried to use ethernet network interfaces bonding to increase peformance.

Bonding is working fine, but the performance is rather poor. FTP between 2 machines ( kernel 2.4.4 and 4 port DLink 100Mbit ethernet card)
results in a transfer rate of 3MB/s).

Any Hints?

here is my setup for the channel bonding

insmod bonding
insmod tulip
ifconfig bond0 192.168.100.2 netmask 255.255.255.0 broadcast 192.168.100.255
ifconfig bond0 down
./ifenslave -v bond0 eth2 eth3 eth4 eth5
ifconfig bond0 up
route add -host 192.168.100.1 dev bond0

Many thanks for every help

Bernhard

--
Dr. Bernhard Busch
Max-Planck-Institut für Biochemie
Am Klopferspitz 18a
D-82152 Martinsried
Tel: +48(89)8578-2582
Fax: +49(89)8578-2479
Email [email protected]

#1 lore raw
Quoted 9 lines · Bernhard Busch

Hi

I have tried to use ethernet network interfaces bonding to increase peformance.

Bonding is working fine, but the performance is rather poor. FTP between 2 machines ( kernel 2.4.4 and 4 port DLink 100Mbit ethernet card)
results in a transfer rate of 3MB/s).

Slightly OT, but :
I had to return my 4 port DLink 10/100Mbit _switch_, because this piece of junk dropped 50-70% of packets sent. I'd suggest first to ping for some time and see statistics.

Sergey Ostrovsky.

#2 lore raw
In reply to Bernhard Busch
Quoted 6 lines · Bernhard Busch

Hi

I have tried to use ethernet network interfaces bonding to increase peformance.

Quoted 6 lines

Bonding is working fine, but the performance is rather poor. FTP between 2 machines ( kernel 2.4.4 and 4 port DLink 100Mbit ethernet card)
results in a transfer rate of 3MB/s).

Any Hints?

I've seen this too, it doesn't have anything to do with bonding, it's the fact that you are sending packets out several interfaces at once that's the cause. Same thing happend to me when transmitting at high speeds on two interfaces at once without bonding. And you are using 4 interfaces so I can imagine that it will be even worse than I saw.

And bonding on my two eepro100 in another machine works perfectly, no problem maxing out at aproximatly 200Mbit.

/Martin

Quoted 27 lines

here is my setup for the channel bonding

insmod bonding
insmod tulip
ifconfig bond0 192.168.100.2 netmask 255.255.255.0 broadcast 192.168.100.255
ifconfig bond0 down
./ifenslave -v bond0 eth2 eth3 eth4 eth5
ifconfig bond0 up
route add -host 192.168.100.1 dev bond0

Many thanks for every help

Bernhard

--
Dr. Bernhard Busch
Max-Planck-Institut für Biochemie
Am Klopferspitz 18a
D-82152 Martinsried
Tel: +48(89)8578-2582
Fax: +49(89)8578-2479
Email [email protected]

Quoted 6 lines

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

Linux hackers are funny people: They count the time in patchlevels.

#3 lore raw
Quoted 16 lines · Martin Josefsson
Quoted 6 lines · Bernhard Busch

Hi

I have tried to use ethernet network interfaces bonding to increase peformance.

Quoted 6 lines

Bonding is working fine, but the performance is rather poor. FTP between 2 machines ( kernel 2.4.4 and 4 port DLink 100Mbit ethernet card)
results in a transfer rate of 3MB/s).

Any Hints?

Quoted 8 lines

I've seen this too, it doesn't have anything to do with bonding, it's the fact that you are sending packets out several interfaces at once that's the cause. Same thing happend to me when transmitting at high speeds on two interfaces at once without bonding. And you are using 4 interfaces so I can imagine that it will be even worse than I saw.

And bonding on my two eepro100 in another machine works perfectly, no problem maxing out at aproximatly 200Mbit.

I've run a sustained 10Mbps tx & rx on 8 ports (2 of the Dlink 4-port NICs) for over 24 hours on a 2.4.7 kernel. I was not using bonding though. I'm guessing you're seeing lots of carrier errors, as the tulip driver used to be very bad at...uh..working. Try a 2.4.6 kernel or better and I bet your problem
goes away...

Ben

Signature · 3 lines
Ben Greear <[email protected]>          <[email protected]>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear