From: Patrick McHardy <kaber@trash.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Multipath and equalize.
Date: Sun, 06 Apr 2003 12:21:08 +0000 [thread overview]
Message-ID: <marc-lartc-104963178326726@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104961004207609@msgid-missing>
N N Ashok wrote:
> I understand the concept of multipath in routing but dont know how the
>'equalize' option affects routing. From what I read, multipath specifies a
>list of interfaces (nexthops) to use for a given route. Whenever a route is
>looked up in the FIB, each interface (nexthop) is used according the 'weight'
>assigned to it during the route setup. By default the weights are assigned a
>value of 1 which results in each of the interface being used approximately
>equally.
> I read that 'equalize' option is suppossed to distribute the load on a
>per-packet basis. But the stock kernel does not seem to do it. I read the
>equalize patch provided by Patrick McHardy, <kaber@trash.net> at
>http://trash.net/~kaber/. This does achieve the per-packet load-balancing.
> I wanted to know what does the 'equalize' option do in the kernel without
>this patch. Can anyone help me with this?
>
Without the patch the kernel does nothing. An exact desciption how it
works is included
in the patch. Please make sure you understand the problems of per-packet
loadbalancing
before using it. If both lines have different rtt's tcp will get very
confused by constantly
arriving out-of-order packets, the performance may be even worse than
with just one
line. For ethernet bonding may be more appropriate. BTW, the patch was
not written by
me, i only adapted it to 2.4.18 and fixed some locking bugs.
Bye
Patrick
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-04-06 12:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-06 6:18 [LARTC] Multipath and equalize N N Ashok
2003-04-06 12:21 ` Patrick McHardy [this message]
2003-04-06 22:12 ` N N Ashok
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-104963178326726@msgid-missing \
--to=kaber@trash.net \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.