[Codel] [PATCH net-next] codel: use Newton method instead of sqrt() and divides

Eric Dumazet eric.dumazet at gmail.com
Mon May 14 04:23:35 EDT 2012


On Mon, 2012-05-14 at 08:51 +0200, Roger Jørgensen wrote:

> could you pass me the script for setting that up, got nowhere with any
> of the previous... will try the same on some 10GigE servers over v6...

If multi-queue, you probably could use :

EST="est 1sec 4sec"
TXQUEUES=24 

DEV=eth7
# ethtool -K $DEV tso off gso off
tc qdisc del dev $DEV root 2>/dev/null
tc qdisc add dev $DEV root handle 1: mq

for i in `seq 1 $TXQUEUES`
do
 hexa=$(printf %02x $i)
 tc qdisc add dev $DEV parent 1:$hexa fq_codel
done







More information about the Codel mailing list