From: Dave Taht <dave.taht@gmail.com>
To: William Katsak <wkatsak@gmail.com>,
"cerowrt-devel@lists.bufferbloat.net"
<cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] sqm-scripts for debian/ubuntu
Date: Sun, 4 Jan 2015 18:37:26 -0800 [thread overview]
Message-ID: <CAA93jw6DB0_zP10qjckLUwGuicrYH6tAzmoDw4KsZD7ea6U_6g@mail.gmail.com> (raw)
In-Reply-To: <54A9F76F.60007@gmail.com>
On Sun, Jan 4, 2015 at 6:31 PM, William Katsak <wkatsak@gmail.com> wrote:
> Thanks, I was thinking something with if-pre-up.d and if-post-down.d as
> well.
>
> Are all the params (other than the speeds, obviously) that are set to
> defaults in functions.sh correct? I notice that SQUASH_INGRESS is 1 by
> default. Is this right?
Well, I wouldn't mind a world where classification was preserved e2e,
but that is
generally not the case.
I can imagine a few use cases for trying to not squash ingress,
notably where you
would be rate limiting a device inside the home behind, say, a homeplug.
another item that is wrong is that the INSMOD variable should be
mapped to modprobe in
debian systems, and there may be other modules that need to be probed.
(ifb?). I've not come up with a way to reliably detect if you are on
openwrt however....
Aside from that I pretty regularly use sqm thusly on ubuntu...
UPLINK=10000 DOWNLINK=40000 QDISC=fq_codel /usr/lib/sqm/simple.qos
but, yea, it would be nice to have a version that abstracted out to
debian mo better. A concern was whether we could interface with common
firewall scripts in that world (ufw, shorewall)....
>
> Thanks,
> -Bill
>
>
>
> On 01/04/2015 09:09 PM, Dave Taht wrote:
>>
>> On Sun, Jan 4, 2015 at 5:51 PM, William Katsak <wkatsak@gmail.com> wrote:
>>>
>>> Hello all,
>>>
>>> Before I take the time to set something up, does anyone already have a
>>> nice
>>> wrapper for sqm-scripts on debian/ubuntu (or really any non-openwrt
>>> distro)?
>>> I've already gotten them to work, but want to do something "nice" so they
>>> run automagically.
>>
>>
>> My plan, such as it was, was to have a /etc/sqm dir with each device named
>> there
>> explicitly (e.g.) eth0.conf, br0.conf, etc.
>>
>> and in there have the configuration variables currently set by run.sh
>> in /usr/lib/sqm (or in the
>> openwrt sqm config file) in shell syntax.
>>
>> then have a sqm script in /etc/network/if-pre-up.d and if-post-down.d
>> source those, then run the right qos script from that.
>>
>> I have never got around to it. And I'm not sure if that is the right
>> thing for NetworkManager.
>>
>>>
>>> Thanks,
>>> Bill
>>>
>>> --
>>> ****************************************
>>> William Katsak <wkatsak@gmail.com>
>>> ****************************************
>>> _______________________________________________
>>> Cerowrt-devel mailing list
>>> Cerowrt-devel@lists.bufferbloat.net
>>> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>>
>>
>>
>>
>
> --
> ****************************************
> William Katsak <wkatsak@gmail.com>
> ****************************************
--
Dave Täht
thttp://www.bufferbloat.net/projects/bloat/wiki/Upcoming_Talks
next prev parent reply other threads:[~2015-01-05 2:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-05 1:51 William Katsak
2015-01-05 2:09 ` Dave Taht
[not found] ` <54A9F76F.60007@gmail.com>
2015-01-05 2:37 ` Dave Taht [this message]
[not found] ` <54A9FD1B.4030704@gmail.com>
2015-01-05 3:02 ` Dave Taht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAA93jw6DB0_zP10qjckLUwGuicrYH6tAzmoDw4KsZD7ea6U_6g@mail.gmail.com \
--to=dave.taht@gmail.com \
--cc=cerowrt-devel@lists.bufferbloat.net \
--cc=wkatsak@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox