This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
documentation:configuration:config_files:config_qos [2016/08/03 14:46] admin |
documentation:configuration:config_files:config_qos [2018/05/24 09:05] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Quality of Service (qos-scripts) configuration ====== | ====== Quality of Service (qos-scripts) configuration ====== | ||
This is the documentation for the UCI configuration file ''/etc/config/qos''. | This is the documentation for the UCI configuration file ''/etc/config/qos''. | ||
+ | |||
+ | |||
+ | ===== Sections ===== | ||
+ | A minimal QoS configuration usually consists of: | ||
+ | * one //interface// section | ||
+ | * some //rules// allocating packets to at least two buckets | ||
+ | * //configuration// of the buckets. | ||
+ | |||
Line 72: | Line 80: | ||
</code> | </code> | ||
- | ====== Quality of Service (qos-scripts) configuration ====== | ||
- | This is the documentation for the UCI configuration file ''/etc/config/qos''. It is used by the package ''qos-scripts'' only. | ||
- | | {{:meta:icons:tango:48px-emblem-important.svg.png?nolink}} | Do NOT install multiple QoS-packages simultaneously! Uninstall the old package before installing a new one. \\ There are at least two other QoS/ToS packages in the OpenWrt repositories regarding: ''[[https://github.com/openwrt/packages/blob/master/net/sqm-scripts|sqm-scripts]]'' and ''[[https://github.com/openwrt/packages/tree/master/net/wshaper|wshaper]]''. They do NOT use this file.\\ \\ ''sqm-scripts'' is the most modern and has Luci support. Configuration advice for it can be found at [[http://www.bufferbloat.net/projects/cerowrt/wiki/Setting_up_SQM_for_CeroWrt_310]] \\ ''qos-scripts'' is written in AWK/shell script and uses [[doc/howto/packet.scheduler/sch_hfsc]] and [[doc/howto/packet.scheduler/sch_fq_codel]]\\ ''wshaper'' uses [[doc/howto/packet.scheduler/sch_sfq]] [[doc/howto/packet.scheduler/sch_htb]] [[doc/howto/packet.scheduler/act_police]]; [[http://lartc.org/wondershaper/]] (Last release has been in 2002, so it is mostly unmaintained) \\ \\ For help writing your own script please see [[doc:howto:packet.scheduler:packet.scheduler|Traffic Control on OpenWrt: configuring the Linux Network Scheduler]]. | | ||
- | |||
- | | {{:meta:icons:tango:dialog-information.png?nolink}} | You can browse the scripts here: ''[[https://dev.openwrt.org/browser/trunk/package/network/config/qos-scripts|qos-scripts]]''\\ There is direct LuCI-support for ''qos-scripts'' called: ''luci-app-qos''.\\ NOTE: ''luci-app-qos'' won't start until you enable the ''qos'' Initscript within the System-->Startup tab as well as enable qos under Network-->QoS | | ||
- | |||
- | |||
- | | {{:meta:icons:tango:48px-outdated.svg.png?nolink}} | As of [[https://dev.openwrt.org/changeset/31759|r31759]] ''qos-scripts'' replaced sfq/red with fq_codel to massively improve latency under load. \\ \\ As of [[https://dev.openwrt.org/changeset/25641/trunk|r25641]] ''qos-scripts'' dropped the use of IMQ (package ''iptables-mod-imq'' – Intermediate Queueing Device). Its successor is [[http://www.linuxfoundation.org/collaborate/workgroups/networking/ifb|IFB (Intermediate Functional Block device)]], (requires package: ''kmod-ifb'' and the scheduler action //[[https://dev.openwrt.org/browser/trunk/package/iproute2/patches/200-act_connmark.patch?rev=25639|act_connmark]]// included).| | ||
- | |||
- | |||
- | |||
- | ===== Sections ===== | ||
- | A minimal QoS configuration usually consists of: | ||
- | * one //interface// section | ||
- | * some //rules// allocating packets to at least two buckets | ||
- | * //configuration// of the buckets. | ||