From owner-freebsd-ipfw Thu May 30 17:24:13 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from c015.snv.cp.net (h003.c015.snv.cp.net [209.228.35.118]) by hub.freebsd.org (Postfix) with SMTP id 3655537B400 for ; Thu, 30 May 2002 17:24:08 -0700 (PDT) Received: (cpmta 20595 invoked from network); 30 May 2002 17:24:07 -0700 Date: 30 May 2002 17:24:07 -0700 Message-ID: <20020531002407.20594.cpmta@c015.snv.cp.net> X-Sent: 31 May 2002 00:24:07 GMT Received: from [65.16.158.66] by mail.compgeek.com with HTTP; 30 May 2002 17:24:07 PDT Content-Type: text/plain Content-Disposition: inline Mime-Version: 1.0 To: freebsd-ipfw@freebsd.org From: Jon Noack X-Mailer: Web Mail 3.9.3.11 X-Sent-From: noackjr@compgeek.com Subject: Update: peer-to-peer asymmetric simulation Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I applied the patch from my original email and seem to have gotten it to work (after setting net.inet.ip.fw.one_pass=0). Example rules: For each from 101 to 108 pipe N config bw 32Kbit/s delay 70ms queue 4Kbytes add pipe N ip from 192.168.1. to any pipe N config bw 48Kbit/s queue 4Kbytes add pipe N ip from any to 192.168.1. There are 2 pipes per host for a total of 16 pipes. Limiting bandwidth down to 32Kbit/s seems to introduce an innate 20ms delay while 48Kbit/s introduces a delay of around 10ms (stayed constant at HZ=1000 and HZ=10000). The above rules give me a consistent 200ms ping time between hosts {(70ms [+ 20ms innate] [+ 10ms innate]) * 2}. Limiting bandwith to 128Kbit/s up and 1Mbit/s down introduces an innate delay of 10ms (for a full ping) about 2/3 of the time (average 7ms added over 60 pings). This is due to queuing delay, correct (or is this uncertain due to the hack to bridge.c)? Is there anything I can do to reduce this? Finally (I ask again), why is this not enabled by default? What am I risking with this? Thanks again, Jon Noack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message