[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1347963353.26523.224.camel@edumazet-glaptop>
Date: Tue, 18 Sep 2012 12:15:53 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Lin Ming <mlin@...pku.edu.cn>
Cc: networking <netdev@...r.kernel.org>
Subject: Re: HTB vs CoDel performance
On Tue, 2012-09-18 at 17:56 +0800, Lin Ming wrote:
> 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.
rate limiting to 1Gbps probably need high resolution timers.
HTB is not the only way to rate limit.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists