[Click] Load balancing - packet reordering

Nicholas Weaver nweaver at ICSI.Berkeley.EDU
Wed Mar 1 12:49:45 EST 2006


On Wed, Mar 01, 2006 at 06:37:57PM +0100, Torquato Bertani composed:
> Hi all,
> I'd like to realize a configuration that permit to do load balancing
> between two or more devices.
> 
>         |
> eth0--|
> 
> I realized a very simple configuration that put everything that I need
> to transmit in a queue element and connected it to two devices;
> 
> outqueue::Queue();
> outqueue -> ToDevice(eth1);
> outqueue -> ToDevice(eth2);
> 
> This work fine, I can send almost double.
> 
> At the other side I have a simmetric configuration:
> 
> FromDevice(eth1) -> c0::Classifier();
> FromDevice(eth2) -> c0;
> 
> This also work, the problem is that I got a very large number of
> "out-of-order packet". It's obvious but I don't know how to resolve
> the problem. I thought to write an element that can reorder the
> recived packets based on their IP sequence number/IP source. What do
> you think about that idea? Any better suggestion? Does click have an
> alternative way to do that?

Out of order packets are going to be a fact of life.

Question:  Why is reordering such a problem for you?  

Is it intra-stream or inter-stream reordering thats the problem?

> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click

-- 
Nicholas C. Weaver                               nweaver at icsi.berkeley.edu
     This message has been ROT-13 encrypted twice for higher security.


More information about the click mailing list