using dummynet to simulate modem, dsl, etc

Luigi Rizzo rizzo at icir.org
Sun Jul 27 08:57:37 PDT 2003


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


More information about the freebsd-ipfw mailing list