Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Mar 2009 22:00:17 +0100
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        Sebastian Mellmann <sebastian.mellmann@net.t-labs.tu-berlin.de>
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re: ipfw (dummynet) adds delay, but not configured to do so
Message-ID:  <20090304210017.GA29615@onelab2.iet.unipi.it>
In-Reply-To: <49AED3B1.1060209@net.t-labs.tu-berlin.de>
References:  <49AED3B1.1060209@net.t-labs.tu-berlin.de>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, Mar 04, 2009 at 08:17:05PM +0100, Sebastian Mellmann wrote:
> Hi everyone!
> 
> I hope this is the right place to ask.
> 
> I've got a IPFW ruleset that looks like this:
> 
> cmd=ipfw
> bottleneck_bandwidth=100Mbit/s
> in_if="em0"
> 
> $cmd pipe 500 config bw $bottleneck_bandwidth
> $cmd add pipe 500 all from any to any via $in_if

the delay that a packet experiences corresponds to len/bandwidth,
often rounded up to the next clock tick (1ms is the default).
You get one delay inbound, one delay outbound, so that's 2ms.

cheers
luigi



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20090304210017.GA29615>