Commit Graph

30 Commits (a4b0a5043dbc51989e84ec39ae12c67125617ca9)

Author SHA1 Message Date
Jo-Philipp Wich 9ae901445b /etc/functions.sh => /lib/functions.sh
SVN-Revision: 32062
2012-06-05 16:04:23 +00:00
Felix Fietkau d5fc598d62 qos-scripts: replace sfq/red with fq_codel - massively improves latency under load
SVN-Revision: 31759
2012-05-16 15:23:16 +00:00
Jo-Philipp Wich 48c37ff7eb qos-scripts: only use the lower 8 bits for firewall marks, allows coexistence with other programs like nodogsplash - patch by Tobias Wolf (#10096)
SVN-Revision: 28731
2011-11-03 19:11:01 +00:00
Jo-Philipp Wich 825658977f Add QoS firewall stop script generation
To prevent code duplication for clearing QoS firewall rules, support
"firewall stop" arguments to generate.sh to generate the necessary
script commands.  Make use of this from qos-stop.

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>

SVN-Revision: 28623
2011-10-27 12:39:19 +00:00
Jo-Philipp Wich 3ffe66cbe0 Add qos_* iptables chain namespace for QoS
Prefix the names of the iptables chains used for QoS with "qos_" to
allow for identification of QoS chains for removal across configuration
changes.  When clearing QoS iptables chains, only remove chains with the
namespace prefix in order to preserve user and/or other package chains
in the mangle table.

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>

SVN-Revision: 28622
2011-10-27 12:39:16 +00:00
Jo-Philipp Wich 9646ca6c6e This patch updates qos-scripts to support fair traffic sharing using the SFQ with external classifiers method. It also corrects a bug in the unsupported ESFQ method already used by qos-scripts. (ESFQ: http://fatooh.org/esfq-2.6/ only updated to 2.6.24, it was switched to an SFQ patch after that and not updated since 2008)
A class can be forced to use SFQ, and an external classifier added like
this:

config class "Normal"
         option avgrate     10
         option priority    30
         option packetdelay 100
         option limitrate   94
#       option qdisc      "sfq perturb 2"
config class "Normal_up"
#       option filter   "protocol all flow hash keys src divisor 1024"
config class "Normal_down"
#       option filter   "protocol all flow hash keys dst divisor 1024"

Using these options, the user needs to load cls_flow before qos-scripts
starts.

I've got more information here:
http://oneitguy.com/blogs/netprince/fair-traffic-sharing-esfq-broken-switching-sfqexternal-classifiers

This has been tested on r23914.

Signed-off-by: Ben Pfountz <netprince<>vt_edu>

SVN-Revision: 26622
2011-04-12 20:33:11 +00:00
Felix Fietkau fca74c3a44 qos-scripts: drop the use of IMQ, use ifb and act_connmark instead
SVN-Revision: 25640
2011-02-21 01:33:27 +00:00
Vasilis Tsiligiannis a98c957eb5 qos-scripts: Rework qos-stat script
SVN-Revision: 25052
2011-01-20 17:33:41 +00:00
Vasilis Tsiligiannis de0324cfb0 qos-scripts: Fix generation of IMQ firewall rules on halfduplex mode (#7800)
SVN-Revision: 23227
2010-10-04 21:25:48 +00:00
Travis Kemen de8394cc11 This patch allows the user to specify esfq as the leaf qdisc, as well as perturb and hash parameters, closes #1893
SVN-Revision: 19874
2010-02-26 17:22:53 +00:00
Jo-Philipp Wich d6005ac186 Reload IMQ only when needed [PATCH] [qos-scripts] Use config_get_bool for halfduplex option Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15948
2009-05-20 21:16:22 +00:00
Jo-Philipp Wich f46691236b Fix packet/connection marking when using halfduplex option This fixes an bug where QoS is not applied to packets passing through POSTROUTING chain when using halfduplex option. Since QoS is done on IMQ device, packets should be marked before sending to the IMQ. Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15947
2009-05-20 21:12:09 +00:00
Jo-Philipp Wich e2d1632d1e Reload modules with parameters specified This patch makes qos-scripts reload a module when there is need to pass some parameters to it. It fixes an issue on devices with more than two interfaces where many IMQ devices are needed but the module is already loaded with the default numdevs=2 Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15945
2009-05-20 21:10:45 +00:00
Felix Fietkau 06713e3d82 get rid of a remaining reference to ipp2p
SVN-Revision: 14602
2009-02-21 19:19:53 +00:00
Florian Fainelli 9a3d8e3163 Load xt_layer7 for 2.6 kernels (#3269)
SVN-Revision: 10667
2008-03-27 14:47:54 +00:00
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00
Felix Fietkau 1f000c666c add qos-scripts patch from #2385
SVN-Revision: 8860
2007-09-20 09:19:48 +00:00
Felix Fietkau 77fb42c9cb qos-scripts: add patch for tos and dscp support from #2291
SVN-Revision: 8663
2007-09-07 09:27:22 +00:00
Felix Fietkau febfbf2acd remove a warning that has confused a few people
SVN-Revision: 7911
2007-07-11 06:15:50 +00:00
Felix Fietkau 8c0de17322 qos-scripts update:
- rewrite the RED qdisc calculations and add some comments
this should fix the warnings about bursting (should also fix quirks with various linespeed settings)
- reduce the calculated overhead for upstream, while i'm at it...

SVN-Revision: 7782
2007-06-30 02:34:03 +00:00
Felix Fietkau 0c8cccc9f7 add direction matching patch for qos-scripts from #1708
SVN-Revision: 7571
2007-06-11 16:32:38 +00:00
Felix Fietkau e4550a0ebc fix error handling in qos-scripts
SVN-Revision: 7442
2007-06-02 05:21:54 +00:00
Felix Fietkau 7d3baf4131 add qos-scripts connbytes match from #1618
SVN-Revision: 7091
2007-05-04 22:10:40 +00:00
Felix Fietkau 50735bc351 qos-scripts update - fix enabling/disabling of interfaces, make the overhead calculation optional
SVN-Revision: 7048
2007-04-24 19:24:08 +00:00
Felix Fietkau 6ee129297f fix a small typo
SVN-Revision: 7047
2007-04-24 16:54:18 +00:00
Felix Fietkau 3c4dd6fb02 qos-scripts: fix RED burst calculation
SVN-Revision: 6878
2007-04-07 00:20:48 +00:00
Felix Fietkau c993ad73be update qos-scripts to v1.1 - rewritten hfsc rate calculation
SVN-Revision: 6875
2007-04-06 16:59:56 +00:00
Felix Fietkau e3a0c3b9fd fix qos-scripts RED qdisc calculation for slow lines
SVN-Revision: 5853
2006-12-19 02:53:02 +00:00
Felix Fietkau 312802199b allow the user to disable downlink shaping by removing the option download ... line
SVN-Revision: 5497
2006-11-11 15:25:07 +00:00
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00