From owner-freebsd-pf@FreeBSD.ORG Thu Jan 13 00:41:06 2005 Return-Path: <owner-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 0F54C16A4CE for <freebsd-pf@freebsd.org>; Thu, 13 Jan 2005 00:41:06 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E40543D1F for <freebsd-pf@freebsd.org>; Thu, 13 Jan 2005 00:41:05 +0000 (GMT) (envelope-from gofdp-freebsd-pf@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Cot2u-0008GK-00 for <freebsd-pf@freebsd.org>; Thu, 13 Jan 2005 01:41:04 +0100 Received: from ppp-62-245-162-183.mnet-online.de ([62.245.162.183]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <freebsd-pf@freebsd.org>; Thu, 13 Jan 2005 01:41:03 +0100 Received: from berni by ppp-62-245-162-183.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <freebsd-pf@freebsd.org>; Thu, 13 Jan 2005 01:41:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-pf@freebsd.org From: Bernhard Schmidt <berni@birkenwald.de> Date: Thu, 13 Jan 2005 00:40:51 +0000 (UTC) Lines: 38 Message-ID: <slrncubgsj.hlr.berni@bschmidt.msgid.cybernet-ag.net> References: <slrnctu80f.aet.berni@bschmidt.msgid.cybernet-ag.net> <200501101507.10501.max@love2party.net> <slrncub40q.f4s.berni@bschmidt.msgid.cybernet-ag.net> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ppp-62-245-162-183.mnet-online.de User-Agent: slrn/0.9.8.1 (Linux) Sender: news <news@sea.gmane.org> Subject: Re: Scalability of ALTQ X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical discussion and general questions about packet filter (pf) <freebsd-pf.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-pf>, <mailto:freebsd-pf-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pf> List-Post: <mailto:freebsd-pf@freebsd.org> List-Help: <mailto:freebsd-pf-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-pf>, <mailto:freebsd-pf-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 13 Jan 2005 00:41:06 -0000 On 2005-01-12, Bernhard Schmidt <berni@birkenwald.de> wrote: >> From a very first glance, I think HSFC is what best suits your application. >> Here again, you must make sure not to overload your parent with the >> client bandwidth. > Hrm, I guess I'll just convert a current Packeteer policy to an pf one > and have a look whether it loads smoothly. I heard today that we already > have a Dell PE750 on stock, I think I'll give it a shot. In the end, > a mirrored switchport to the BSD box should be sufficient to test. And me again ... I'm now having a problem where I'm not entirely sure whether I misunderstood the manpage or there is a bug in the parsing. I fell about some errors converting a small subset of our packeteer rules to pf. I created a testcase with the following config altq on vr1 hfsc bandwidth 5000001b queue { 1, 9999 } queue 1 hfsc(red, realtime 5000000b, upperlimit 5000000b) { 2 } queue 2 hfsc(red, realtime 4900000b, upperlimit 5000000b) { 3 } queue 3 hfsc(red, realtime 4800000b, upperlimit 5000000b) { 4 } queue 4 hfsc(red, realtime 4700000b, upperlimit 5000000b) queue 9999 hfsc(default, red, realtime 0b, upperlimit 5000000b) when loading I get pfctl: real-time sc exceeds the interface bandwidth pf.conf:3: errors in queue definition apparently when using subqueues pf adds up the realtime bandwidth of all queues and compares it to the interface bandwidth. To my understanding the sum of the bandwidth of all child queues should be compared to the direct parent queue. Am I wrong here? Of course I could increase the bandwidth parameter on vr1 to something really hillariously high, but is this the thing intended? Bernhard