public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Poor Performance for ethernet bonding
@ 2001-08-25  7:04 Willy Tarreau
  2001-08-25 18:23 ` Ben Greear
  0 siblings, 1 reply; 15+ messages in thread
From: Willy Tarreau @ 2001-08-25  7:04 UTC (permalink / raw)
  To: greearb; +Cc: linux-kernel

Hi Ben,

> Couldn't the bonding code be made to distribute pkts to one interface or
> another based on a hash of the sending IP port or something?  Seems like that
> would fix the reordering problem for IP packets....  It wouldn't help for
> a single stream, but I'm guessing the real world problem involves many streams,
> which on average should hash such that the load is balanced...

You may take a look at this for enhancements to the bonding driver :

  http://sourceforge.net/projects/bonding/

The XOR method has been implemented to hash the flows based on the SRC/DST
MAC addresses.

Regards,
Willy


^ permalink raw reply	[flat|nested] 15+ messages in thread
* Poor Performance for ethernet bonding
@ 2001-08-24 13:37 Bernhard Busch
  2001-08-24 14:12 ` Sergey Ostrovsky
  2001-08-24 14:33 ` Martin Josefsson
  0 siblings, 2 replies; 15+ messages in thread
From: Bernhard Busch @ 2001-08-24 13:37 UTC (permalink / raw)
  To: linux-kernel

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 bbusch@biochem.mpg.de




^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2001-08-27  7:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3B865882.24D57941@biochem.mpg.de.suse.lists.linux.kernel>
2001-08-24 13:44 ` Poor Performance for ethernet bonding Andi Kleen
2001-08-24 15:19   ` Ben Greear
2001-08-24 15:22     ` Andi Kleen
2001-08-24 15:45       ` Ben Greear
2001-08-24 16:04         ` Andi Kleen
2001-08-27  7:40           ` Henning P. Schmiedehausen
2001-08-24 18:17     ` Thomas Davis
2001-08-24 20:59       ` Ben Greear
2001-08-25  7:04 Willy Tarreau
2001-08-25 18:23 ` Ben Greear
2001-08-26  7:59   ` willy tarreau
  -- strict thread matches above, loose matches on Subject: below --
2001-08-24 13:37 Bernhard Busch
2001-08-24 14:12 ` Sergey Ostrovsky
2001-08-24 14:33 ` Martin Josefsson
2001-08-24 15:16   ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox