Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
* [Cerowrt-devel] Fwd: qos in open commotion?
       [not found] <CAA93jw5xuXr7KrUHirpNjVq2+8Qu2pH37UyZtqnyPD1iRm2LOA@mail.gmail.com>
@ 2014-05-25 19:56 ` Dave Taht
  2014-05-25 20:18   ` dpreed
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Taht @ 2014-05-25 19:56 UTC (permalink / raw)
  To: cerowrt-devel

meant to cc cerowrt-devel on this...


---------- Forwarded message ----------
From: Dave Taht <dave.taht@gmail.com>
Date: Sun, May 25, 2014 at 12:55 PM
Subject: qos in open commotion?
To: andygunn@opentechinstitute.org, commotion-dev@lists.chambana.net


Dear Andy:

In response to your thread on qos in open commotion my list started a thread

https://lists.bufferbloat.net/pipermail/cerowrt-devel/2014-May/003044.html

summary:

You can and should run packet scheduling/aqm/qos in routers with 32MB
of memory or less. Some compromises are needed:

https://lists.bufferbloat.net/pipermail/cerowrt-devel/2014-May/003048.html

FIRST:

We strongly recomend that your edge gateways have aqm/packet
scheduling/qos on all their connections to the internet. See
innumerable posting on bufferbloat and the fixes for it...

http://gettys.wordpress.com/

Feel free to lift cerowrt's SQM scripts and gui from the ceropackages
repo for your own purposes. Openwrt barrier breaker qos-scripts are
pretty good too but don't work with ipv6 at the moment...

http://www.bufferbloat.net/projects/cerowrt/wiki/Setting_up_SQM_for_CeroWrt_310

For the kind of results we get on cable:

http://snapon.lab.bufferbloat.net/~cero2/jimreisert/results.html

Wifi has a built in QoS (802.11e) system but it doesn't work well in
congested environments
and optimizing wireless-n aggregation works better.

As for fixing wifi, well, we know what to do, but never found any
funding for it. Ath9k is still horribly overbuffered and while
fq_codel takes some of the edge off of wifi (and recently we disabled
802.11e entirely in favor of fq_codel), and in cerowrt we reduce
aggregation to get better latency also - much more work remains to
truly make it scale down to levels of latency we consider reasonable
while  (In other words, wifi latencies suck horribly now no matter
what yet we think we know how to improve that. Feel free to do
measurements of your mesh with tools like netperf-wrapper. There are
also a few papers out there now showing how bad wifi can get nowadays)

As for replacing pfifo_fast, openwrt barrier breaker replaced
pfifo_fast with fq_codel in barrier breaker a year ago.

fq_codel by default is essentially zero cost (64k per interface*hw
queues) and the default in openwrt on all interfaces by default now...

but the typical router cpus are so weak it is rare it kicks in except
at 100mbit and below. (where it can be wonderful) - and it's on a rate
limited (eg dsl or cable) system where it's most obviously useful.

Presently.

Lastly, I've been running a deployed babel mesh network for 2 years
with fq_codel in it, 2 SSIDs per nanostation m5 and picostation, and
it runs pretty good. Recent tests on the ubnt edgerouter went well, as
well...

Please give this stuff a shot. Your users will love it.

--
Dave Täht

NSFW: https://w2.eff.org/Censorship/Internet_censorship_bills/russell_0296_indecent.article


-- 
Dave Täht

NSFW: https://w2.eff.org/Censorship/Internet_censorship_bills/russell_0296_indecent.article

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Cerowrt-devel] Fwd: qos in open commotion?
  2014-05-25 19:56 ` [Cerowrt-devel] Fwd: qos in open commotion? Dave Taht
@ 2014-05-25 20:18   ` dpreed
  0 siblings, 0 replies; 2+ messages in thread
From: dpreed @ 2014-05-25 20:18 UTC (permalink / raw)
  To: Dave Taht; +Cc: cerowrt-devel

[-- Attachment #1: Type: text/plain, Size: 4830 bytes --]


Besides my diversionary ramble in previous post, let me observe this.
 
Until you realize that maintaining buffers inside the network never helps with congestion in a resource limited network, you don't really understand the problem.
 
The only reason to have buffers at all is to deal with transient burst arrivals, and the whole goal is to stanch the sources quickly.
 
Therefore I suspect that commotion would probably work better by reducing buffering to fit into small machines' RAM constraints, and on larger machines, just letting the additional RAM be used for something else.
 
For many "network experts" this idea is "heresy" because they've been told that maximum throughput is gained only by big buffers in the network. Buffers are thought of like processor cache memories - the more the better for throughput.
 
That statement is generally not true. It is true in certain kinds of throughput tests (single flows between the same source and destination, where end-to-end packet loss rates are high and not mitigated by link-level retrying once or twice). But in those tests there is no congestion, just an arbitrarily high queueing delay, which does not matter for pure throughput tests.
 
Buffering *is* congestion, when a link is shared among multiple flows.
 


On Sunday, May 25, 2014 3:56pm, "Dave Taht" <dave.taht@gmail.com> said:



> meant to cc cerowrt-devel on this...
> 
> 
> ---------- Forwarded message ----------
> From: Dave Taht <dave.taht@gmail.com>
> Date: Sun, May 25, 2014 at 12:55 PM
> Subject: qos in open commotion?
> To: andygunn@opentechinstitute.org, commotion-dev@lists.chambana.net
> 
> 
> Dear Andy:
> 
> In response to your thread on qos in open commotion my list started a thread
> 
> https://lists.bufferbloat.net/pipermail/cerowrt-devel/2014-May/003044.html
> 
> summary:
> 
> You can and should run packet scheduling/aqm/qos in routers with 32MB
> of memory or less. Some compromises are needed:
> 
> https://lists.bufferbloat.net/pipermail/cerowrt-devel/2014-May/003048.html
> 
> FIRST:
> 
> We strongly recomend that your edge gateways have aqm/packet
> scheduling/qos on all their connections to the internet. See
> innumerable posting on bufferbloat and the fixes for it...
> 
> http://gettys.wordpress.com/
> 
> Feel free to lift cerowrt's SQM scripts and gui from the ceropackages
> repo for your own purposes. Openwrt barrier breaker qos-scripts are
> pretty good too but don't work with ipv6 at the moment...
> 
> http://www.bufferbloat.net/projects/cerowrt/wiki/Setting_up_SQM_for_CeroWrt_310
> 
> For the kind of results we get on cable:
> 
> http://snapon.lab.bufferbloat.net/~cero2/jimreisert/results.html
> 
> Wifi has a built in QoS (802.11e) system but it doesn't work well in
> congested environments
> and optimizing wireless-n aggregation works better.
> 
> As for fixing wifi, well, we know what to do, but never found any
> funding for it. Ath9k is still horribly overbuffered and while
> fq_codel takes some of the edge off of wifi (and recently we disabled
> 802.11e entirely in favor of fq_codel), and in cerowrt we reduce
> aggregation to get better latency also - much more work remains to
> truly make it scale down to levels of latency we consider reasonable
> while  (In other words, wifi latencies suck horribly now no matter
> what yet we think we know how to improve that. Feel free to do
> measurements of your mesh with tools like netperf-wrapper. There are
> also a few papers out there now showing how bad wifi can get nowadays)
> 
> As for replacing pfifo_fast, openwrt barrier breaker replaced
> pfifo_fast with fq_codel in barrier breaker a year ago.
> 
> fq_codel by default is essentially zero cost (64k per interface*hw
> queues) and the default in openwrt on all interfaces by default now...
> 
> but the typical router cpus are so weak it is rare it kicks in except
> at 100mbit and below. (where it can be wonderful) - and it's on a rate
> limited (eg dsl or cable) system where it's most obviously useful.
> 
> Presently.
> 
> Lastly, I've been running a deployed babel mesh network for 2 years
> with fq_codel in it, 2 SSIDs per nanostation m5 and picostation, and
> it runs pretty good. Recent tests on the ubnt edgerouter went well, as
> well...
> 
> Please give this stuff a shot. Your users will love it.
> 
> --
> Dave Täht
> 
> NSFW:
> https://w2.eff.org/Censorship/Internet_censorship_bills/russell_0296_indecent.article
> 
> 
> --
> Dave Täht
> 
> NSFW:
> https://w2.eff.org/Censorship/Internet_censorship_bills/russell_0296_indecent.article
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>

[-- Attachment #2: Type: text/html, Size: 6245 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-25 20:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAA93jw5xuXr7KrUHirpNjVq2+8Qu2pH37UyZtqnyPD1iRm2LOA@mail.gmail.com>
2014-05-25 19:56 ` [Cerowrt-devel] Fwd: qos in open commotion? Dave Taht
2014-05-25 20:18   ` dpreed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox