Re: HTB vs CoDel performance
From: Lin Ming <hidden>
Date: 2012-09-19 01:27:36
On Tue, Sep 18, 2012 at 6:15 PM, Eric Dumazet [off-list ref] wrote:
On Tue, 2012-09-18 at 17:56 +0800, Lin Ming wrote:quoted
I need traffic priority/traffic shaping/rate control ... actually all QoS features on the router. And if I just set the rate to gigabit(no other settings), for example, # tc qdisc add dev eth10 root handle 20: htb default 1 # tc class add dev eth10 parent 20 classid 20:1 htb prio 2 rate 1024Mbit ceil 1024Mbit burst 1281408b cburst 1281408b it should gain similar performance as pfifo_fast. codel has no rate control. So seems I have to find way to optimize htb?Are you really cpu limited ? You might hit some clocks artifacts.
Did you mean the cpu speed? It's an ARMv5 processor. BogoMIPS : 1196.03
rate limiting to 1Gbps probably need high resolution timers.
High resolution timer is enabled.
HTB is not the only way to rate limit.
I'll try other classful qdiscs. Thanks.