From owner-freebsd-current@FreeBSD.ORG Fri Oct 1 16:28:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAD1616A4CE; Fri, 1 Oct 2004 16:28:28 +0000 (GMT) Received: from KVIW14.KVI.nl (KVIW14.KVI.nl [129.125.15.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32FD243D45; Fri, 1 Oct 2004 16:28:28 +0000 (GMT) (envelope-from A.S.Usov@KVI.nl) Received: from KVIR52.KVI.nl ("port 57401"@KVIR52.KVI.nl [129.125.37.116]) by KVI.nl (PMDF V6.2-X17 #30869) with ESMTP id <01LFIZ79XO4KD41CQM@KVI.nl>; Fri, 01 Oct 2004 18:28:13 +0200 (MET DST) Received: from KVIW06.KVI.NL by KVIR52.KVI.nl (AvMailGate-2.0.2-8) id 23935-2966A35B; Fri, 01 Oct 2004 18:28:12 +0200 Received: from kvip88 ("port 49894"@KVIP88.KVI.nl [129.125.15.152]) by KVI.nl (PMDF V6.2-X17 #30869) with ESMTP id <01LFIZ70XLKED41CQM@KVI.nl>; Fri, 01 Oct 2004 18:28:01 +0200 (MET DST) Date: Fri, 01 Oct 2004 18:28:00 +0200 From: "Alexander S. Usov" In-reply-to: <20041001132843.GG997@green.homeunix.org> To: Brian Fundakowski Feldman Message-id: <200410011828.00289.A.S.Usov@kvi.nl> Organization: KVI MIME-version: 1.0 Content-type: text/plain; charset=koi8-u Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: KMail/1.7 X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-8; AVE: 6.27.0.12; VDF: 6.27.0.83; host: kvi.nl) References: <200409272240.00356.A.S.Usov@kvi.nl> <20041001132843.GG997@green.homeunix.org> cc: current@freebsd.org Subject: Re: ALTQ/pf troubles X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 01 Oct 2004 16:28:28 -0000 On Friday 01 October 2004 15:28, Brian Fundakowski Feldman wrote: > On Mon, Sep 27, 2004 at 10:40:00PM +0200, Alexander S. Usov wrote: > > Hello !! > > > > As a happy owner of the 1120/352Kbit ADSL line and 5.3-BETA6 > > I have tried to configure altq as it's described in > > /usr/share/examples/pf/ackpri and have hit quite a number of > > strange issues with ALTQ. > > > > So, the system is: > > FreeBSD kvip55.lan 5.3-BETA6 FreeBSD 5.3-BETA6 #0: Mon Sep 27 18:40:51 > > CEST pf.conf & kernel configs are attached to the mail. > > > > Just enabling the queueing on the interface with bandwidth == DSL > > bandwidth results in the appox. factor of 2 drop in the speed of the > > outgoing transfers. > > > > >From my experiments I got an impression that to make this slow-down > > > > away I have to specify the bandwith around 700Kb, which is twice bigger > > than real. I just have repeated the experiment on different machine, but with basically the same config. Result is quite strange: setting the altq bandwidth to 100Mb, which is a lan-speed, doesn't results in speed resuction -- I am still getting some 10MB/s transfer speed for scp. Setting it to 10Mb, results in the transfer speed of approx. 750-820KB/s, which is somewhat too low. For 1Mb limit it's working again. ~120KB/s. Same for 350Kb. Transfer ~40-44KB/s. It's a bit strange because this two machine are identical from the software point of view. All system, except /home, /var and a few files in /etc are periodically synced between them. Can it be due to the bfe network card in the problematic machine? -- Best regards, Alexander.