Displaying 1 result from an estimated 1 matches for "reallylargefile".
2007 Mar 28
4
modprobe ifb
...add dev $dev parent ffff: protocol ip prio 10 u32 \
match u32 0 0 flowid 1:\
action mirred egress redirect dev ifb0
(1) tc qdisc add dev ifb0 root handle 1: htb default 1
(2) tc class add dev ifb0 parent 1: classid 1:1 htb burst 0 rate 112kbit
Now I generate some traffic:
$ scp user@host1:~/reallylargefile .
reallylargefile 0% 64KB 12.4KB/s 7:52:29
and I get the expected results, if instead of htb I use something like
RED, changing lines (1) and (2) with
tc qdisc add dev ifb0 root handle 1: red limit 256000 min 1 max 32000
avpkt 1 burst 1 probability 0.8 bandwidth 512
I...