Ok. That's good. Using hfsc what's the advantage?
https://calomel.org/pf_hfsc.html

Can be assigned the altq rules with hsfc by ip? or only by kind of packets?

Thanks a lot for your reply. The comments help me so much to understand many
things.

On Thu, Sep 9, 2010 at 3:09 AM, Stuart Henderson <[email protected]>wrote:

> On 2010-09-07, roberth <[email protected]> wrote:
> >
> > So just put ~150 (*2 for both directions) child queues in your config.
>
> queues are per-interface anyway, so there's no need for the *2 in the
> config (and the associated headaches in assigning traffic to the correct
> queue)
>
> altq on some_if cbq bandwidth 2048Kb queue (aa, ab, ac, ... es, et, eu)
> altq on other_if cbq bandwidth 2048Kb queue (aa, ab, ac, ... es, et, eu)
>
> queue aa bandwidth 12Kb priority 2 cbq(borrow red)
> queue ab bandwidth 12Kb priority 2 cbq(borrow red)
> ...
> queue et bandwidth 12Kb priority 2 cbq(borrow red)
> queue eu bandwidth 12Kb priority 2 cbq(borrow red)
>
> I think the users might be happier with hfsc rather than cbq though
>
>


-- 
Hermes Ojeda Ruiz

Reply via email to