From owner-freebsd-pf@FreeBSD.ORG Mon Jun 26 13:32:53 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 B4A1216A562 for ; Mon, 26 Jun 2006 13:32:53 +0000 (UTC) (envelope-from freebsd@bitparts.org) Received: from mail.bitparts.org (63-253-101-190.ip.mcleodusa.net [63.253.101.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4466C43D58 for ; Mon, 26 Jun 2006 13:32:48 +0000 (GMT) (envelope-from freebsd@bitparts.org) Received: from [127.0.0.1] (71-11-157-24.dhcp.stls.mo.charter.com [71.11.157.24]) (authenticated bits=0) by mail.bitparts.org (8.13.6/8.13.6) with ESMTP id k5QDWkBr056845 for ; Mon, 26 Jun 2006 08:32:48 -0500 (CDT) (envelope-from freebsd@bitparts.org) Message-ID: <449FE1FE.5060308@bitparts.org> Date: Mon, 26 Jun 2006 08:32:46 -0500 From: "J. Buck Caldwell" User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: freebsd-pf@freebsd.org References: <449FC649.4030205@infoweapons.com> In-Reply-To: <449FC649.4030205@infoweapons.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass (mail.bitparts.org: authenticated connection) receiver=mail.bitparts.org; client-ip=71.11.157.24; helo=[127.0.0.1]; envelope-from=freebsd@bitparts.org; x-software=spfmilter 0.93 http://www.acme.com/software/spfmilter/; Subject: Re: maximum number of queues 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, 26 Jun 2006 13:32:53 -0000 Ronnel P. Maglasang wrote: > hi, is there a maximum system limit for the number of queues for > altq? is this settable/tunable? whats the default limit? > I'm not sure about this - but if you're using PRIQ, there are 16 priorities available (0-15), and I don't think you can have multiple queues with the same priority (although I could be wrong). What I want to know is if there is a way to show how much memory pf's queues, state tables, etc. are taking up. Right now, I'm assigning a tag on 'in $int_if', assigning a queue based on that tag on 'out $ext_if', and keeping state in both spots. Seems like this would double the amount of memory the state tables would need, but I don't know how to check and/or do it better.