From owner-freebsd-pf@FreeBSD.ORG Thu Feb 8 17:30:48 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 5CCC416A407 for ; Thu, 8 Feb 2007 17:30:48 +0000 (UTC) (envelope-from marceloc@espoltel.net) Received: from jupiter.espoltel.net (jupiter.espoltel.net [200.49.242.4]) by mx1.freebsd.org (Postfix) with ESMTP id 11ECE13C4B8 for ; Thu, 8 Feb 2007 17:30:39 +0000 (UTC) (envelope-from marceloc@espoltel.net) Received: from localhost (localhost.espoltel.net [127.0.0.1]) by jupiter.espoltel.net (Postfix) with ESMTP id 602592DB32B; Thu, 8 Feb 2007 12:34:30 -0500 (ECT) Received: from jupiter.espoltel.net ([127.0.0.1]) by localhost (jupiter.espoltel.net [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 01929-03; Thu, 8 Feb 2007 12:34:10 -0500 (ECT) Received: from [172.26.5.40] (unknown [69.65.149.194]) by jupiter.espoltel.net (Postfix) with ESMTP id 2CCF72DB300; Thu, 8 Feb 2007 12:34:10 -0500 (ECT) From: Marcelo Celleri To: Scott Ullrich In-Reply-To: References: <1170892051.4715.32.camel@localhost.localdomain> <86ireddmqr.fsf@sparrow.local> <1170946053.4734.10.camel@localhost.localdomain> <1170949266.4734.21.camel@localhost.localdomain> Content-Type: text/plain; charset=UTF-8 Organization: ESPOLTEL Date: Thu, 08 Feb 2007 12:30:15 -0500 Message-Id: <1170955815.4734.27.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by Amavis-new and ClamaV at ESPOLTEL Cc: freebsd-pf@freebsd.org Subject: Re: Borrow in CBQ doesn't work X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: marceloc@espoltel.net 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: Thu, 08 Feb 2007 17:30:48 -0000 Thanks a lot for all your answers, I will try changing to 512 hfsc classes and we'll see what happens... On jue, 2007-02-08 at 10:48 -0500, Scott Ullrich wrote: > I believe that is the only way. HFSC queues do not scale linearly due > to the algorithm in use or something or another.. :) >=20 > go out to /usr/src/sys and do a grep -R "HFSC_MAX_CLASSES" and change > it. I doubt you'll have much problems if your not going over 256 > classes or so. Give it a try. >=20 > Scott >=20 >=20 > On 2/8/07, Marcelo Celleri wrote: > > > > I think that the number of queues is bigger than 64, so I have to cha= nge > > this value in the kernel config and then recompile it? Is there anoth= er > > way to do it? I'm scared to death only with the idea of recompiling i= n > > my production server :( > > > > > > On jue, 2007-02-08 at 10:19 -0500, Scott Ullrich wrote: > > > On 2/8/07, Marcelo Celleri wrote: > > > > > > > > Thanks for your answers, but like I said I cannot switch to hfsc = where I > > > > have the main configuration for my customers, because I have a lo= t of > > > > queues and the server gives me: > > > > > > > > pfctl: DIOCADDALTQ: Cannot allocate memory > > > > > > > > I don't know if something could be wrong in my config or is just = the > > > > amount of processes to support, which could be the maximum number= of > > > > hfsc queues to support related with the amount of memory? > > > > > > How many queues are you adding ? HFSC is limited to 64: > > > > > > #define HFSC_MAX_CLASSES 64 > > > > > > You might get away with increasing this number a bit? > > > > > > Scott > > -- > > ---------------------------------- > > Marcelo C=C3=A9lleri M. > > Jefe IP > > ESPOLTEL S.A. > > PBX 593 04 2514477 Ext. 114 > > ---------------------------------- > > > > --=20 ---------------------------------- Marcelo C=C3=A9lleri M. Jefe IP ESPOLTEL S.A. PBX 593 04 2514477 Ext. 114 ----------------------------------