Displaying 1 result from an estimated 1 matches for "3000b".
Did you mean:
3000
2007 May 10
6
PRIO and TBF is much better than HTB??
...//simo.mix4web.de/up/prio_tbf_delay.jpg
#define UPLOAD 1000kbps
dev eth0 1000 {
egress {
class ( <$high> ) if tcp_dport == 80;
class(<$low>) if tcp_dport == 22;
prio{
$high = class{ tbf (rate 700kbps, burst 1510B, mtu 1510B,
limit 3000B); }
$low = class{ tbf (rate 300kbps, burst 1510B, mtu 1510B, limit
3000B); }
}
}
}
/* 1Mbit 0.0008 = 100*8/10^6 */
every 0.0008s send TCP_PCK($tcp_dport=22) 0 x 60
/* 800kbit/s */
every 0.001s send TCP_PCK($tcp_dport=80) 0 x 60
time 2s...