From: Dave Taht <dave.taht@gmail.com>
To: Stefan Alfredsson <Stefan.Alfredsson@kau.se>
Cc: bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] AQM and PPP on Linux
Date: Wed, 29 Jul 2015 15:41:41 +0200 [thread overview]
Message-ID: <CAA93jw4e88QjbRy3OavJm6sgr7=vVaMyhZb=-pfrG9iXDGRUKw@mail.gmail.com> (raw)
In-Reply-To: <20150729131542.GA16305@sa-pc>
On Wed, Jul 29, 2015 at 3:15 PM, Stefan Alfredsson
<Stefan.Alfredsson@kau.se> wrote:
> * Quoting Dave Taht <dave.taht@gmail.com> [28 Jul-15 16:44]:
>> On Tue, Jul 28, 2015 at 3:09 PM, Juliusz Chroboczek
>> <jch@pps.univ-paris-diderot.fr> wrote:
>> > I'm currently away from home, and using a 3G modem for Internet access.
>> > I've found out that both NetworkManager and wvdial/pppd setup the
>> > interface to use pfifo_fast (with a qlen of a mere 3 packets!). Setting
>> > fq_codel manually appears to work fine, but needs to be redone every time
>> > the modem has a hiccup.
>>
>> However, the netusb-related drivers, and the 3g devices themselves,
>> contain oft-huge buffers that reduce the effectiveness of any aqm or
>> fq system, sometimes to immeasurability.
>>
>> I would be very interested in flent benchmarks of your 3g device with
>> the 3 packet txqueue and with fq_codel, for the tcp_upload, rrul, and
>> rrul_be tests.
>
>
> I have a station with mobile broadband USB modems (4xHuawei E392),
> directly connected to a Linux box running kernel 3.16.3, with
> a (non-public) netperf server (same kernel) hosted on the well-connected
> Swedish university network.
>
> I also have a 3 packet txqueue, and ran the flent tcp_upload, rrul, rrul_be
> for 3.5G (HSPA+) and 4G (LTE) networks for one of the operators/modems.
> For comparison, I ran both pfifo_fast and fq_codel.
>
> The execution script, output and flent result files are available at
> https://www.dropbox.com/s/n5tc1dhtu9jdplz/bloatlist-ppp-150729.zip
Thank you SO MUCH for the raw flent data. That made poking through this a snap!
Of course, the news is mostly bad - a tiny fifo qdisc on LTE looks to
be presently best than any amount of queuing/aqm/fq at the layers
above the device driver and device.
Something like BQL is needed for usbnet, and the usb-cellmodem
driver... and some means of tracking completion interrupts sanely to
change this picture. We did a bit of work on both these layers a while
back but we lost steam at the complex interactions of the usb stack.
as an aside - and on the wifi front, recently toke and I did a string
of overnight tests on the wifi test rig we are taking to battlemesh,
which includes the latest minstrel blues and minstrel variance
patches. Sadly, also, mostly of note is the wide variabilty of results
from run to run, in the same wifi environment. There were only a few
radios we could "hear" to interfere... and I'd done much better with
the exact same radios in an environment fully under my control.
A tarball of all these flent testruns and tests is at
http://snapon.lab.bufferbloat.net/~d/long-running.tgz
Anyway... the variance from run to run:
http://snapon.lab.bufferbloat.net/~d/long-running/10testscompared.png
Trying to pull apart the apparently bi-modal interactions with rate
control (and *why*) is going to take some *work*.
http://snapon.lab.bufferbloat.net/~d/long-running/themessthatiswifi.png
This plot, randomly picked out from the others
http://snapon.lab.bufferbloat.net/~d/long-running/wifiratecontrol.png
shows clearly the current interaction between the current rate of the
wifi and the latency. (but I have no idea *why* it stayed stuck at the
lower rate for 20+ seconds!). Still, I believe we have developed means
to hold the latency low at nearly any bandwidth, we just have to roll
up our sleeves and make per station queuing work and then start
glomming on new algorithms. Or so I hope.
...
I happened to rather like this plot, from an artistic perspective,
showing the bands that each 802.11e queue fits into. Sort of.
http://snapon.lab.bufferbloat.net/~d/long-running/vangogh.png
But maybe I am thinking of the wrong artist?
> From flent --gui inspections, I'd say there is about a factor 10 increase
> from base to load latency (from around 40-50 ms to around 400-500 ms),
> for both pfifo_fast and fq_codel, for both link types,
> with some transients above 1000 ms.
>
>
> Juliusz: Regarding data usage, the 4G measurements consumed 1.4 Gbyte
> download and 357 Mbyte upload - but it all depends on the network
> throughput as the experiments are time bound (by default 60 seconds).
> For 3.5G 100 Mbyte data was sent, and guesstimately 500 Mbyte received
> (sorry, didn't capture the amount; but it can probably be found in
> the trace files if necessary. However it all depends on your link
> throughput which will be different from mine anyway).
Yes. One reason why I have not focused much on fixing LTE, is I refuse
to have them charge me for attempting to fix their technology. It is
bad enough throwing good money away to Netgear to fix their routers,
but to get charged through the **** for LTE on a bandwidth basis - and
I could see, eating a lot of bandwidth with various tests - ENOBUDGET.
Now, if we could, like, get 20 free unlimited use sims for anywhere in
the world, that might be an incentive.... ;)
>
>
> Cheers,
> Stefan
>
> --
> Stefan Alfredsson, PhD Tel: +46 (0) 54 700 1668
> Datavetenskap Kontor: 21E-414 (Hus Vanern)
> Karlstads universitet PGP 0xB19B4B16
> SE-651 88 Karlstad http://www.cs.kau.se/stefalfr/
> _______________________________________________
> Bloat mailing list
> Bloat@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/bloat
--
Dave Täht
worldwide bufferbloat report:
http://www.dslreports.com/speedtest/results/bufferbloat
And:
What will it take to vastly improve wifi for everyone?
https://plus.google.com/u/0/explore/makewififast
prev parent reply other threads:[~2015-07-29 13:41 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-28 13:09 Juliusz Chroboczek
2015-07-28 13:33 ` Toke Høiland-Jørgensen
2015-07-28 13:50 ` Juliusz Chroboczek
2015-07-28 14:05 ` Toke Høiland-Jørgensen
2015-07-28 14:11 ` Simon Barber
2015-07-28 14:21 ` Eric Dumazet
2015-07-28 14:31 ` Simon Barber
2015-07-28 14:43 ` Jonathan Morton
2015-07-28 14:49 ` Eric Dumazet
2015-07-28 14:55 ` Eric Dumazet
2015-07-28 16:02 ` Alan Jenkins
2015-07-28 16:22 ` Sebastian Moeller
2015-07-28 17:11 ` Michael Welzl
2015-07-29 7:19 ` David Lang
2015-07-28 19:20 ` Juliusz Chroboczek
2015-07-28 19:29 ` Alan Jenkins
2015-07-28 14:18 ` Eric Dumazet
2015-07-28 14:44 ` Dave Taht
2015-07-28 14:52 ` Eric Dumazet
2015-07-28 19:24 ` Juliusz Chroboczek
2015-07-28 19:31 ` Bill Ver Steeg (versteb)
2015-07-28 20:10 ` Alan Jenkins
2015-07-28 20:45 ` Alan Jenkins
2015-07-29 13:15 ` Stefan Alfredsson
2015-07-29 13:41 ` Dave Taht [this message]
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/bloat.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA93jw4e88QjbRy3OavJm6sgr7=vVaMyhZb=-pfrG9iXDGRUKw@mail.gmail.com' \
--to=dave.taht@gmail.com \
--cc=Stefan.Alfredsson@kau.se \
--cc=bloat@lists.bufferbloat.net \
/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