[ovs-discuss] mode_bond balance-tcp and question

Ben Pfaff blp at nicira.com
Tue Sep 18 17:18:30 UTC 2012


There is definitely a difference.  If you use balance-slb, then
streams from a particular host (that is, all streams, if you are not
using VMs) will use the same interface.  If you use balance-tcp, then
streams from a particular host will be spread (statistically) across
the available interfaces.

On Tue, Sep 18, 2012 at 07:20:08PM +0200, r po wrote:
> Ok ! Tanks a lot for this quickly answer that conforte me in my config.
> Can you explain me if there are à real difference on balance TCP and balance slb 
> If the choice is mostly random ?
> 
> Thanks again !
> 
> > Date: Tue, 18 Sep 2012 09:56:32 -0700
> > From: blp at nicira.com
> > To: r2.d2 at live.fr
> > CC: discuss at openvswitch.org
> > Subject: Re: [ovs-discuss] mode_bond balance-tcp and question
> > 
> > On Tue, Sep 18, 2012 at 04:35:08PM +0200, r po wrote:
> > > In the documentation i read, balance-tcp : balances among interface based on L2, L3 and L4 and MAC and IP.
> > > 
> > > But when i'm try to test the troughput (i used iperf) i don't up to 2Go on communication between two same IP witch two différent TCP port : 
> > > 
> > > here is my test : 
> > > 
> > > on ovs 1 : (i configured a fake bridge with IP, work well)
> > > 
> > > iperf -c 10.10.10.10 -p 1000 
> > > 
> > > (on other console but always in ovs1 )
> > > 
> > > iperf -c 10.10.10.10 -p 7000
> > > 
> > > on ovs2 (in two different console)
> > > 
> > > iperf -s -p 1000
> > > iperf -s -p 7000
> > > 
> > > i got about 500Mbps on each transfert.
> > 
> > The initial choice of interface for a given stream is essentially
> > random.  Every 10 seconds, streams get rebalanced.  If you have
> > exactly 2 streams, and each one lasts only a few seconds, whether you
> > see a benefit is a matter of luck.
>  		 	   		  



More information about the discuss mailing list