PCQ question

Can anyone clarify what the “Limit” and “Total Limit” in the PCQ settings are for?
Right now I’ve left them at default.

Thanks

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

pcq-limit (number) : queue size of one sub-stream in packets
pcq-total-limit (number) : queue size of global FIFO queue

pcq-limit is how many packets each dynamically created sub-queue can hold. 50 (default) is OK for normal usage. pcq-total-limit is how many packets all subqueues combined can hold. The default of 2000 can do 40 users (40 * 50) exhausting their queues.
Note that concurrent users passing traffic and filling up their queue means just that - it doesn’t mean how many users are connected, but how many people are simultaneously exhausting their dynamic FIFO substream queue. A good rule of thumb for most networks would probably be (total users connected * 20% * pcq-limit), but it really depends on your network. A pragmatic approach would be to set it to (pcq-limit * number of IPs available for use).