Load-balancing

Bill Fumerola billf at FreeBSD.org
Wed Apr 12 23:07:01 UTC 2006


On Wed, Apr 12, 2006 at 07:42:25PM -0300, AT Matik wrote:
> On Wednesday 12 April 2006 19:13, Patrick Tracanelli wrote:
> > Also, what about some sort of algorith more similar to "plr" for "prob"
> > action? As my understanding prob is really a probability, which does not
> > mean say 33% of the packets will match (while plr says it will match -
> > and drop the packet), it means 33% of probability, right? This would be
> > different of 33% of matching rate. Lets think of a "rate" option for
> > "matching rate", a
> >
> 
> "probably" not a good choice to generate packet-loss when trying kind of load 
> balance
> 
> prob generates random rate (fwd in this case)
> plr generates random packet _loss_ rate 
> 
> I think the latter option create artificial kind of bw limit

yes the two share only a math equation. even if they behaved the same
(match v. drop), the two wouldn't be equivalent because you get all of
dummynet's queueing/dropping characteristics.

-- bill


More information about the freebsd-ipfw mailing list