Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
docs:guide-user:network:traffic-shaping:sqm_configuration [2019/08/26 08:42] – tag optimization vgaeteradocs:guide-user:network:traffic-shaping:sqm_configuration [2023/06/20 06:52] – update defaults tatami
Line 12: Line 12:
 ^ Name     ^ Type    ^ Required ^ Default   ^ Description ^ ^ Name     ^ Type    ^ Required ^ Default   ^ Description ^
 | ''enabled''    boolean  |    |  //no//  | enable or disable the queue section  | | ''enabled''    boolean  |    |  //no//  | enable or disable the queue section  |
-| ''interface'' |  string  |  yes  |  //eth0//  | interface name | +| ''interface'' |  string  |  yes  |  //eth1//  | interface name | 
-| ''upload''    |  integer  |    |  //2032//  | Upload speed (kbit/s) (egress) set to 0 to selectively disable egress shaping | +| ''upload''    |  integer  |    |  //10000//  | Upload speed (kbit/s) (egress) set to 0 to selectively disable egress shaping | 
-| ''download''  |  integer  |    |  //14698//  | Download speed (kbit/s) (ingress) set to 0 to selectively disable ingress shaping |+| ''download''  |  integer  |    |  //85000//  | Download speed (kbit/s) (ingress) set to 0 to selectively disable ingress shaping |
 | ''linklayer'' |  string  |    |  //none//  | "none", "ethernet", or "atm". Link-layer adaptation. See [[docs:guide-user:network:traffic-shaping:sqm#sqmlink_layer_adaptation_tab]] | | ''linklayer'' |  string  |    |  //none//  | "none", "ethernet", or "atm". Link-layer adaptation. See [[docs:guide-user:network:traffic-shaping:sqm#sqmlink_layer_adaptation_tab]] |
 | ''overhead''  |  integer  |    |  //0//  | Per Packet Overhead, bytes | | ''overhead''  |  integer  |    |  //0//  | Per Packet Overhead, bytes |
Line 29: Line 29:
 | ''squash_dscp'' |  integer  |    |  //1//  | Squash DSCP on inbound packets (ingress). 1 = squash, 0 = do not squash | | ''squash_dscp'' |  integer  |    |  //1//  | Squash DSCP on inbound packets (ingress). 1 = squash, 0 = do not squash |
 | ''squash_ingress'' |  integer  |    |  //1//  | Ignore DSCP on ingress. 1 = ignore, 0 = allow | | ''squash_ingress'' |  integer  |    |  //1//  | Ignore DSCP on ingress. 1 = ignore, 0 = allow |
-| ''qdisc''        string  |    |  //fq_codel//  | fq_codel efq_codel nfq_codel sfq codel ns2_codel pie sfq cake //(availability varies, check /var/run/sqm/available_qdiscs)//+| ''qdisc''        string  |    |  //cake//  | fq_codel efq_codel nfq_codel sfq codel ns2_codel pie sfq cake //(availability varies, check /var/run/sqm/available_qdiscs)//
-| ''script''      |  string  |    |  //simple.qos//  | Queue setup script (see table below) |+| ''script''      |  string  |    |  //piece_of_cake.qos//  | Queue setup script (see table below) |
 | ''iqdisc_opts'' |  string      |  //(none)//  | Advanced option string to pass to the ingress queueing disciplines; no error checking, use very carefully. | | ''iqdisc_opts'' |  string      |  //(none)//  | Advanced option string to pass to the ingress queueing disciplines; no error checking, use very carefully. |
 | ''eqdisc_opts'' |  string      |  //(none)//  | Advanced option string to pass to the egress queueing disciplines; no error checking, use very carefully. | | ''eqdisc_opts'' |  string      |  //(none)//  | Advanced option string to pass to the egress queueing disciplines; no error checking, use very carefully. |
-| ''qdisc_advanced'' |  boolean  |    |  //false//  | [only used by the luci-app-sqm package] +| ''qdisc_advanced'' |  boolean  |    |  //0//  | [only used by the luci-app-sqm package] 
-| ''qdisc_really_really_advanced'' |  boolean  |    |  //false//  | [only used by the luci-app-sqm package] |+| ''qdisc_really_really_advanced'' |  boolean  |    |  //0//  | [only used by the luci-app-sqm package] |
  
 ==== Queue Setup Scripts ==== ==== Queue Setup Scripts ====
 ^ Name  ^ Default ^ Description ^ ^ Name  ^ Default ^ Description ^
-| ''simple.qos''yes | BW-limited three-tier prioritisation scheme with fq_codel on each queue. |+| ''simple.qos''no | BW-limited three-tier prioritisation scheme with fq_codel on each queue. |
 | ''simplest.qos'' | no | Simplest possible configuration: HTB rate limiter with your qdisc attached. | | ''simplest.qos'' | no | Simplest possible configuration: HTB rate limiter with your qdisc attached. |
 | ''layer_cake.qos'' | no | This uses the cake qdisc as a replacement for htb as shaper and fq_codel as leaf qdisc. This exercises cake's diffserv profile(s) as different "layers" of priority. This script requires that cake is selected as qdisc. See: http://www.bufferbloat.net/projects/codel/wiki/Cake for more information | | ''layer_cake.qos'' | no | This uses the cake qdisc as a replacement for htb as shaper and fq_codel as leaf qdisc. This exercises cake's diffserv profile(s) as different "layers" of priority. This script requires that cake is selected as qdisc. See: http://www.bufferbloat.net/projects/codel/wiki/Cake for more information |
 | ''nxt_routed_hfsc.qos'' | no | Uses a combination of HFSC and FLOW classifier to prioritize typical interactive protocols. This script is specially designed for clients behind NAT. | | ''nxt_routed_hfsc.qos'' | no | Uses a combination of HFSC and FLOW classifier to prioritize typical interactive protocols. This script is specially designed for clients behind NAT. |
-| ''piece_of_cake.qos''no | This just uses the cake qdisc as a replacement for htb as shaper and fq_codel as leaf qdisc. It just does not come any simpler than this, in other words it truely is a "piece of cake". This script requires that cake is selected as qdisc. See: http://www.bufferbloat.net/projects/codel/wiki/Cake for more information |+| ''piece_of_cake.qos''yes | This just uses the cake qdisc as a replacement for htb as shaper and fq_codel as leaf qdisc. It just does not come any simpler than this, in other words it truly is a "piece of cake". This script requires that cake is selected as qdisc. See: http://www.bufferbloat.net/projects/codel/wiki/Cake for more information |
  
 === Only Available in DD Trunk === === Only Available in DD Trunk ===
  • Last modified: 2024/07/16 11:43
  • by palebloodsky