[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[altq 361] questions about DS on CBQ



Hello,

In last release, the proposed cbq configuration for supporting DS is as
follows:

> class cbq pvc0 root_class NULL pbandwidth 100
> class cbq pvc0 def_class root_class borrow pbandwidth 86 default
> #
> # EF class
> #
> class cbq pvc0 ef_class root_class pbandwidth 14 priority 5
> 	filter pvc0 ef_class 0 0 0 0 0 tos 0xb8 tosmask 0xfc
> #
> # AF classes
> #
> # rio threshold values
> rio 40 50 10 20 30 10 5 15 10
> #
> class cbq pvc0 af1x_class def_class borrow pbandwidth 20 rio
> class cbq pvc0 af2x_class def_class borrow pbandwidth 20 rio
> class cbq pvc0 af3x_class def_class borrow pbandwidth 20 rio 
> class cbq pvc0 af4x_class def_class borrow pbandwidth 20 rio

I have 2 questions:
- Is there any reason not to set 'borrow' for the ef_class, whereas it
prevents this class from using unused bandwidth ?
- What is the interest of gathering all af classes under a single
def_class instead of putting them on top level with ef_class ?

Have I missed something ?

Thanks

-- 
Antoine Gondel