mirror of
https://github.com/novatiq/packages.git
synced 2026-07-30 15:23:07 +01:00
sqm-scripts: Smart Queue Management - experimental QoS
sqm-scripts is a new QoS system from Cerowrt / Bufferbloat. I have tested it in my own community build. More info at: http://www.bufferbloat.net/projects/cerowrt/wiki/Smart_Queue_Management http://www.bufferbloat.net/projects/cerowrt/wiki/Setting_up_SQM_for_CeroWrt_310 Dave Täht submitted this first via openwrt-devel mailing list in March 2014, but that was not picked up before the switch to Github: http://patchwork.openwrt.org/patch/5078/ Original code used as the base: https://github.com/dtaht/ceropackages-3.10/commit/8ce293611094a0d65c5b62ce80d25f0e30603cf5 I have modified: - set the default interface to be eth1, like the Openwrt default. - modified config to hide some of the advanced options by default - beautified Makefile a bit - added Toke Høiland-Jørgensen <toke@toke.dk> as the maintainer, as discussed in https://github.com/dtaht/ceropackages-3.10/issues/8#issuecomment-59215905 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
|
||||
config queue 'eth1'
|
||||
option enabled '0'
|
||||
option interface 'eth1'
|
||||
option download '85000'
|
||||
option upload '10000'
|
||||
option qdisc 'fq_codel'
|
||||
option script 'simple.qos'
|
||||
option qdisc_advanced '0'
|
||||
option ingress_ecn 'ECN'
|
||||
option egress_ecn 'NOECN'
|
||||
option qdisc_really_really_advanced '0'
|
||||
option itarget 'auto'
|
||||
option etarget 'auto'
|
||||
option linklayer 'none'
|
||||
|
||||
Executable
+23
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=50
|
||||
|
||||
reload()
|
||||
{
|
||||
/usr/lib/sqm/run.sh
|
||||
}
|
||||
|
||||
restart()
|
||||
{
|
||||
reload
|
||||
}
|
||||
|
||||
start()
|
||||
{
|
||||
reload
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
/usr/lib/sqm/run.sh stop
|
||||
}
|
||||
Reference in New Issue
Block a user