From owner-freebsd-current@FreeBSD.ORG Sun Oct 3 00:15:01 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 3F39A16A4CE for ; Sun, 3 Oct 2004 00:15:01 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DF9D43D2D for ; Sun, 3 Oct 2004 00:15:00 +0000 (GMT) (envelope-from max@love2party.net) Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CDu1j-0001Rk-00; Sun, 03 Oct 2004 02:14:59 +0200 Received: from [217.227.153.30] (helo=donor.laier.local) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1CDu1i-0006DB-00; Sun, 03 Oct 2004 02:14:59 +0200 From: Max Laier To: freebsd-current@freebsd.org Date: Sun, 3 Oct 2004 02:14:06 +0200 User-Agent: KMail/1.7 References: <200409272240.00356.A.S.Usov@kvi.nl> <200410012101.01067.max@love2party.net> <200410021858.35419.A.S.Usov@kvi.nl> In-Reply-To: <200410021858.35419.A.S.Usov@kvi.nl> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2886916.6Y4RbX6Be8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200410030214.14718.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:61c499deaeeba3ba5be80f48ecc83056 cc: "Alexander S. Usov" 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: Sun, 03 Oct 2004 00:15:01 -0000 --nextPart2886916.6Y4RbX6Be8 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 02 October 2004 18:58, Alexander S. Usov wrote: > 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 wel= l. > > 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=3D8a43 mtu 1= 500 > 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. Okay. Thank you for the information and hunting. Can you please turn this i= nto=20 a PR? Thanks in advance. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart2886916.6Y4RbX6Be8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBX0RWXyyEoT62BG0RAkW6AJ0Woaw+OAx2CKfv/CJuhnGfaVAe1QCdHBMO L7+Fp0f/B8CU3RK87es7Zyg= =5vm2 -----END PGP SIGNATURE----- --nextPart2886916.6Y4RbX6Be8--