Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Feb 2007 12:30:15 -0500
From:      Marcelo Celleri <marceloc@espoltel.net>
To:        Scott Ullrich <sullrich@gmail.com>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: Borrow in CBQ doesn't work
Message-ID:  <1170955815.4734.27.camel@localhost.localdomain>
In-Reply-To: <d5992baf0702080748g7c5a873bx614b4e55e3394a6e@mail.gmail.com>
References:  <1170892051.4715.32.camel@localhost.localdomain> <86ireddmqr.fsf@sparrow.local> <1170946053.4734.10.camel@localhost.localdomain> <d5992baf0702080719r4f19e227o5029e2dd748605b6@mail.gmail.com> <1170949266.4734.21.camel@localhost.localdomain> <d5992baf0702080748g7c5a873bx614b4e55e3394a6e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <marceloc@espoltel.net> 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 <marceloc@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 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
----------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1170955815.4734.27.camel>