IT lexicon › Networking › ALTQ

ALTQ

Networking På svenska → Updated: 2026-11-09

Alternate Queueing — the framework that gave BSD kernels pluggable queueing disciplines for outbound traffic, and for a decade the way you prioritised traffic in pf.

Kenjiro Cho at Sony Computer Science Laboratories wrote ALTQ in the late 1990s, initially for FreeBSD. The idea was to swap the network interface's plain FIFO for a choice of schedulers: CBQ for class-based bandwidth sharing, PRIQ for strict priority, and later HFSC for hierarchical guarantees. The code travelled with KAME and ended up in all three major BSDs.

OpenBSD wired ALTQ into pf in 2003, so queues could be declared straight in pf.conf. It was powerful and notoriously hard to get right. In 2014 OpenBSD threw ALTQ out entirely in favour of a simpler queueing system of its own; FreeBSD and the pfSense crowd kept it. Shaping traffic on FreeBSD today still means choosing between ALTQ and dummynet.

← Back to the lexicon