From owner-freebsd-pf@FreeBSD.ORG Wed Jan 31 00:39:25 2007 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3132C16A401 for ; Wed, 31 Jan 2007 00:39:25 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id EB82913C481 for ; Wed, 31 Jan 2007 00:39:24 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (unknown [89.53.125.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id 109BA128831; Wed, 31 Jan 2007 01:39:18 +0100 (CET) Received: from [192.168.16.3] (cesar.sz.vwsoft.com [192.168.16.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id 613942E572; Wed, 31 Jan 2007 01:39:09 +0100 (CET) Message-ID: <45BFE530.6060406@vwsoft.com> Date: Wed, 31 Jan 2007 01:39:12 +0100 From: Volker User-Agent: Thunderbird 1.5.0.9 (X11/20070119) MIME-Version: 1.0 To: Max Laier References: <000301c742ee$ff867500$0201a8c0@d620> <200701300020.52770.max@love2party.net> In-Reply-To: <200701300020.52770.max@love2party.net> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: Greg Hennessy , freebsd-pf@freebsd.org Subject: Re: ALTQ support for usb NICs? 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: Wed, 31 Jan 2007 00:39:25 -0000 On 01/30/07 00:20, Max Laier wrote: > On Sunday 28 January 2007 16:14, Greg Hennessy wrote: >>> Anyway, I've already checked altq(9) which describes the >>> driver transition and I thought about patching the drivers myself. >>> >>> I've got a bunch of aue, one kue and a few currently unsupported >>> NICs. >> I could find a use for an altq patched aue ta muchly. > > aue and kue patches added to > http://people.freebsd.org/~mlaier/ALTQ_driver/ > > Please test and report back. > Max, WFM. Patched against RELENG_6, tested with ALTQ disabled and enabled on that interface. Using netperf I do see a (significant) drop in performace (using really just one simple pf rule, two cbq queues - so not really ideally) but as I need ALTQ for limiting some traffic on that interface, it's ok. While it's ok for me to see a drop in throughput, I'm really wondering about. Using netperf, patched driver, ALTQ disabled I get values like: Recv Send Send Socket Socket Message Elapsed Size Size Size Time Throughput bytes bytes bytes secs. 10^6bits/sec 32768 32768 65536 60.07 4.78 Using the unpatched (1.90.2.6) driver I get: 32768 32768 65536 60.04 5.78 The only difference between those two tests, has been a patched if_aue.c and a new buildkernel. No (or not that I'm aware of) other code changes should have been fetched from cvs between both kernel builds. Beside the throughput question, the patch seems to be ok - please commit! ;) Greetings, Volker