From owner-freebsd-current@FreeBSD.ORG Tue Nov 20 10:50:38 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84F1816A420 for ; Tue, 20 Nov 2007 10:50:38 +0000 (UTC) (envelope-from linder@jeuxvideo.com) Received: from www.odyssee-interactive.com (pop.etajv.fr [217.174.215.94]) by mx1.freebsd.org (Postfix) with ESMTP id 2C78B13C474 for ; Tue, 20 Nov 2007 10:50:37 +0000 (UTC) (envelope-from linder@jeuxvideo.com) Received: from oblivion.jeuxvideo.com (odyssee-interactive.rain.fr [83.206.74.241]) (authenticated bits=0) by www.odyssee-interactive.com (8.12.10/8.12.10) with ESMTP id lAK9sJW5026928 for ; Tue, 20 Nov 2007 10:54:19 +0100 Date: Tue, 20 Nov 2007 10:54:19 +0100 From: Gabriel Linder To: current@freebsd.org Message-ID: <20071120105419.3451d7ed@oblivion.jeuxvideo.com> Organization: =?ISO-8859-1?Q?L'Odyss=E9e?= Interactive X-Mailer: Claws Mail 3.0.2 (GTK+ 2.8.20; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: ALTQ problem on 7.0-BETA3 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2007 10:50:38 -0000 Hi, I had some spare time yesterday, and wanted to tweak my outgoing traffic. So I recompiled my kernel with ALTQ (kernel conf here [1]), and edited my working pf.conf[2] to add queuing. As you can see, I use the BFE(4) driver, which is reported to work in ALTQ(4). I included the ALTQ_NOPCC option because I was not sure if I need in or not, I think I don't need it (without it, everything works well). I tried with both 4BSD and ULE, too. Here is my problem : with queing enabled (which seems to work perfectly), my downloads connections are reseted by the peer each ~200MB. I checked this with wget : to download the BETA3 iso it has 4 retries each ~200MB. The strange thing is that on my Slackware laptop, the same ISO from the same mirror downloads just fine, without any problem. And when I tried to download this ISO from my Slackware laptop's ftp (using my LAN), it was fine too. If I disable the queuing rules in my pf.conf, the download is just fine with FreeBSD too. And when re-enabling these rules, the download is broken. Or maybe I am just doing something wrong with my queues ? I attached a dmesg[3] by the way (Acer Aspire 5610). PS : Congrats for the ULE scheduler, I tried it too and I can now make -j8 build{world,kernel} without any problem on a Core Duo laptop ! With 4BSD the mouse and keyboard were kind of sloppy :) [1] : http://athanatos.free.fr/BSD/ALTQ/GENERIC-DARGOR.diff [2] : http://athanatos.free.fr/BSD/ALTQ/pf.conf [3] : http://athanatos.free.fr/BSD/ALTQ/dmesg.boot