From owner-freebsd-pf@FreeBSD.ORG Wed Aug 1 15:42:20 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 E53D516A41A for ; Wed, 1 Aug 2007 15:42:20 +0000 (UTC) (envelope-from patpro@patpro.net) Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9F3FA13C48D for ; Wed, 1 Aug 2007 15:42:20 +0000 (UTC) (envelope-from patpro@patpro.net) Received: from smtp1-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp1-g19.free.fr (Postfix) with ESMTP id CCAD31AB30A; Wed, 1 Aug 2007 17:42:19 +0200 (CEST) Received: from boleskine.patpro.net (boleskine.patpro.net [82.235.12.223]) by smtp1-g19.free.fr (Postfix) with ESMTP id 13F2F1AB303; Wed, 1 Aug 2007 17:42:19 +0200 (CEST) Received: from [192.168.0.2] (unknown [192.168.0.2]) by boleskine.patpro.net (Postfix) with ESMTP id 77EA41CC0E; Wed, 1 Aug 2007 17:42:18 +0200 (CEST) In-Reply-To: <001101c7d441$0f61aa10$2e24fe30$@Hennessy@nviz.net> References: <001101c7d441$0f61aa10$2e24fe30$@Hennessy@nviz.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <611A93D3-A392-493B-80ED-4C5AC77AA77A@patpro.net> Content-Transfer-Encoding: quoted-printable From: Patrick Proniewski Date: Wed, 1 Aug 2007 17:42:19 +0200 To: "Greg Hennessy" X-Mailer: Apple Mail (2.752.2) Cc: 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: Wed, 01 Aug 2007 15:42:21 -0000 On 01 ao=FBt 2007, at 15:37, Greg Hennessy wrote: > You're possibly meeting an issue with tcp window scaling and =20 > keeping state > on something other than Flags S/A. While playing around with systat I've discovered that the transfer =20 rate can be as low as 20 KB/s and as high as 850 KB/s on a single =20 download from http://test-debit.free.fr, but the mean value will =20 always be around 120-150 KB/s when pf is active. =46rom one sample to =20= another (every second), the transfer rate is very erratic. If I disable pf on ext_if (set skip on $ext_if), the transfer rate =20 reaches quickly 850 KB/s and is almost stable. It decreases to =20 400-450 KB/s for 1 or 2 seconds, 3 or 4 times per minute. regards, patpro=