From owner-freebsd-pf@FreeBSD.ORG Thu Aug 2 06:24:15 2007 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C06A016A41F for ; Thu, 2 Aug 2007 06:24:15 +0000 (UTC) (envelope-from dhartmei@insomnia.benzedrine.cx) Received: from insomnia.benzedrine.cx (insomnia.benzedrine.cx [IPv6:2001:6f8:1098::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6C74A13C4A6 for ; Thu, 2 Aug 2007 06:24:14 +0000 (UTC) (envelope-from dhartmei@insomnia.benzedrine.cx) Received: from insomnia.benzedrine.cx (localhost.benzedrine.cx [127.0.0.1]) by insomnia.benzedrine.cx (8.14.1/8.13.4) with ESMTP id l726OEV3020294 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Thu, 2 Aug 2007 08:24:14 +0200 (MEST) Received: (from dhartmei@localhost) by insomnia.benzedrine.cx (8.14.1/8.12.10/Submit) id l726OD1L029003; Thu, 2 Aug 2007 08:24:14 +0200 (MEST) Date: Thu, 2 Aug 2007 08:24:13 +0200 From: Daniel Hartmeier To: Patrick Proniewski Message-ID: <20070802062413.GB32306@insomnia.benzedrine.cx> References: <611A93D3-A392-493B-80ED-4C5AC77AA77A@patpro.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <611A93D3-A392-493B-80ED-4C5AC77AA77A@patpro.net> User-Agent: Mutt/1.5.12-2006-07-14 Cc: Greg Hennessy , freebsd-pf@freebsd.org Subject: Re: strange "throttling" issue with pf on xDSL connection X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 06:24:15 -0000 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