Re: pf - max number of cbq queues ?

2010-08-28 Thread Martin Pelikán
2010/8/27, Henning Brauer lists-open...@bsws.de: find that #define (I forgot its name and location), increase, recompile. We use such setup with HFSC limit raised up from 64 ten times, so far without any problems (core i3, 2G RAM, em(4) gigabit desktop nics, 12-15k pps on average). Is there a

pf - max number of cbq queues ?

2010-08-27 Thread David Hardy
Is there a limit to the # of cbq queues allowed in pf? I just added a bunch of queues to our pf.conf and am getting: pfctl: DIOCADDALTQ: Invalid argument 'pfctl -f -n /etc/pf.conf' shows no problems, it only throws this error on loading the rules. if there's a limit, is there a way to increase

Re: pf - max number of cbq queues ?

2010-08-27 Thread Henning Brauer
* David Hardy planetm...@gmail.com [2010-08-27 20:21]: Is there a limit to the # of cbq queues allowed in pf? yes. it is a define somewhere. if there's a limit, is there a way to increase it? find that #define (I forgot its name and location), increase, recompile. -- Henning Brauer,

Re: pf - max number of cbq queues ?

2010-08-27 Thread David Hardy
Thanks. Found it in sys/altq/altq_cbq.h: #define CBQ_MAX_CLASSES 256 worked just fine after recompile. David On Fri, Aug 27, 2010 at 1:01 PM, Henning Brauer lists-open...@bsws.dewrote: * David Hardy planetm...@gmail.com [2010-08-27 20:21]: Is there a limit to the # of cbq queues