Finally got a pcq rulle working properly. I have two problems:
System resources show 100% cpu usage whenever pcq is running. M router is an Athalon 1.8 GHz with 768 MB RAM, and I have about 200 clients. Everything seems to be running fine though, with no noticeable lag when I log-in with Winbox.
Of course pcq means “per connection”, and I notice that a client performing multiple downloads simultaneously gets the full rate for each download. Is there any way to limit them “per client” without making a separate rule for each client?
pcq-limit (integer; default: 50) - how many packets to hold in a PCQ
that does not mean speed - that means amount. in pther words, when the queue is already full (i.e., the speed has reached the maximal value, and PCQ is not allowing any more packets to pass), how many packets to have waiting for their turn to be sent. i would suggest it to be as low as possible, as this, in my opinion, would reduce delays and cpu load. not sure about the later, though…
My apologies to the Mikrotik folks. Turns out it was not the PCQ that was causing the problem but our own stupidity. We had a memory chip mismatch (one 512 MB and a 256 MB DDR) in the computer. Changed them both to 512 MB DDR and now cpu loading is only 4-6%.
Regarding the pcq-limit, I find this a bit confusing as I wonder how you know when you have the setting correct?
Seems you have better luck locating these things in the manual than I do. Perhaps if the manual were better organized or had an index? In any event, would you mind advising which section of the manual you found this? It doesn’t appear to be in “Firewall” section. Thanks!
There’s also this really neat feature “search/find” its built in to most text editors, document viewers, web browsers.
Mikrotik goes into a lot of detail on their queues/bandwidth management, there’s also other free documentation on how bandwidth management and QoS work available on the web.
Well, with all due respect, this is about the extent of details on connection limiting that I found in the manual.
“connection-limit (integer; default: 0) - match the number of concurrent connections from each particular IP address”
I think I could have guessed that. I agree that not a lot of explanation is really needed, but perhaps a few lines, such as a notice that it only works with TCP, for example.
Is there a way to limit the number of udp connections too?