From owner-freebsd-current@FreeBSD.ORG Sat Oct 2 16:59:06 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 D8CA116A4CF; Sat, 2 Oct 2004 16:59:06 +0000 (GMT) Received: from KVIW14.KVI.nl (KVIW14.KVI.nl [129.125.15.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAA2543D31; Sat, 2 Oct 2004 16:59:05 +0000 (GMT) (envelope-from A.S.Usov@KVI.nl) Received: from KVIS10.KVI.nl ("port 41109"@KVIS10.KVI.nl [129.125.27.60]) by KVI.nl (PMDF V6.2-X17 #30869) with ESMTP id <01LFKEKD0P30D41DNA@KVI.nl>; Sat, 02 Oct 2004 18:58:40 +0200 (MET DST) Received: from KVIW12.KVI.nl by KVIS10.KVI.nl (AvMailGate-2.0.2-8) id 20348-4023C66A; Sat, 02 Oct 2004 18:58:39 +0200 Received: from kvip55 ("port 58111"@KVIP88.KVI.nl [129.125.15.152]) by KVI.nl (PMDF V6.2-X17 #30869) with ESMTP id <01LFKEKA3PH2D41DNA@KVI.nl>; Sat, 02 Oct 2004 18:58:36 +0200 (MET DST) Date: Sat, 02 Oct 2004 18:58:35 +0200 From: "Alexander S. Usov" In-reply-to: <200410012101.01067.max@love2party.net> To: Max Laier Message-id: <200410021858.35419.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> <200410011555.00828.A.S.Usov@kvi.nl> <200410012101.01067.max@love2party.net> cc: freebsd-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: Sat, 02 Oct 2004 16:59:07 -0000 On Friday 01 October 2004 21:00, Max Laier wrote: > First of all a look at your queue statistics would be helpful: > $ pfctl -vvsq > how many packets are being dropped? Which queues do the packets end up in? > > If you can easily check OpenBSD behavior, that'd be a good check as well. Ok. Today I downloaded and installed OpenBSD 3.6-snapshot (it's a centrino notebook and I wanted to be sure that it will be supported). Should say that their installer is quite fun, but console and csh are too old-fashioned. So the result is like this: $ ifconfig bce0 bce0: flags=8a43 mtu 1500 address: 00:c0:9f:1c:1b:8b media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::2c0:9fff:fe1c:1b8b%bce0 prefixlen 64 scopeid 0x1 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 pf.conf is the same, as used in FreeBSD, just bfe0 renamed to bce0 without queueing transfer speed is about 35-40KB/s $ netstat 3 lo0 in lo0 out total in total out packets errs packets errs colls packets errs packets errs colls 2 0 2 0 0 10256 0 12381 0 0 0 0 0 0 0 56 0 81 0 0 For queue bandwidth 350Kb $ pfctl -vvsq queue q priq( default ) [ pkts: 3646 bytes: 5379512 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] [ measured: 26.4 packets/s, 312.48Kb/s ] $ netstat 3 lo0 in lo0 out total in total out packets errs packets errs colls packets errs packets errs colls 2 0 2 0 0 13924 0 17688 0 0 0 0 0 0 0 54 0 78 0 0 0 0 0 0 0 56 0 81 0 0 which is correct. So it's defenitely something is wrong in FreeBSD. I suspect this is somehow related to bfe driver, as on a different machine the same system (rsync copy up to the few files in /etc & /var) with the same configuration but xl card works correctly. -- Best regards, Alexander.