* [Cake] separate shaping of wifi
@ 2019-02-03 22:04 Jonas Mårtensson
2019-02-03 22:08 ` Jonathan Morton
0 siblings, 1 reply; 3+ messages in thread
From: Jonas Mårtensson @ 2019-02-03 22:04 UTC (permalink / raw)
To: Cake List
[-- Attachment #1: Type: text/plain, Size: 609 bytes --]
I'm running OpenWrt with sqm on my home router. Is there any potential
problem with enabling sqm with cake on both eth0 (wan) and wlan0? The
reason for doing this is that if I only do shaping on the wan interface I
still get bad uplink bufferbloat on wifi. I assume this is because the
bottleneck in this case is actually the wifi and the bloat is in the end
device (laptop, phone, etc.). By shaping to a rate lower than the wifi
rate, the bloat disappears. Is there any better way to accomplish this than
to enable a second sqm instance on wlan0 if I don't want to sacrifice speed
for wired devices?
/Jonas
[-- Attachment #2: Type: text/html, Size: 665 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Cake] separate shaping of wifi
2019-02-03 22:04 [Cake] separate shaping of wifi Jonas Mårtensson
@ 2019-02-03 22:08 ` Jonathan Morton
2019-02-04 9:18 ` Jonas Mårtensson
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Morton @ 2019-02-03 22:08 UTC (permalink / raw)
To: Jonas Mårtensson; +Cc: Cake List
> On 4 Feb, 2019, at 12:04 am, Jonas Mårtensson <martensson.jonas@gmail.com> wrote:
>
> I'm running OpenWrt with sqm on my home router. Is there any potential problem with enabling sqm with cake on both eth0 (wan) and wlan0? The reason for doing this is that if I only do shaping on the wan interface I still get bad uplink bufferbloat on wifi. I assume this is because the bottleneck in this case is actually the wifi and the bloat is in the end device (laptop, phone, etc.). By shaping to a rate lower than the wifi rate, the bloat disappears. Is there any better way to accomplish this than to enable a second sqm instance on wlan0 if I don't want to sacrifice speed for wired devices?
Aside from fixing the end device so it isn't bloated in the first place, I think you have a reasonable solution there. You might only need to limit the ingress rate on wlan0, if your router's wifi stack is debloated.
- Jonathan Morton
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Cake] separate shaping of wifi
2019-02-03 22:08 ` Jonathan Morton
@ 2019-02-04 9:18 ` Jonas Mårtensson
0 siblings, 0 replies; 3+ messages in thread
From: Jonas Mårtensson @ 2019-02-04 9:18 UTC (permalink / raw)
To: Jonathan Morton; +Cc: Cake List
[-- Attachment #1: Type: text/plain, Size: 1618 bytes --]
> Aside from fixing the end device so it isn't bloated in the first place,
I think you have a reasonable solution there. You might only need to limit
the ingress rate on wlan0, if your router's wifi stack is debloated.
Right, only limit the ingress rate, that's what I'm doing and it seems to
be working but I haven't seen this type of setup being discussed anywhere.
The tricky part is choosing the shaping rate since the actual wifi rate
varies.
There's not so much I can do to fix bloat on windows and android devices.
/Jonas
On Sun, Feb 3, 2019 at 11:08 PM Jonathan Morton <chromatix99@gmail.com>
wrote:
> > On 4 Feb, 2019, at 12:04 am, Jonas Mårtensson <
> martensson.jonas@gmail.com> wrote:
> >
> > I'm running OpenWrt with sqm on my home router. Is there any potential
> problem with enabling sqm with cake on both eth0 (wan) and wlan0? The
> reason for doing this is that if I only do shaping on the wan interface I
> still get bad uplink bufferbloat on wifi. I assume this is because the
> bottleneck in this case is actually the wifi and the bloat is in the end
> device (laptop, phone, etc.). By shaping to a rate lower than the wifi
> rate, the bloat disappears. Is there any better way to accomplish this than
> to enable a second sqm instance on wlan0 if I don't want to sacrifice speed
> for wired devices?
>
> Aside from fixing the end device so it isn't bloated in the first place, I
> think you have a reasonable solution there. You might only need to limit
> the ingress rate on wlan0, if your router's wifi stack is debloated.
>
> - Jonathan Morton
>
>
[-- Attachment #2: Type: text/html, Size: 2094 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-02-04 9:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-03 22:04 [Cake] separate shaping of wifi Jonas Mårtensson
2019-02-03 22:08 ` Jonathan Morton
2019-02-04 9:18 ` Jonas Mårtensson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox