[ovs-discuss] mode_bond balance-tcp and question

r po r2.d2 at live.fr
Wed Sep 19 13:01:27 UTC 2012







Hi again, 

ok, i understand now how to work aggregate in ovs side. I have another question about it.
the bonding in OVS should work without any ifenslave configuration isn't it ?

> Date: Tue, 18 Sep 2012 10:18:30 -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
> 
> 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.
> >  		 	   		  
 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120919/43f6a835/attachment.html>


More information about the discuss mailing list