Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2003 06:35:49 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        Andy Coates <andy@bribed.net>
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re: ipfw bandwidth shaping problems (intermittent latency)
Message-ID:  <20030625063549.A99499@xorpc.icir.org>
In-Reply-To: <20030625102801.GM84062@andy.btvs.net>; from andy@bribed.net on Wed, Jun 25, 2003 at 11:28:01AM %2B0100
References:  <20030625094802.GK84062@andy.btvs.net> <20030625102801.GM84062@andy.btvs.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 25, 2003 at 11:28:01AM +0100, Andy Coates wrote:
> Andy Coates (andy@bribed.net) wrote:
...
> > 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.

well your numbers below are actually quite different from
your description above -- anyways, pleaspost the output of

	ipfw pipe show

to see what is going on in the pipe. My impression is still that
you have a fair amount of (bursty) traffic going through the
pipe which causes queues to build up.

	cheers
	luigi

> > 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.
> _______________________________________________
> freebsd-ipfw@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"



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