From owner-freebsd-ipfw@FreeBSD.ORG Sun Nov 20 21:45:44 2005 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 7461C16A420 for ; Sun, 20 Nov 2005 21:45:44 +0000 (GMT) (envelope-from asstec@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFC6A43D55 for ; Sun, 20 Nov 2005 21:45:43 +0000 (GMT) (envelope-from asstec@matik.com.br) Received: from anb (ap6.matik.com.br [200.152.83.36] (may be forged)) by msrv.matik.com.br (8.13.3/8.13.1) with ESMTP id jAKLjh6g027890 for ; Sun, 20 Nov 2005 19:45:44 -0200 (BRST) (envelope-from asstec@matik.com.br) From: AT Matik Organization: Infomatik To: freebsd-ipfw@freebsd.org Date: Sun, 20 Nov 2005 19:40:01 -0200 User-Agent: KMail/1.8.3 References: <20051120101001.A45777@xorpc.icir.org> <20051120132556.A47536@xorpc.icir.org> In-Reply-To: <20051120132556.A47536@xorpc.icir.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200511201940.01686.asstec@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on msrv.matik.com.br X-Virus-Status: Clean Subject: Re: strange dummynet WFQ problem 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: Sun, 20 Nov 2005 21:45:44 -0000 On Sunday 20 November 2005 19:25, Luigi Rizzo wrote: > On Sun, Nov 20, 2005 at 07:16:40PM +0100, Alexandre DELAY wrote: > > Interresting. I didn't find anythong about that. > > Where can I learn more about this "priorities"? > > well, dummynet does not du priorities but weights. > lookup google for "WFQ" > or read the ipfw manpage. > ehh, I guess he wanted to know why icmp echo is beeing queued because you s= aid=20 it before Jo=E3o > cheers > luigi > > > Alex > > > > > > -----Message d'origine----- > > De : Luigi Rizzo [mailto:rizzo@icir.org] > > Envoye : dimanche 20 novembre 2005 19:10 > > A : Alexandre DELAY > > Cc : freebsd-ipfw@freebsd.org > > Objet : Re: strange dummynet WFQ problem > > > > On Sun, Nov 20, 2005 at 07:04:47PM +0100, Alexandre DELAY wrote: > > > It effectively works well, but I still have a problem: > > > > > > When I use my bandwidth (download a huge file) and I start a ping at > > > the same time, latency grows from 15ms up to 300ms. > > > > it is normal because the ping packets are queued behind > > the other traffic. > > > > luigi > > > > > Again my conf: > > > > 00005 allow ip from any to any via lo0 > > > > 00006 deny ip from any to 127.0.0.0/8 > > > > 00007 deny ip from 127.0.0.0/8 to any > > > > 00011 divert 8668 ip from any to any via ext > > > > 21046 queue 8 ip from any to 172.20.1.23 in via ext > > > > 21047 queue 9 ip from 172.20.1.23 to any in via int > > > > 65535 allow ip from any to any > > > > > > Cheers > > > > > > Alex > > > > > > > > > -----Message d'origine----- > > > De : owner-freebsd-ipfw@freebsd.org > > > [mailto:owner-freebsd-ipfw@freebsd.org]De la part de Luigi Rizzo > > > Envoye : mercredi 29 juin 2005 18:33 > > > A : Alexandre D. > > > Cc : freebsd-ipfw@freebsd.org > > > Objet : Re: strange dummynet WFQ problem > > > > > > > > > hi, > > > when a pipe or queue has a mask of all 0's it only shows the addresses > > > of the first packet that matched, so you don't have to worry about > > > that. Also, if queues are linked to the pipe, the accounting is done = on > > > the queues and not on the pipe. > > > > > > cheers > > > luigi > > > > > > On Wed, Jun 29, 2005 at 06:27:48PM +0200, Alexandre D. wrote: > > > > Hi guys > > > > > > > > I have a strange problem. > > > > > > > > here is a simple sample my conf (hic!): > > > > > > > > # ipfw list > > > > 00005 allow ip from any to any via lo0 > > > > 00006 deny ip from any to 127.0.0.0/8 > > > > 00007 deny ip from 127.0.0.0/8 to any > > > > 00011 divert 8668 ip from any to any via ext > > > > 21046 queue 8 ip from any to 172.20.1.23 > > > > 21047 queue 9 ip from 172.20.1.23 to any > > > > 65535 allow ip from any to any > > > > > > > > bash-2.05b# ipfw pipe list > > > > 00001: 1.024 Mbit/s 0 ms 50 sl. 0 queues (1 buckets) droptail > > > > mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 > > > > 00002: 1.024 Mbit/s 0 ms 50 sl. 0 queues (1 buckets) droptail > > > > mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 > > > > ... > > > > q00008: weight 4 pipe 1 50 sl. 1 queues (1 buckets) droptail > > > > mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 > > > > BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes > > > > > > Pkt/Byte > > > > > > > Drp > > > > 0 udp dns address/53 172.20.1.195/3007 1032 254524= =20 > > > > 0 > > > > > > 0 > > > > > > > 0 > > > > q00009: weight 4 pipe 2 50 sl. 1 queues (1 buckets) droptail > > > > mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 > > > > BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes > > > > > > Pkt/Byte > > > > > > > Drp > > > > 0 udp 172.20.1.195/68 255.255.255.255/67 589 53330 = 0 > > > > 0 > > > > > > 0 > > > > > > > > > > > > The thing is that: > > > > -it looks that datas are going through the corrects queues, > > > > -each queue is correctly linked to a pipe > > > > -there is not accounting on both pipes > > > > -only dns packets are shown by this command. > > > > > > > > > > > > My wonders are: > > > > -How can I be sure that my queues are correctly linked to the pipes? > > > > -Why don't I have accounting on the pipes? > > > > -Why don't I get other than dns packet accounting? > > > > > > > > Sorry for the english > > > > > > > > Thanks for the answer > > > > > > > > Cheers > > > > > > > > Alex > > > > > > > > _______________________________________________ > > > > freebsd-ipfw@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > > > > To unsubscribe, send any mail to > > > > "freebsd-ipfw-unsubscribe@freebsd.org" > > > > > > _______________________________________________ > > > freebsd-ipfw@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > > > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.or= g" > > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org" > > > > > > > > A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada > segura. Service fornecido pelo Datacenter Matik=20 > https://datacenter.matik.com.br =2D-=20 Atenciosamente Infomatik Internet Technology (18)3551.8155 (18)8112.7007 http://info.matik.com.br A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br