From owner-freebsd-net Tue Jan 2 12:39:34 2001 From owner-freebsd-net@FreeBSD.ORG Tue Jan 2 12:39:31 2001 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from prioris.mini.pw.edu.pl (prioris.mini.pw.edu.pl [148.81.80.7]) by hub.freebsd.org (Postfix) with ESMTP id 374B037B402 for ; Tue, 2 Jan 2001 12:39:27 -0800 (PST) Received: from pf39.warszawa.sdi.tpnet.pl (prioris.mini.pw.edu.pl [148.81.80.7]) by prioris.mini.pw.edu.pl (Postfix) with ESMTP id 729067D04E for ; Tue, 2 Jan 2001 21:39:09 +0100 (CET) Received: (from zaks@localhost) by pf39.warszawa.sdi.tpnet.pl (8.11.1/8.11.1) id f02KcxG00701; Tue, 2 Jan 2001 21:38:59 +0100 (CET) (envelope-from zaks) Content-MD5: 2b4c3efccb54ee2f5d822fd1b98f53de From: Slawek Zak To: freebsd-net@freebsd.org Subject: Re: Dummynet problem References: <200101020603.f0263wf69442@iguana.aciri.org> Date: 02 Jan 2001 21:38:58 +0100 In-Reply-To: <200101020603.f0263wf69442@iguana.aciri.org> Message-ID: <87vgrx3d0d.fsf@pf39.warszawa.sdi.tpnet.pl> Lines: 75 User-Agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 1 Jan 2001, Luigi Rizzo uttered the following: > it should not be equal provided the 'high weight' flow has sufficient > traffic going. Both FTP transfers I've used for testing were around 60Kbps each. One done by user dnld1, the other one by other user. > Can you do an 'ipfw zero' before the transfer, and provide the output of Sure. I've `ipfw zero'ed after both transfers were started. > ipfw show 00100 0 0 allow ip from any to any via lo0 00100 226 327495 queue 10 tcp from any to any uid dnld1 in 00200 0 0 deny ip from any to 127.0.0.0/8 00200 677 338406 queue 11 ip from any to any 65535 0 0 allow ip from any to any > ipfw queue show 00001: 128.000 Kbit/s 0 ms 50 sl. 0 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 q00010: weight 1 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 tcp AAA.BBB.CCC.DDD/21 XXX.YYY.ZZZ.QQQ/12088 488 693234 0 0 0 q00011: weight 10 pipe 1 50 sl. 168 queues (64 buckets) droptail mask: 0xff 0xffffffff/0xffff -> 0xffffffff/0xffff BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp 0 tcp AAA.BBB.CCC.DDD/22 XXX.YYY.ZZZ.QQQ/1022 1 44 0 0 0 4 tcp XXX.YYY.ZZZ.QQQ/12092 AAA.BBB.CCC.DDD/49186 318 12724 0 0 0 5 tcp XXX.YYY.ZZZ.QQQ/12091 AAA.BBB.CCC.DDD/49185 463 18524 0 0 0 5 tcp XXX.YYY.ZZZ.QQQ/12089 AAA.BBB.CCC.DDD/49184 5 204 0 0 0 15 tcp AAA.BBB.CCC.DDD/21 XXX.YYY.ZZZ.QQQ/12088 1 40 0 0 0 23 tcp AAA.BBB.CCC.DDD/21 XXX.YYY.ZZZ.QQQ/12084 30 2153 0 0 0 25 tcp AAA.BBB.CCC.DDD/49183 XXX.YYY.ZZZ.QQQ/12086 207 306124 0 0 0 30 tcp AAA.BBB.CCC.DDD/49182 XXX.YYY.ZZZ.QQQ/12085 4 1455 0 0 0 34 tcp XXX.YYY.ZZZ.QQQ/12084 AAA.BBB.CCC.DDD/21 34 1828 0 0 0 46 tcp XXX.YYY.ZZZ.QQQ/12088 AAA.BBB.CCC.DDD/21 24 1220 0 0 0 46 tcp XXX.YYY.ZZZ.QQQ/1022 AAA.BBB.CCC.DDD/22 2 84 0 0 0 48 tcp AAA.BBB.CCC.DDD/49186 XXX.YYY.ZZZ.QQQ/12092 317 469668 0 0 0 52 tcp XXX.YYY.ZZZ.QQQ/12086 AAA.BBB.CCC.DDD/49183 207 8284 0 0 0 53 tcp XXX.YYY.ZZZ.QQQ/12085 AAA.BBB.CCC.DDD/49182 5 204 0 0 0 > ipfw pipe show 00001: 128.000 Kbit/s 0 ms 50 sl. 0 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 q00010: weight 1 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 tcp AAA.BBB.CCC.DDD/21 XXX.YYY.ZZZ.QQQ/12088 488 693234 0 0 0 q00011: weight 10 pipe 1 50 sl. 168 queues (64 buckets) droptail mask: 0xff 0xffffffff/0xffff -> 0xffffffff/0xffff BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp 0 tcp AAA.BBB.CCC.DDD/22 XXX.YYY.ZZZ.QQQ/1022 1 44 0 0 0 4 tcp XXX.YYY.ZZZ.QQQ/12092 AAA.BBB.CCC.DDD/49186 318 12724 0 0 0 5 tcp XXX.YYY.ZZZ.QQQ/12091 AAA.BBB.CCC.DDD/49185 463 18524 0 0 0 5 tcp XXX.YYY.ZZZ.QQQ/12089 AAA.BBB.CCC.DDD/49184 5 204 0 0 0 15 tcp AAA.BBB.CCC.DDD/21 XXX.YYY.ZZZ.QQQ/12088 1 40 0 0 0 23 tcp AAA.BBB.CCC.DDD/21 XXX.YYY.ZZZ.QQQ/12084 30 2153 0 0 0 25 tcp AAA.BBB.CCC.DDD/49183 XXX.YYY.ZZZ.QQQ/12086 207 306124 0 0 0 30 tcp AAA.BBB.CCC.DDD/49182 XXX.YYY.ZZZ.QQQ/12085 4 1455 0 0 0 34 tcp XXX.YYY.ZZZ.QQQ/12084 AAA.BBB.CCC.DDD/21 34 1828 0 0 0 46 tcp XXX.YYY.ZZZ.QQQ/12088 AAA.BBB.CCC.DDD/21 24 1220 0 0 0 46 tcp XXX.YYY.ZZZ.QQQ/1022 AAA.BBB.CCC.DDD/22 2 84 0 0 0 48 tcp AAA.BBB.CCC.DDD/49186 XXX.YYY.ZZZ.QQQ/12092 317 469668 0 0 0 52 tcp XXX.YYY.ZZZ.QQQ/12086 AAA.BBB.CCC.DDD/49183 207 8284 0 0 0 53 tcp XXX.YYY.ZZZ.QQQ/12085 AAA.BBB.CCC.DDD/49182 5 204 0 0 0 Irrelevant udp/icmp traffic was snipped, IP's were masked to protect the innocent ;) `ipfw pipe show' and `ipfw queue show' look both very similar - hmm. Best regards, /S To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message