Displaying 1 result from an estimated 1 matches for "900b".
Did you mean:
900
2006 Feb 20
0
calculating burst for TBF
...ulated by dividing the rate by HZ."
So, for a 200kbit rate on intel, this would yeld me a minimum burst of 2000bits, or
250 bytes.
I then do this:
tc qdisc add dev eth0 handle 1: root tbf latency 50ms burst 250b rate 200kbit
but all packets are dropped. I then rise burst to 300b, 400b, even 900b and it
is still not working. It only starts working when I raise it to 2000b. Which,
besides being the wrong unit (bits versus bytes), is the result of the rate/HZ
calculation.
The tc(8) manpage says that "b or a bare number = bytes", but it seems this parameter
ends up being bits? If no...