From: Jamal Hadi Salim <hadi@cyberus.ca>
To: Daniel J Blueman <daniel.blueman@gmail.com>
Cc: netdev@oss.sgi.com, laforge@netfilter.org,
netfilter-devel@lists.netfilter.org, coreteam@netfilter.org,
davem@redhat.com, netfilter@lists.netfilter.org, kaber@trash.net
Subject: Re: RED qdisc not working...
Date: Wed, 09 Nov 2005 19:03:35 -0500 [thread overview]
Message-ID: <1131581016.6451.33.camel@localhost.localdomain> (raw)
In-Reply-To: <6278d2220511091532k7b732b9bv2957763ba6f4c10f@mail.gmail.com>
howdy,
When you say it is "broken" - what is this relative to?
Did you have another kernel where you precise config worked?
The only changes that have made it in for RED are in post 2.6.14; other
than that all should work great as ever before.
suggestions:
could you try the latest iproute2 posted last few days by Stephen and
see if your problem persists?
Also try using something simpler than HTB like prio qdisc to help in
debugging things for you?
Can you look at examples directory and use some of the tricks used
there?
cheers,
jamal
On Wed, 2005-09-11 at 23:32 +0000, Daniel J Blueman wrote:
> 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 parent reply other threads:[~2005-11-10 0:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6278d2220511071626j3646afa7n5ac33228e8b3fc82@mail.gmail.com>
2005-11-09 23:32 ` RED qdisc not working Daniel J Blueman
2005-11-10 0:03 ` Jamal Hadi Salim [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1131581016.6451.33.camel@localhost.localdomain \
--to=hadi@cyberus.ca \
--cc=coreteam@netfilter.org \
--cc=daniel.blueman@gmail.com \
--cc=davem@redhat.com \
--cc=kaber@trash.net \
--cc=laforge@netfilter.org \
--cc=netdev@oss.sgi.com \
--cc=netfilter-devel@lists.netfilter.org \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox