Date: Sun, 27 Jul 2003 08:57:34 -0700 From: Luigi Rizzo <rizzo@icir.org> To: Mark Hannon <markhannon@optusnet.com.au> Cc: freebsd-ipfw@freebsd.org Subject: Re: using dummynet to simulate modem, dsl, etc Message-ID: <20030727085734.A89225@xorpc.icir.org> In-Reply-To: <3F23ABF3.1020905@optusnet.com.au>; from markhannon@optusnet.com.au on Sun, Jul 27, 2003 at 08:39:47PM %2B1000 References: <3F212BF7.4060602@optusnet.com.au> <20030725103814.A54554@xorpc.icir.org> <3F23ABF3.1020905@optusnet.com.au>
index | next in thread | previous in thread | raw e-mail
On Sun, Jul 27, 2003 at 08:39:47PM +1000, Mark Hannon wrote:
> For those that are interested ... the following script and test results
> were obtained. My
> reasonings for the delay etc are partially included in the perl script.
...
> # add serilization of 40 octet ACK to upsteam delay
> $us_serial_delay = (40 * 8 ) / $$this{us_bw};
...
> # add serilization of MTU octet data to downstream delay
> $ds_serial_delay = ($$this{mtu} * 8 ) / $$this{ds_bw};
why are you adding this extra delay ? dummynet already does that --
a packet only comes out of a pipe after what you call the "serialization"
delay (of the packet itself and any other packet queued in front of
it).
cheers
luigi
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030727085734.A89225>
