meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
sw:opnsense:traffic_shaper [2019/03/25 14:24] – created niziak | sw:opnsense:traffic_shaper [2020/05/13 09:33] (current) – niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Traffic Shaper ====== | ||
+ | |||
[[https:// | [[https:// | ||
+ | [[http:// | ||
+ | |||
+ | Some terms: | ||
+ | |||
+ | * **AQM** - **A**ctive **Q**ueue **M**anagement | ||
+ | * **droptail** - drop packetss if full | ||
+ | * **CoDel** | ||
+ | * **PIE** | ||
+ | |||
+ | * **pipe** (link, limiter)- virtual path that emulates a connection with a specified bandwidth, propagation delay, and packet loss pattern. | ||
+ | * **scheduler** - arbitrate access of multiple flows to the same link (pipe) | ||
+ | * FIFO | ||
+ | * DRR | ||
+ | * PRIO | ||
+ | * WF2Q+ | ||
+ | * QFQ | ||
+ | * KPS | ||
+ | |||
+ | |||
+ | * Simple pipe internally has attached | ||
+ | * queue (droptail) | ||
+ | * scheduler (FIFO) | ||
+ | * pipe (a link emulator with given badwidth and delay) | ||
+ | {{: | ||
+ | |||
+ | ===== FQ-CoDel ===== | ||
+ | The **FlowQueue-CoDel** (**FQ-CoDel**) algorithm is a combined packet scheduler and Active Queue Management (AQM) algorithm. | ||
+ | |||
+ | * Pipe with fq-CoDel AQM set | ||
+ | * queue is a dummy queue without any management policy (no droptail). It is not used to buffer incoming packets | ||
+ | * fq-CoDel scheduler manages internal queues to buffer packets | ||
+ | {{: | ||
+ | |||
+ | |||
+ | REMARKS: | ||
+ | * **fq-CoDel** on queues is ignored when **fq-codel** is enabled on pipe. | ||
+ | * queue is needed (even if not really used). There is no other way to send packets to **fq-codel** scheduler. So creating a pipe with **fq-codel** will always create a queue. | ||
+ | * number of internal queues in **fq-codel** is condifured by **flows** parameter | ||
+ | |||
+ | |||
+ | ===== shell ===== | ||
- | * pipe - virtual path that emulates a connection with a specified bandwidth, propagation delay, and packet loss pattern. | + | <code bash> |
- | * pipe has also internal | + | ipfw pipe show |
- | * queue - buffer of object to enforce WFQ2+ queuing strategy. | + | ipfw sched show |
+ | ipfw queue show | ||
+ | </ |