100% FREE • RouterOS v6 & v7 Ready • Anti-Lag Gaming QoS

MikroTik Hierarchical Queue Tree Shaper HTB QoS, FQ-CoDel, CAKE & Low-Latency Gaming Isolation

Build production-ready Hierarchical Token Bucket (HTB) Queue Trees for MikroTik RouterOS v6 & v7. Seamlessly isolate ultra-low-latency game traffic, video streaming, and heavy downloads with guaranteed CIR, FQ-CoDel, CAKE, and dynamic PCQ.

Queue Tree Usages
97 times
Privacy Guarantee
Zero-Logs • Protected
Last Active
16 Oct 2026
Quick Presets:

WAN Capacity & RouterOS Platform

Mbps
Mbps
Bufferbloat Headroom (Safety Ceiling) 95%
80% (Agresif / ADSL) 95% (Rekomendasi Fiber/Starlink) 100% (Tanpa Limit MIR)

Target Subnets & Service Allocation

Aktifkan segmen sesuai topologi
Rumahan / Kantor
Wi-Fi Publik
Opsional

Queue Algorithms & Game Tuning

Menghilangkan jitter & spike ping saat user lain download deras.

Mencegah 1 perangkat memonopoli seluruh kapasitas pipa.

Port & Signature Game Online Aktif:
•
Optimasi Firewall & Fasttrack:

HTB Bandwidth Budget

HTB Valid
Download Effective (Headroom): 95 Mbps
PPPoE: 61.75M HS: 23.75M Pool: 9.5M
Upload Effective (Headroom): 23.75 Mbps
PPPoE: 15.44M HS: 5.94M Pool: 2.37M

Interactive HTB Tree Structure

P1 (Highest) → P8
Parent Root: global
Download (MIR: 95M) Parent
PPPoE-Download CIR: 61.75M
• PPPoE-Gaming P1 • FQ-CoDel
• PPPoE-Small/DNS P2
• PPPoE-Users P3 • PCQ
Hotspot-Download CIR: 23.75M
• HS-Gaming P1 • FQ-CoDel
• Hotspot-Users P5 • PCQ
Upload (MIR: 23.75M) Parent
• PPPoE-Upload CIR: 15.44M • P2
• Hotspot-Upload CIR: 5.94M • P5
Trafik Game (P1) meminjam bandwidth pertama saat idle, dan langsung mendapat jalur hijau saat user lain aktif.

Script MikroTik RouterOS Siap Pakai

Import skrip ini melalui Terminal Winbox atau paste ke menu RouterOS CLI.

# Generating script...
Cek performa antrian via Winbox: Queue → Queue Tree → Stats

HTB Queue Tree & QoS Engineering Guide

Core principles of Hierarchical Token Bucket and latency mitigation

CIR (limit-at) vs MIR (max-limit)

limit-at (CIR) adalah bandwidth garansi minimum yang pasti diterima oleh antrian anak (leaf/sub-parent). Sedangkan max-limit (MIR) adalah plafon tertinggi yang dapat dipinjam dari antrian induk jika ada bandwidth menganggur (idle).

FQ-CoDel & CAKE vs Bufferbloat

Antrian tradisional FIFO menyebabkan paket game tertimbun di belakang paket unduhan besar (bufferbloat). Algoritma FQ-CoDel memecah aliran paket secara adil dan membuang paket TCP delay tinggi, menjaga latensi ping game tetap stabil di bawah 20ms.

Fasttrack Bypass Penting

Fitur Fasttrack MikroTik melewati seluruh rantai Firewall Mangle dan Queue Tree untuk menghemat CPU. Agar Queue Tree berfungsi optimal, rule mangle menandai paket koneksi terlebih dahulu dan Fasttrack hanya diizinkan untuk paket yang tidak ditandai khusus.

Bermanfaat untuk Pekerjaan Jaringan?

Share This Free Tool With Your Network

Help fellow network engineers, ISP technicians, and WISP operators with these free MikroTik utilities.

MikRam Hotspot & Billing ISP

Otomatiskan Billing & Isolir Pelanggan MikroTik Anda

Tidak perlu lagi repot copy-paste skrip secara manual. MikRam menyinkronkan profil bandwidth, voucher hotspot, PPPoE, dan pembayaran otomatis dengan WhatsApp gateway & payment gateway resmi.