On Sat, Mar 29, 2014 at 2:56 PM, Dave Täht <dave.t...@bufferbloat.net>wrote:

> From: Dave Taht <dave.t...@bufferbloat.net>
>
> This adds support for the bufferbloat project's "Smart Queue Management"
> (SQM) system, which improves over openwrt's qos-scripts in the following
> ways
>
> + Uses HTB with two models for managing traffic
>   a simplest one that merely uses fq_codel, and a three tier one that does
>   some basic and tunable packet prioritization.
>
> + Works with ipv6 and ipv4 correctly (unlike qos-scripts)
> + extensive support for fixing ADSL and PPOe framing problems
> + Partial support for key diffserv markings
> + highly tuned fq_codel implementation especially for low bandwidths
> + Tested heavily on cable modems and on dsl devices
>
> It is a disimprovement in that:
>
> - There are no built-in tricks for doing l7 classification,
> or other forms of packet inspection.
>
> - We haven't explored hfsc all that much, prefering to rely
> on the predictable behavior of htb + fq_codel for everything
>
> - And there is support for a few qdiscs that are not in the linux
> kernel mainline that remain experimental.
> ---
>  net/sqm-scripts/Makefile                           |   48 +++
>  net/sqm-scripts/files/etc/config/sqm               |   11 +
>  net/sqm-scripts/files/etc/init.d/sqm               |   23 ++
>  net/sqm-scripts/files/usr/lib/sqm/functions.sh     |  335
> ++++++++++++++++++++
>  net/sqm-scripts/files/usr/lib/sqm/run.sh           |   67 ++++
>  net/sqm-scripts/files/usr/lib/sqm/simple.qos       |  187 +++++++++++
>  net/sqm-scripts/files/usr/lib/sqm/simple.qos.help  |    1 +
>  net/sqm-scripts/files/usr/lib/sqm/simplest.qos     |   84 +++++
>  .../files/usr/lib/sqm/simplest.qos.help            |    1 +
>  net/sqm-scripts/files/usr/lib/sqm/stop.sh          |   22 ++
>  10 files changed, 779 insertions(+)
>  create mode 100644 net/sqm-scripts/Makefile
>  create mode 100644 net/sqm-scripts/files/etc/config/sqm
>  create mode 100755 net/sqm-scripts/files/etc/init.d/sqm
>  create mode 100644 net/sqm-scripts/files/usr/lib/sqm/functions.sh
>  create mode 100755 net/sqm-scripts/files/usr/lib/sqm/run.sh
>  create mode 100755 net/sqm-scripts/files/usr/lib/sqm/simple.qos
>  create mode 100644 net/sqm-scripts/files/usr/lib/sqm/simple.qos.help
>  create mode 100755 net/sqm-scripts/files/usr/lib/sqm/simplest.qos
>  create mode 100644 net/sqm-scripts/files/usr/lib/sqm/simplest.qos.help
>  create mode 100755 net/sqm-scripts/files/usr/lib/sqm/stop.sh
>
> diff --git a/net/sqm-scripts/files/etc/config/sqm
> b/net/sqm-scripts/files/etc/config/sqm
> new file mode 100644
> index 0000000..547d321
> --- /dev/null
> +++ b/net/sqm-scripts/files/etc/config/sqm
> @@ -0,0 +1,11 @@
> +
> +config queue 'ge00'
> +        option enabled '0'
> +        option interface 'ge00'
> +        option download '20000'
> +        option upload '4000'
> +        option qdisc 'fq_codel'
> +        option script 'simple.qos'
> +        option qdisc_advanced '0'
> +        option linklayer 'none'
> +
>

How hard is this to config from the command line/vim?

I've never needed or really wanted luci on my box, I just use vim. Going by
this patch, there is either nothing to config or no examples. I would think
shipping a roughly equivalent config to what ships in qos-scripts would be
a good start to get people testing.

IE: highest priority: small ARP, DNS, and SSH packets
normal: HTTP, HTTPS
bulk: everything else.

Side note: Will SQM do bandwidth slicing? Or at least handle "hostile"
environments better? I say "hostile" as in roommates or maybe teenage kids.
Multiple people/devices thinking they are entitled to the entire WAN
bandwidth at all times.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to