Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2003 11:28:01 +0100
From:      Andy Coates <andy@bribed.net>
To:        freebsd-ipfw@freebsd.org
Subject:   Re: ipfw bandwidth shaping problems (intermittent latency)
Message-ID:  <20030625102801.GM84062@andy.btvs.net>
In-Reply-To: <20030625094802.GK84062@andy.btvs.net>
References:  <20030625094802.GK84062@andy.btvs.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Andy Coates (andy@bribed.net) wrote:
> Hi,
> 
> Up until now I've been fairly happy with just using a simple pipe with:
> 
>   pipe 1 config bw 2400Kbit/s
> 
> However recently under a more utilised link we start to see every third
> packet or so have a higher latency than the rest.  For example, an icmp
> ping to the host would show 10ms, 10ms, and then 190ms, then back to 10ms
> for another 2 pings and upto 190ms again.
> 
> I decided to play with the queue settings, and tried:
> 
>   pipe 1 config bw 2400Kbit/s queue 15
> 
> This then brought that third ping down to 70ms, so an improvement.  This
> still isn't acceptable however, since the amount of bandwidth being used
> is only 1000Kbit/s so I can't see where the problem is.
> 
> Is there anything else I can change to improve the response/latency? Or
> is this some type of bug?

Just to clarify what I mean:

64 bytes from x.x.x.x: icmp_seq=0 ttl=248 time=70.803 ms
64 bytes from x.x.x.x: icmp_seq=1 ttl=248 time=3.850 ms
64 bytes from x.x.x.x: icmp_seq=2 ttl=248 time=3.551 ms
64 bytes from x.x.x.x: icmp_seq=3 ttl=248 time=123.844 ms
64 bytes from x.x.x.x: icmp_seq=4 ttl=248 time=3.759 ms
64 bytes from x.x.x.x: icmp_seq=5 ttl=248 time=3.600 ms
64 bytes from x.x.x.x: icmp_seq=6 ttl=248 time=3.507 ms
64 bytes from x.x.x.x: icmp_seq=7 ttl=248 time=3.687 ms
64 bytes from x.x.x.x: icmp_seq=8 ttl=248 time=3.594 ms
64 bytes from x.x.x.x: icmp_seq=9 ttl=248 time=3.527 ms
64 bytes from x.x.x.x: icmp_seq=10 ttl=248 time=23.543 ms
64 bytes from x.x.x.x: icmp_seq=11 ttl=248 time=123.615 ms
64 bytes from x.x.x.x: icmp_seq=12 ttl=248 time=3.637 ms
64 bytes from x.x.x.x: icmp_seq=13 ttl=248 time=3.661 ms
64 bytes from x.x.x.x: icmp_seq=14 ttl=248 time=103.323 ms
64 bytes from x.x.x.x: icmp_seq=15 ttl=248 time=13.101 ms
64 bytes from x.x.x.x: icmp_seq=16 ttl=248 time=3.569 ms
64 bytes from x.x.x.x: icmp_seq=17 ttl=248 time=23.151 ms
64 bytes from x.x.x.x: icmp_seq=18 ttl=248 time=92.962 ms
64 bytes from x.x.x.x: icmp_seq=19 ttl=248 time=3.555 ms
64 bytes from x.x.x.x: icmp_seq=20 ttl=248 time=43.122 ms
64 bytes from x.x.x.x: icmp_seq=21 ttl=248 time=72.781 ms
64 bytes from x.x.x.x: icmp_seq=22 ttl=248 time=3.547 ms
64 bytes from x.x.x.x: icmp_seq=23 ttl=248 time=122.583 ms
64 bytes from x.x.x.x: icmp_seq=24 ttl=248 time=42.509 ms
64 bytes from x.x.x.x: icmp_seq=25 ttl=248 time=3.540 ms
64 bytes from x.x.x.x: icmp_seq=26 ttl=248 time=52.660 ms


Thats just plain odd to me.

Andy.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030625102801.GM84062>