* [Cerowrt-devel] sqm-scripts for debian/ubuntu
@ 2015-01-05 1:51 William Katsak
2015-01-05 2:09 ` Dave Taht
0 siblings, 1 reply; 4+ messages in thread
From: William Katsak @ 2015-01-05 1:51 UTC (permalink / raw)
To: cerowrt-devel
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.
Thanks,
Bill
--
****************************************
William Katsak <wkatsak@gmail.com>
****************************************
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Cerowrt-devel] sqm-scripts for debian/ubuntu
2015-01-05 1:51 [Cerowrt-devel] sqm-scripts for debian/ubuntu William Katsak
@ 2015-01-05 2:09 ` Dave Taht
[not found] ` <54A9F76F.60007@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Dave Taht @ 2015-01-05 2:09 UTC (permalink / raw)
To: William Katsak; +Cc: cerowrt-devel
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
--
Dave Täht
thttp://www.bufferbloat.net/projects/bloat/wiki/Upcoming_Talks
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Cerowrt-devel] sqm-scripts for debian/ubuntu
[not found] ` <54A9F76F.60007@gmail.com>
@ 2015-01-05 2:37 ` Dave Taht
[not found] ` <54A9FD1B.4030704@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Dave Taht @ 2015-01-05 2:37 UTC (permalink / raw)
To: William Katsak, cerowrt-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Cerowrt-devel] sqm-scripts for debian/ubuntu
[not found] ` <54A9FD1B.4030704@gmail.com>
@ 2015-01-05 3:02 ` Dave Taht
0 siblings, 0 replies; 4+ messages in thread
From: Dave Taht @ 2015-01-05 3:02 UTC (permalink / raw)
To: William Katsak, cerowrt-devel
On Sun, Jan 4, 2015 at 6:55 PM, William Katsak <wkatsak@gmail.com> wrote:
> I think I got all the settings duplicated from cero now.
>
> One more question (sorry!). Is there anything else that is run on the
Well, push your patches somewhere... having a .deb and/or .rpm
installable package
would be good in the end.
> interfaces on cero? Is the debloat script still a thing?
debloat is not needed on a modern debian/ubuntu. Of course, everyone
should be putting something like this, also, at this point, in
/etc/sysctl.conf or in a file in /etc/sysctl.d/ with:
net.ipv4.tcp_ecn=1
net.core.default_qdisc=fq_codel
>
> Thanks,
> -Bill
>
>
>
> On 01/04/2015 09:37 PM, Dave Taht wrote:
>>
>> 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>
>>> ****************************************
>>
>>
>>
>>
>
> --
> ****************************************
> William Katsak <wkatsak@gmail.com>
> ****************************************
--
Dave Täht
thttp://www.bufferbloat.net/projects/bloat/wiki/Upcoming_Talks
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-05 3:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-05 1:51 [Cerowrt-devel] sqm-scripts for debian/ubuntu William Katsak
2015-01-05 2:09 ` Dave Taht
[not found] ` <54A9F76F.60007@gmail.com>
2015-01-05 2:37 ` Dave Taht
[not found] ` <54A9FD1B.4030704@gmail.com>
2015-01-05 3:02 ` Dave Taht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox