Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2007 08:24:13 +0200
From:      Daniel Hartmeier <daniel@benzedrine.cx>
To:        Patrick Proniewski <patpro@patpro.net>
Cc:        Greg Hennessy <Greg.Hennessy@nviz.net>, freebsd-pf@freebsd.org
Subject:   Re: strange "throttling" issue with pf on xDSL connection
Message-ID:  <20070802062413.GB32306@insomnia.benzedrine.cx>
In-Reply-To: <611A93D3-A392-493B-80ED-4C5AC77AA77A@patpro.net>
References:  <DE71F511-8553-401A-A16C-DF4CAA5DA6E3@patpro.net> <611A93D3-A392-493B-80ED-4C5AC77AA77A@patpro.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 01, 2007 at 05:42:19PM +0200, Patrick Proniewski wrote:

> While playing around with systat I've discovered that the transfer  
> rate can be as low as 20 KB/s and as high as 850 KB/s on a single  
> download from http://test-debit.free.fr, but the mean value will  
> always be around 120-150 KB/s when pf is active. From one sample to  
> another (every second), the transfer rate is very erratic.
> If I disable pf on ext_if (set skip on $ext_if), the transfer rate  
> reaches quickly 850 KB/s and is almost stable. It decreases to  
> 400-450 KB/s for 1 or 2 seconds, 3 or 4 times per minute.

Enable pf debug logging (pfctl -xm), note output of pfctl -si, reproduce
the problem. Then run pfctl -si again. See /var/log/messages for lines
from pf. Post all three outputs ;)

Daniel



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