[LARTC] "tc class htb"'s and "tc filter police"'s rate

Andy Furniss andy.furniss@dsl.pipex.com
Wed, 22 Dec 2004 13:25:44 +0000


ncrfgs wrote:
> Hi,
> 
> What is the difference between the rate values you specify
> in "tc class ... htb ... rate ..." and in "tc filter ...
> police ... rate ..."?

The rate when used with htb will determine how fast the packets are 
dequeued.

Policers measure the (some kind of average) rate of traffic and act if 
over/under depending on setup. They do not queue and then release the 
packets at the rate.

Andy.