From owner-freebsd-ipfw@FreeBSD.ORG Wed Apr 12 23:07:01 2006 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CB0C16A400 for ; Wed, 12 Apr 2006 23:07:01 +0000 (UTC) (envelope-from billf@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 673BE43D45 for ; Wed, 12 Apr 2006 23:07:01 +0000 (GMT) (envelope-from billf@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1098) id 5CD381A4D8B; Wed, 12 Apr 2006 16:07:01 -0700 (PDT) Date: Wed, 12 Apr 2006 16:07:01 -0700 From: Bill Fumerola To: AT Matik Message-ID: <20060412230701.GV9364@elvis.mu.org> References: <20060411092932.42148fd8@giboia> <20060412214619.GT9364@elvis.mu.org> <443D7B71.5070004@freebsdbrasil.com.br> <200604121942.25737.asstec@matik.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200604121942.25737.asstec@matik.com.br> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 6.1-MUORG-20060326 amd64 X-PGP-Key: 1024D/7F868268 X-PGP-Fingerprint: 5B2D 908E 4C2B F253 DAEB FC01 8436 B70B 7F86 8268 Cc: freebsd-ipfw@freebsd.org Subject: Re: Load-balancing X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2006 23:07:01 -0000 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