I am running HTB on a PowerPC platform and
using following script to do rate limit.
When I set rate of class 1:11 lower than
4mbit, I can get traffic rate close to
the setting.
However, if I set the rate higher than 4mbit,
I will get much
lower bandwidth (roughly 4.5mbit) than the
setting, no matter how big the setting
is.
To verify the script, I run it on PC
with then I got correct result.
Could anybody give me some hints?
Thank you
Dennis
tc qdisc add dev wan1 root handle 1: htb
default 10
tc class add dev wan1 parent 1: classid 1:1 htb rate 100mbit tc class add dev wan1 parent 1:1 classid 1:10 htb rate 1mbit ceil 2mbit tc class add dev wan1 parent 1:1 classid 1:11 htb rate 8mbit ceil 8mbit tc filter add dev wan1 protocol ip parent 1: u32 match ip dst 11.1.1.1 flowid 1:11 |
_______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc