From: Clemens Sibon sibon@triple-it.nl Date: Thu, 16 Nov 2000 18:47:36 +0000 Subject: [LARTC] Traffic-shaping at high rates? Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
Hi there,

I took home a 100 Mbit hub tonight and without shaping I now get 73
Mbit/sec across the line (I use iperf between my Linux machine and a
FreeBSD box). So far, so good. But when I try to get say 20 Mbit outgoing,
using:

tc qdisc add dev eth1 root handle 10: cbq bandwidth 100Mbit avpkt 1000

tc class add dev eth1 parent 10:0 classid 10:1 cbq bandwidth 100Mbit \
rate 100Mbit allot 1514 weight 10Mbit prio 8 maxburst 200 avpkt 1000

tc class add dev eth1 parent 10:1 classid 10:200 cbq bandwidth 100Mbit \
rate 20Mbit allot 1514 weight 1Mbit prio 5 maxburst 200 avpkt 1000 bounded

tc qdisc add dev eth1 parent 10:200 sfq quantum 1514b perturb 15

tc filter add dev eth1 parent 10:0 protocol ip prio 100 u32 match ip dst \
0.0.0.0/0 flowid 10:200

I get about 9 to 10 Mbit/sec. When I try to get 50, I get 16. I am
experimenting with the other parameters (avpkt, burstsize, weight) but
can't find a direct relation (yet). Is there any documentation about what
parameter does what and how this influences the througput? Should I use
other queuing-algorithms at these rates? I have tried to get RED working
but to no avail. It complained about the parameters I tried to feed it...

Well, I'll go on experimenting a bit. I hope there are others that are
trying shaping at these rates too,

Clemens Sibon