Re: bandwidth aggregation between 2 hosts in the same subnet

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Zirnik schrieb:
> On Monday 30 July 2007 16:10, Ralf Gross wrote:
> >
> > My goal is to increase the bandwidth for a single tcp session between
> > the two hosts for a backup job (per packet round robin?), not for
> > multiple connections between many hosts. I know that I won't get 2 x
> > 115Mb/s because of packet reordering, but 20-30% more that a single
> > connection would be ok.
> >
> > I followed different HowTOs
> >
> > http://www.lartc.org/howto/lartc.rpdb.multiple-links.html#AEN298
> > http://lartc.org/howto/lartc.loadshare.html
> > or something like: ip route...equalize via...
> >
> > but I never got a higher transfer rate  between the two hosts than
> > max 115Mb/s with benchmarks like netpipe or netio.
> 
> If you have different switches for each line i suggest the use
> of "bonding" in balance-round-robin mode.  
> 
> +-------+  eth0  +--------+  eth0  +------+
> | Host  |--------|switch 1|--------| Host | 
> |       |        +--------+        |      |
> |  A    |  eth1  +--------+  eth1  |   B  |
> |       |--------|switch 2|--------|      |
> +-------+        +--------+        +------+

I tried this setup a while ago. Both hosts were connected to a Cisco
switch. On the linux hosts I created bond0 interfaces (round robin)
and the switch ports on both switches were configured as Port
Channels. 

+-------+ eth2         +----+   +----+         eth2 +------+
| Host  |------        |PC1 |   |PC2 |        ------| Host |
|       |      |_bond0_|    |__ |    |_bond0_|      |      |
|  A    |      |       |SW1 |   |SW1 |       |      |  B   |
|       |------        |    |   |    |        ------|      |
+-------+ eth3         +----+   +----+        eth3  +------+


This didn't increase the transfer rate for a tcp session between the
two hosts. Because the mac and ip addresses are the same for the whole
tcp session (backup). 

http://www.cisco.com/warp/public/473/4.html
<quote>
For example, if the traffic on a channel only goes to a single MAC
address, use of the destination MAC address results in the choice of
the same link in the channel each time. 


Maybe I'm missing something, but the Cisco people here told me the
same.


Ralf
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux