-------- Original Message --------
Subject: tc commands to reproduce the problem
Date: Sat, 22 Jan 2011 16:48:22 -0800
From: Tom Eastep <[email protected]>
To: [email protected]
CC: Roberto C. Sanchez <[email protected]>

Attached are the commands.

In this test case, 6300kbit was configured for both ingress policing and
for the TBF on outout. Downloads were close by 6.3 mbit while uploads
were .32 mbit.

HTH,
-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

        tc qdisc del dev eth0 root
        tc qdisc del dev eth0 ingress

        tc qdisc add dev eth0 handle ffff: ingress
        tc filter add dev eth0 parent ffff: protocol all prio 10 u32 match ip 
src 0.0.0.0/0 police rate 6300kbit burst 100kb drop flowid :1

        tc qdisc add dev eth0 root handle 1: tbf rate 6300kbit burst 100kb 
latency 200ms
        tc qdisc add dev eth0 parent 1: handle 101: prio bands 3 priomap 1 2 2 
2 1 2 0 0 1 1 1 1 1 1 1 1
        tc qdisc add dev eth0 parent 101:1 handle 1011: sfq quantum 1875 limit 
127 perturb 10
        tc filter add dev eth0 protocol all parent 101: handle 1 fw classid 
101:1

        tc qdisc add dev eth0 parent 101:2 handle 1012: sfq quantum 1875 limit 
127 perturb 10
        tc filter add dev eth0 protocol all parent 101: handle 2 fw classid 
101:2

        tc qdisc add dev eth0 parent 101:3 handle 1013: sfq quantum 1875 limit 
127 perturb 10
        tc filter add dev eth0 protocol all parent 101: handle 3 fw classid 
101:3

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to