From owner-freebsd-net Thu Mar 25 9:47:23 1999 Delivered-To: freebsd-net@freebsd.org Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (Postfix) with SMTP id 2BF1814BCF for ; Thu, 25 Mar 1999 09:47:20 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id OAA12974; Thu, 25 Mar 1999 14:51:32 +0100 From: Luigi Rizzo Message-Id: <199903251351.OAA12974@labinfo.iet.unipi.it> Subject: Re: Dummynet To: mbretter@sbox.tu-graz.ac.at (Michael Bretterklieber) Date: Thu, 25 Mar 1999 14:51:32 +0100 (MET) Cc: freebsd-net@FreeBSD.ORG In-Reply-To: <99032516440600.00307@babsi.tu-graz.ac.at> from "Michael Bretterklieber" at Mar 25, 99 04:21:10 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1566 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > I added: pipe 1 ip from A to B > > > > > > and a bw of 64KBytes/s results in an effective bw of 2.5KBytes/s > > > (counted via ftp) > > > 128KBytes/s -> 5 KBytes/s > > > 256KBytes/s -> 10 KBytes/s > > > etc...?! > > > > send me the output of "ipfw show" and "ipfw pipe show" > > plus how big is the file -- for a very short one you won't be able to > > measure the real throughput using ftp because of tcp slow start. > > > > luigi > PC1 Bridge PC2 > |----| |---------| |------| > | xl0|----------|ed1 ed0|-----| | > |----| |---------| |------| > 192.168.0.238 no IP 192.168.0.96 > > I transmitted one file with 56940 Bytes from PC1 to PC2 via ftp > in 13.24 sec. (4.30 KByte/s): > > Here is the output from "ipfw show": > 00010 69 75877 pipe 1 ip from 192.168.0.238 to 192.168.0.96 > 00150 0 0 allow ip from any to any via lo0 > 00200 0 0 deny ip from any to 127.0.0.0/8 > 65535 12 0 allow ip from any to any > > Here is the output from "ipfw pipe show": > 00001: 1.000 Mbit/s 0 ms 100 sl. -- 10 pkts (352720 B) 0 drops there must be some problem somewhere, are you sure you have the latest bridge.c ipfw.c and ip_dummynet.c and binaries are derived from them -- it makes no sense that you have 10 pkts in the queue and certainly they cannot sum up to over 300Kbytes. (it might well be my fault... can you refresh me on your os and the version of the above files... in doubt rm kernel bridge.o ipfw.o ip_dummynet.o from your compile dir and rebuild one.) luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message