From owner-freebsd-pf@FreeBSD.ORG Mon Feb 27 05:00:49 2006 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EE5516A422 for ; Mon, 27 Feb 2006 05:00:49 +0000 (GMT) (envelope-from bill.marquette@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 515F343D46 for ; Mon, 27 Feb 2006 05:00:48 +0000 (GMT) (envelope-from bill.marquette@gmail.com) Received: by xproxy.gmail.com with SMTP id s11so518980wxc for ; Sun, 26 Feb 2006 21:00:47 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Je5XVkF/tQeMs30ZsVBwjHfbc5Dw7yARJcXithkLEILUpnut2acqPWSy9Z9AcOWX/jyPg6B+kyOqIJth4xMFvPgaJplEt6UaMbDKD3fv8mLZK/uRKAowX/QlJph8oLMCjcFBsPa2tvebuwcidc+7crCSf7cUu65RE0+yvaTOFCo= Received: by 10.70.66.2 with SMTP id o2mr6058808wxa; Sun, 26 Feb 2006 21:00:47 -0800 (PST) Received: by 10.70.89.11 with HTTP; Sun, 26 Feb 2006 21:00:47 -0800 (PST) Message-ID: <55e8a96c0602262100u283af0e9x99ee21795b8f0267@mail.gmail.com> Date: Sun, 26 Feb 2006 23:00:47 -0600 From: "Bill Marquette" To: "Andrew Thompson" In-Reply-To: <20060226092157.GC2773@heff.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <55e8a96c0602251445g68376abay3b58bec7f3160113@mail.gmail.com> <20060226021826.GB2773@heff.fud.org.nz> <55e8a96c0602252012l3e8d9e41oc5be3d3bdd1917a8@mail.gmail.com> <20060226092157.GC2773@heff.fud.org.nz> Cc: "freebsd-pf@freebsd.org" Subject: Re: HFSC issues in RELENG_6 X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 05:00:49 -0000 On 2/26/06, Andrew Thompson wrote: > On Sat, Feb 25, 2006 at 10:12:55PM -0600, Bill Marquette wrote: > > On 2/25/06, Andrew Thompson wrote: > > > You may want to test with another network card to verify that sis(4) = is > > > actually working correctly with ALTQ. I am having ALTQ problems which > > > went away when using a xl(4) card. I am waiting for a sis card to arr= ive > > > in the mail so I can diagnose it further. > > > > You may be onto something here. I swapped my compact flash over to a > > Nexcom I have laying around with fxp nic's in it and so far haven't > > seen the same queue behavior with either the small test case or a full > > ruleset. > > Thats interesting indeed. As I said I am waiting for a pci card to > arrive so I can debug further (rather than on my soekris). I would > really like to have this fixed for 6.1 but time is short so no > guarantees. OK, more info. I just created an OpenBSD 3.9 snapshot image for my Soekris 4801 so I could do an apples to apples comparison. Same pf config (queue name changed accidentally, but that's a nop), same hardware - hfsc works like a champ. queue root_sis1 bandwidth 100Mb priority 0 hfsc( upperlimit 768Kb ) {qWANRo= ot} [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0= ] [ qlength: 0/ 50 ] [ measured: 0.0 packets/s, 0 b/s ] queue qWANRoot bandwidth 100Mb priority 7 hfsc( default realtime 128Kb upperlimit 128Kb ) [ pkts: 1100 bytes: 230995 dropped pkts: 0 bytes: 0= ] [ qlength: 0/ 50 ] [ measured: 39.8 packets/s, 67.13Kb/s ] queue root_sis0 bandwidth 100Mb priority 0 hfsc( upperlimit 6Mb ) {qLANRoot= } [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0= ] [ qlength: 0/ 50 ] [ measured: 0.0 packets/s, 0 b/s ] queue qLANRoot bandwidth 100Mb priority 7 hfsc( default realtime 128Kb upperlimit 128Kb ) [ pkts: 1285 bytes: 246653 dropped pkts: 0 bytes: 0= ] [ qlength: 0/ 50 ] [ measured: 45.6 packets/s, 72.27Kb/s ] Notice two differences here. 100Mbit instead of 10Mbit - this looks like driver? and no backlogged queue - yay! I'm going to start poking more at the driver and see if I can come up with anything, I still find it strange that fxp works (I'm going to poke at that too and see if anything pops out at me). --Bill