Date: Sun, 3 Oct 2004 02:14:06 +0200 From: Max Laier <max@love2party.net> To: freebsd-current@freebsd.org Cc: "Alexander S. Usov" <A.S.Usov@kvi.nl> Subject: Re: ALTQ/pf troubles Message-ID: <200410030214.14718.max@love2party.net> In-Reply-To: <200410021858.35419.A.S.Usov@kvi.nl> References: <200409272240.00356.A.S.Usov@kvi.nl> <200410012101.01067.max@love2party.net> <200410021858.35419.A.S.Usov@kvi.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--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<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410030214.14718.max>