₱ PHP Start free

PCQ or CAKE: how to share your internet fairly between customers on MikroTik

Published October 28, 2026

Every internet provider has the same complaint sooner or later: "the internet is slow" because one customer is downloading a huge file or watching several streams at once. If nothing divides the line fairly, the busiest user takes most of it. A queue on your MikroTik router fixes this. The two most useful kinds for a small provider are PCQ and CAKE.

The problem a queue solves

Your line has a fixed speed, for example 200 Mbps down. When many people use it together and the line fills up, packets wait in a queue inside a router or modem. A long queue means delay: pages load slowly and video calls stutter, even though the speed test looks fine. A good queue does two jobs: it gives every active customer an equal share, and it keeps the waiting short.

PCQ: equal shares per customer

PCQ stands for Per Connection Queue. You make two queue types, one for uploads that groups traffic by the customer's address and one for downloads. Then you attach them to one simple queue that covers your customers' network and carries your total speed.

  • With no per-person limit, everyone active at the same moment gets an equal share of the total.
  • If only two people are active, they split the whole line between them. If fifty are active, each gets a fiftieth.
  • You can also set a ceiling for one person, for example 20 Mbps, so nobody can ever take the whole line.

PCQ works on RouterOS 6 and 7, uses little CPU, and has been used for years. It shares speed well but does little about delay.

CAKE: fair shares and short waiting

CAKE is a newer queue type that is available on RouterOS 7. It also shares the line between customers, and it keeps the queue short, so calls and games stay smooth even when the line is busy. It does this by looking at each connection separately and by dropping or marking packets early enough that long queues never build up.

CAKE needs a little more CPU than PCQ, so check the load on your router before you move everyone to it.

Which should you choose?

  • RouterOS 6, or a small low-power router: use PCQ.
  • RouterOS 7 and a router with spare CPU: try CAKE first.
  • Not sure: start with PCQ for a week, write down how it behaves, and then test CAKE on a quiet evening.

Use one or the other for the same network, not both together.

Set the speeds honestly

Both queues only work well when the speed you enter is close to what the line really delivers. If you enter 200 Mbps but the line gives 150 Mbps, the queue builds up in your provider's equipment, where you cannot control it. Run a few speed tests at different times, take a number a little below the usual result, and use that. Setting it about 5 to 10 percent under the real speed is a common starting point.

How to test it

  1. Run a speed test from one device to confirm the total.
  2. Start a large download on one device and, at the same time, run a ping to a nearby server from another. Without a queue the ping jumps up; with a good queue it stays low.
  3. Ask two or three customers if they notice anything in the evening.

Keep a way back

Write down what you changed, and keep an easy way to turn the queue off. If something looks wrong, removing the queue returns the router to its old behaviour in seconds. Make changes at a quiet hour, and not while customers are in the middle of a busy evening.

Run your billing and network in one place

Invoices, GCash and Maya payments, automatic suspend and reconnect, Piso WiFi and PC shop tools.

Try Duvora free