From: Dave Taht <dave.taht@gmail.com>
To: Jonathan Morton <chromatix99@gmail.com>
Cc: Noah Causin <n0manletter@gmail.com>, bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] USB Ethernet Adapters with BQL?
Date: Fri, 17 Jun 2016 20:40:51 -0700 [thread overview]
Message-ID: <CAA93jw5887JGJ+LO+J6odi7bP4rpXn9z9hiXPpO-Cfhf+iY4eA@mail.gmail.com> (raw)
In-Reply-To: <0D81073C-4F45-40E4-84CD-CC61BF8001A7@gmail.com>
most usb network adaptors tend to use the "usbnet" infrastructure,
which tries to minimize interrupts, but
also tends towards trying to only keep 5ms or so of data "in flight",
so leveraging fq_codel on top of a usb ethernet device at the qdisc
layer tends to show a small, but measurable benefit, at 100 mbit or a
gbit.
We tend to run out of speed of the bus on usb2 for gbit.
this is not quite true on slow things like the raspberry pi1, where we
run out of cpu first.
somewhere around here I have benchmarks of this sort of usb stuff on
various platforms, but in the end the results were reasonable enough
(latency/jitter less than 20ms typically) for me to not stress out
about it.
Please feel free to try a comparison between pfifo_fast and fq_codel
on top of a given usb-ethernet device.
...
the infrastructure for usb 3G modems is a whole other ball of wax. It
is a more or less mandated part
of the standards that at least 32k exist on the other side of the
device and the underlying code was pretty overbuffered too (and 3G can
get well below a mbit on uploads).... I have longed for something
bql-like there.
usb-wifi also tends towards utterly horrific.
...
I also am using usb "gadget ethernet" drivers with some success on the
getchip and beaglebone, with
mildly better results for fq_codel over pfifo_fast. The getchip does
not have fq_codel yet, however, and they had a bit of trouble getting
the combined cdc/serial ethernet gadget to work on their latest kernel
release.
(aside from being in a losing battle currently with systemd on device
renaming - usb gadget ethernet works great with openwrt).
next prev parent reply other threads:[~2016-06-18 3:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-17 19:42 Noah Causin
2016-06-18 3:06 ` Jonathan Morton
2016-06-18 3:40 ` Dave Taht [this message]
2016-06-19 17:50 ` [Bloat] WiFi over SDIO [was: USB Ethernet Adapters with BQL?] Juliusz Chroboczek
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=CAA93jw5887JGJ+LO+J6odi7bP4rpXn9z9hiXPpO-Cfhf+iY4eA@mail.gmail.com \
--to=dave.taht@gmail.com \
--cc=bloat@lists.bufferbloat.net \
--cc=chromatix99@gmail.com \
--cc=n0manletter@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