pcq rate

Hi to all,
what is the measure unit of pcq-rate? Byte/s or bit/s ?

What are limit and total limit parameters?

Rates are ALWAYS in bits per second. 1000bps = 1Kbps. The other parameters are explained in the manual:

PCQ parameters:

pcq-classifier (dst-address | dst-port | src-address | src-port; default: “”) : selection of sub-stream identifiers
pcq-rate (number) : maximal available data rate of each sub-steam
pcq-limit (number) : queue size of one sub-stream in packets
pcq-total-limit (number) : queue size of global FIFO queue

http://wiki.mikrotik.com/wiki/Manual:Queues_-_PCQ

This is a very good question - i have seen many setups where people are giving out wrong numbers.

For example 10Mbps connection was divided into ten 1024Kbps or even better - 1048576 bits, but in reality it should be 1000Kb or 1000000 bits.

Imagine ~5% drops only because your numbers are wrong :wink:

thanks a lot