[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: queue limit
On Wed, Apr 02, 2003 at 01:38:36AM -0300, Fernando Braga wrote:
> How many queues can be created with pf/altq ?
> As I run a WISP, I'm going to create about 400 queues for bandwidth-limiting them. I believe OpenBSD will handle it without complaining, but how much can I push it ?
> Would 3,000 queues be OK ? And 60,000 ?
assuming you are after CBQ, there is a limit of 256 queues imposed right
now. This is the
#define CBQ_MAX_CLASSES 256
from a quick glance over it I don't see what's stopping you to increase it,
but I never tried. you have to make sure that
ROOT_CLASS_HANDLE (value 0xfffffffe)
DEFAULT_CLASS_HANDLE (value 0xfffffffd)
are > CBQ_MAX_CLASSES, but that is already an insanely high limit.
i'd say "try it" ;-)
Henning Brauer, BS Web Services, http://bsws.de
firstname.lastname@example.org - email@example.com
Unix is very simple, but it takes a genius to understand the simplicity.
- queue limit
- From: "Fernando Braga" <firstname.lastname@example.org>