[Bloat] Notes about hacking on AQMs

Eric Dumazet eric.dumazet at gmail.com
Thu Jun 9 12:14:04 EDT 2011


Le jeudi 09 juin 2011 à 12:04 -0400, Jesper Dangaard Brouer a écrit :
> On Wed, 2011-06-08 at 18:41 +0200, Eric Dumazet wrote:
> 
> > BTW, latest stuff uses DRR & HFSC ;)
> > 
> > Patrick sample script is here :
> > http://people.netfilter.org/kaber/shaping
> 
> I'll add a sample script to the collection:
>  http://people.netfilter.org/hawk/shaper-example/qos-DRR-example
> 
> I did that script as a consultant task.  Its based on HTB + DRR + SFQ.
> The customer was a large apartment building complex, which wanted to
> provide fair queue scheduling.  The residents could choose between two
> Internet subscriptions a "small" upto 100Mbit/s shared, and a "big" upto
> 390 Mbit/s shared.  Within each group they achieve fair sharing via DRR.
> And each DRR subqueue is a SFQ queue to give the person fair sharing
> between his "own" traffic (or if the hash clash and several users get in
> the same queue).

Hi !

I can see some strange limits in your sfq :

fun_tc qdisc add dev ${DEV} parent 1:50 handle 4250: \
    sfq perturb 10 limit 256

AFAIK SFQ max limit is 128. Are you using a custom SFQ ?






More information about the Bloat mailing list