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

2009-03-04 Thread Sebastian Mellmann
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

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

2009-03-04 Thread Luigi Rizzo
On Wed, Mar 04, 2009 at 10:05:53PM +0100, Sebastian Mellmann wrote: 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

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

2009-03-04 Thread Luigi Rizzo
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

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

2009-03-04 Thread Freddie Cash
On March 4, 2009 1:14 pm Luigi Rizzo wrote: On Wed, Mar 04, 2009 at 10:05:53PM +0100, Sebastian Mellmann wrote: On Wed, Mar 04, 2009 at 08:17:05PM +0100, Sebastian Mellmann wrote: the delay that a packet experiences corresponds to len/bandwidth, often rounded up to the next clock tick

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

2009-03-04 Thread Ian Smith
On Wed, 4 Mar 2009, Sebastian Mellmann wrote: 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 When I do a simple ping from one

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

2009-03-04 Thread Sebastian Mellmann
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? yes. i believe there is a tunable (so you don't need to rebuild the kernel) but i do not remember exactly which one. kern.hz in /boot/loader.conf I only got an

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

2009-03-04 Thread Sebastian Mellmann
When I do a simple ping from one machine to another (actually the FreeBSD machine is between those machines), I can see a delay of ~2ms. Without any rules/pipes I've got under 1ms delay. Presumably each of the other machines are on a separate interface? Configured as a bridge or a