CoDel and FQ-CoDel
CoDel and FQ-CoDel are RouterOS queue types that control how long packets wait in a queue. This page shows how to use FQ-CoDel on a rate-limited Internet connection with a simple queue or a queue tree, and CoDel on the rate limit of one device.
FIFO queue types
PFIFO, BFIFO and MQ-PFIFO are the first-in, first-out queue types of RouterOS. This page shows how to set the queue size in packets or in bytes, and describes the default FIFO queue types and only-hardware-queue.
HTB (Hierarchical Token Bucket)
HTB (Hierarchical Token Bucket) is a queuing discipline in RouterOS for rate limiting and burst handling, using a token bucket algorithm to manage data rates with configurable capacity and limits.
PCQ
Per Connection Queue (PCQ) is a RouterOS queue type that gives each address or port its own queue and rate limit. This page shows how to share a rate equally between devices and how to limit networks instead of single addresses.
Queue size
This page explains how to configure queue size limits in MikroTik RouterOS, detailing the impact of setting maximum packet counts on traffic shaping and scheduling. It includes examples comparing 100% shapers, schedulers, and default queue types to illustrate packet drop rates and delays.
Queue tree
A queue tree in RouterOS limits traffic in one direction, selected by packet mark, on an interface or globally. This page shows how to limit an Internet connection without mangle rules, give priority to voice traffic and limit marked traffic.
Queue types
Queue types in RouterOS are named sets of settings for a queuing algorithm: FIFO, RED, SFQ, PCQ, CoDel, FQ-CoDel or CAKE. Create a queue type in /queue/type and assign it to a simple queue, a queue tree or an interface queue.
Queues
Overview of queues in RouterOS: rate limiting principles, committed and maximum rates, interface queues, and links to the Simple queue, Queue tree, queue type, HTB, burst and queue size pages.
RED
Random Early Drop (RED) is a RouterOS queue type that drops packets at random before the queue is full. This page describes the RED settings and shows how to use a RED queue type in a simple queue.
SFQ
Stochastic Fairness Queuing (SFQ) is a RouterOS queue type that gives each flow its own queue and lets the flows take turns. This page describes the SFQ settings and shows how to use an SFQ queue type in a simple queue.
Simple queue
A simple queue in RouterOS limits the upload and download rate of a target: an address, a network or an interface. This page shows how to limit a device or a network, order queues, guarantee a rate, limit by time of day and by destination.