ipfw (dummynet) adds delay, but not configured to do so

Sebastian Mellmann sebastian.mellmann at net.t-labs.tu-berlin.de
Wed Mar 4 13:05:56 PST 2009


> 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.
>
>   
Is there any chance to change this clock tick to a lower value?
I think it's the 'HZ=' option in the kernel config isn't it?

> cheers
> luigi
>   


Regards,
Sebastian


More information about the freebsd-ipfw mailing list