Hello
I have the following "qos" script to limit the download traffic of clients on my router:
Code:
...
for i in $hosts; do
host="$base.$i"
echo "Creating $RATE class for host $host"
$tc class add dev $DEV parent 1:0 classid 1:$i cbq bandwidth $DEV_MAX_RATE rate $RATE avpkt 1000 prio 5 bounded isolated \
allot 1514 weight 1 maxburst 21
$tc filter add dev $DEV parent 1: protocol ip prio 5 u32 match ip dst $host flowid 1:$i
done
For example download limit is 160kbps for each host.
What I want to add is that each host can use more bandwidth a short time, so "normal" web pages will be loaded "rapidly" and downloads and heavy pages will go with normal download speed.
So normal each host has 160kps but say for 1minute every 20min will download at 512kbps or something similar...
Any hints ideas how to do with burst or anything else?
Thanks a lot
Beat