From owner-freebsd-ipfw@FreeBSD.ORG Fri Apr 27 12:41:13 2012 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED3F3106564A for ; Fri, 27 Apr 2012 12:41:12 +0000 (UTC) (envelope-from javier_9185@hotmail.com) Received: from snt0-omc4-s3.snt0.hotmail.com (snt0-omc4-s3.snt0.hotmail.com [65.55.90.206]) by mx1.freebsd.org (Postfix) with ESMTP id BD3608FC15 for ; Fri, 27 Apr 2012 12:41:12 +0000 (UTC) Received: from SNT136-W15 ([65.55.90.201]) by snt0-omc4-s3.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 27 Apr 2012 05:40:05 -0700 Message-ID: X-Originating-IP: [190.244.189.153] From: Javier - To: Date: Fri, 27 Apr 2012 12:40:05 +0000 Importance: Normal In-Reply-To: <20120427114941.GB9088@onelab2.iet.unipi.it> References: <20120427065523.GA90180@onelab2.iet.unipi.it> , <20120427114941.GB9088@onelab2.iet.unipi.it> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 27 Apr 2012 12:40:05.0719 (UTC) FILETIME=[DF70B670:01CD2472] Cc: freebsd-ipfw@freebsd.org Subject: RE: Dummynet and bursting! 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: Fri, 27 Apr 2012 12:41:13 -0000 OK=2C but with increased burst to 5mbytes i have same results. will try fresh install from freebsd (no pfsense)=2C and the results will be= posted later. =20 Thanks! =20 --------------------------------------------------------------- Transfer estimates are completely unreliable in general=2C you need time for tcp to open the window=2C plus the RTT of the connection influences the throughput=2C etc. =20 You can perhaps make some reasonable test by setting a low bandwidth. Burst seems to work fine here (on stable/9)=2C see below =20 --- no pipes=2C no nothing --- > ping localhost PING localhost (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=3D0 ttl=3D64 time=3D0.079 ms 64 bytes from 127.0.0.1: icmp_seq=3D1 ttl=3D64 time=3D0.064 ms ^C =20 --- one 10Kbit/s pipe=2C no burst --- > sudo ipfw add 100 pipe 1 proto icmp out 00100 pipe 1 ip from any to any proto icmp out > sudo ipfw pipe 1 config bw 10Kbit/s burst 0 > sudo ipfw pipe show 00001: 10.000 Kbit/s 0 ms burst 0=20 q131073 50 sl. 0 flows (1 buckets) sched 65537 weight 0 lmax 0 pri 0 dropta= il sched 65537 type FIFO flags 0x0 0 buckets 0 active > ping localhost PING localhost (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=3D0 ttl=3D64 time=3D134.602 ms 64 bytes from 127.0.0.1: icmp_seq=3D1 ttl=3D64 time=3D135.011 ms 64 bytes from 127.0.0.1: icmp_seq=3D2 ttl=3D64 time=3D135.019 ms ^C =20 --- now increase the burst to 100Kbytes --- > sudo ipfw pipe 1 config bw 10Kbit/s burst 100K > sudo ipfw pipe show 00001: 10.000 Kbit/s 0 ms burst 102400=20 q131073 50 sl. 0 flows (1 buckets) sched 65537 weight 0 lmax 0 pri 0 dropta= il sched 65537 type FIFO flags 0x0 0 buckets 0 active > ping localhost PING localhost (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=3D0 ttl=3D64 time=3D0.070 ms 64 bytes from 127.0.0.1: icmp_seq=3D1 ttl=3D64 time=3D0.083 ms 64 bytes from 127.0.0.1: icmp_seq=3D2 ttl=3D64 time=3D0.066 ms ^C =20 cheers luigi ---------------------------------------- > Date: Fri=2C 27 Apr 2012 13:49:41 +0200 > From: rizzo@iet.unipi.it > To: javier_9185@hotmail.com > CC: freebsd-ipfw@freebsd.org > Subject: Re: Dummynet and bursting! > > On Fri=2C Apr 27=2C 2012 at 10:50:17AM +0000=2C Javier - wrote: > > > > I want to leave at cable speed n bytes=2C after n bytes apply the queue= bw limit... > > and what are you seeing instead ? Do you have a trace or > something that shows that it does not work like this ? > > cheers > luigi > > > In Linux with htb this is done with cburst parameter... > > > > > > > > Regards! > > > > > > > Date: Fri=2C 27 Apr 2012 08:55:23 +0200 > > > From: rizzo@iet.unipi.it > > > To: javier_9185@hotmail.com > > > CC: freebsd-ipfw@freebsd.org > > > Subject: Re: Dummynet and bursting! > > > > > > On Fri=2C Apr 27=2C 2012 at 04:57:20AM +0000=2C Javier - wrote: > > > > > > > > > > > > > > > > > > > > Hello all!=2C i?m researching about bursting with dummynet?s pipes.= i can?t find the way in order to make the burst paramter work under pipe c= ommand=3Bpipe config ........ burst 500000 (500Kbytes)->not luck pipe confi= g ........ burst 500000 queue 500Kbytes ->not luck These parameters seems t= o be ok under pipe show=2C but no effect on real escenario... traffic is an= yway at same speed defiined by "bw". Any help/comment wll be appreciated...= specially from Luigi! Is he alive on the list? Regards! ___________________= ____________________________ > > > > > > can you clarify what you are expecting and what you are seeing ? > > > > > > cheers > > > luigi =