netdev
[Top] [All Lists]

RED qdisc not working...

To: netdev@xxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxxxxxx, netfilter@xxxxxxxxxxxxxxxxxxx, kaber@xxxxxxxxx
Subject: RED qdisc not working...
From: Daniel J Blueman <daniel.blueman@xxxxxxxxx>
Date: Wed, 9 Nov 2005 23:32:58 +0000
Cc: davem@xxxxxxxxxx, laforge@xxxxxxxxxxxxx, coreteam@xxxxxxxxxxxxx
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FK8iO41Bouhwc6rVMs4Xtjy1ZhlMxCd/jSPce3SrIz4LS38KYaQW4bARkt3nR3agG0xaFkAHW2Qn2oZ5kbg7UCf2BA7ViEdQrbztwVl6WbqLSu+fkDrwbpCP6y86R4OoZm/bysT/GgpKPomm+NI8l9jFV7D7wMT64KD2EHlEXUg=
In-reply-to: <6278d2220511071626j3646afa7n5ac33228e8b3fc82@xxxxxxxxxxxxxx>
References: <6278d2220511071626j3646afa7n5ac33228e8b3fc82@xxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Has anyone been able to get the RED (random early detection) qdisc
working lately?

I can't get anything going through it to be dropped or marked; the
'marked', 'early', 'pdrop' and 'other' fields remain at 0 [1]. In my
example script [2], I get the 3072Kbits/s transfer into eth0, which
you'd only expect if the RED qdisc wasn't there.

I have tried with a recent 2.6.12 debian kernel and stock 2.6.14 on
x86_64 debian. I rebuilt new iproute and iptables packages from latest
clean upstream sources, but to no avail.

Any ideas? Please CC me on replies, as I am not subscribed.

Thanks,
  Dan

--- [1]

# tc -s qdisc show dev eth0
qdisc htb 1: r2q 10 default 10 direct_packets_stat 0
 Sent 53985530 bytes 36757 pkts (dropped 0, overlimits 45125)
qdisc red 10: parent 1:10 limit 512Kb min 64Kb max 128Kb
 Sent 53985530 bytes 36757 pkts (dropped 0, overlimits 0)
  marked 0 early 0 pdrop 0 other 0

--- [2]

tc qdisc del dev eth0 root

tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 4096kbit ceil 4096kbit
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 3072kbit ceil 3072kbit
tc qdisc add dev eth0 parent 1:10 handle 10: red \
  limit 4096kbit min 512kbit max 1024kbit avpkt 1000 \
  burst 100 probability 0.02 bandwidth 1024kbit
___
Daniel J Blueman


<Prev in Thread] Current Thread [Next in Thread>