Borrow in CBQ doesn't work
Marcelo Celleri
marceloc at espoltel.net
Thu Feb 8 17:30:48 UTC 2007
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.. :)
>
> 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.
>
> Scott
>
>
> On 2/8/07, Marcelo Celleri <marceloc at espoltel.net> wrote:
> >
> > I think that the number of queues is bigger than 64, so I have to change
> > this value in the kernel config and then recompile it? Is there another
> > way to do it? I'm scared to death only with the idea of recompiling in
> > my production server :(
> >
> >
> > On jue, 2007-02-08 at 10:19 -0500, Scott Ullrich wrote:
> > > On 2/8/07, Marcelo Celleri <marceloc at espoltel.net> 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 lot 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élleri M.
> > Jefe IP
> > ESPOLTEL S.A.
> > PBX 593 04 2514477 Ext. 114
> > ----------------------------------
> >
> >
--
----------------------------------
Marcelo Célleri M.
Jefe IP
ESPOLTEL S.A.
PBX 593 04 2514477 Ext. 114
----------------------------------
More information about the freebsd-pf
mailing list