From: Greg KH <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
To: "Tomasz Janowski, Ph.D." <tomasz.janowski-4+jYJfmkT58@public.gmane.org>
Cc: USB list <linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"889831-61a8vm9lEZVf4u+23C9RwQ@public.gmane.org"
<889831-61a8vm9lEZVf4u+23C9RwQ@public.gmane.org>
Subject: Re: USB rndis_host - slow download transfers, RX errors
Date: Thu, 8 Feb 2018 15:43:05 +0100 [thread overview]
Message-ID: <20180208144305.GA20594@kroah.com> (raw)
In-Reply-To: <BL2PR05MB2196BF871003A1E636D714B883F30-OPySxP7SCtAm5UMXViuLsLJUF9Gbu2OwvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
On Thu, Feb 08, 2018 at 02:16:08PM +0000, Tomasz Janowski, Ph.D. wrote:
> Dear USB developers,
>
> Based on my google research, the problem I experience seems to happen
> with some newer smartphones. My test case is Samsung Galaxy S8 (SM-950U1). I am
> trying to use USB tethering and everything seems to work as expected (modules
> are loaded, Ethernet devices are up and running, dhcp works fine). I can connect to
> the external world using both LTE or wireless network on the phone.
>
> Now, the problem is that the download speeds are terrible, around 64 KB/s,
> while uploads are fast, the order of 15 MB/s. These speeds do not depend
> on the wireless service provider: the results are similar when I tether wi-fi.
> The USB Ethernet interface on the Linux host reports a lot of receive errors (attached:
> device_state.txt), while kernel reports bad rndis messages (attached: kernel.log.txt).
>
> Windows 10 works great with the same hardware (same PC and same phone), with
> uploads and downloads in the order of 150 Mbit/s, which is probably as fast as my
> wireless network can do. But some people reported issues with older Windows drivers too.
> Is possible that some newer version of RNDIS protocol is around and Linux hasn't updated
> its RNDIS module yet?
Hey, I was _just_ talking to someone at Google about this same issue
yesterday, you beat him sending this same type of report to the mailing
list, nice job :)
Yes, this is not good, and we should work to resolve this, but first,
what kernel version are you using? I think some fixes for the rndis
driver went in recently to 4.15, but it would be good to verify that
this isn't already resolved.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2018-02-08 14:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <151801953766.3584.1741662034970121249.reportbug@theory.chem.duke.edu>
[not found] ` <1518039563.2617.15.camel@decadent.org.uk>
2018-02-08 14:16 ` USB rndis_host - slow download transfers, RX errors Tomasz Janowski, Ph.D.
[not found] ` <BL2PR05MB2196BF871003A1E636D714B883F30-OPySxP7SCtAm5UMXViuLsLJUF9Gbu2OwvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2018-02-08 14:43 ` Greg KH [this message]
[not found] ` <20180208144305.GA20594-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2018-02-08 15:53 ` Tomasz Janowski
2018-02-08 16:37 ` Greg KH
2018-02-08 17:02 ` Tomasz Janowski
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180208144305.GA20594@kroah.com \
--to=gregkh-hqyy1w1ycw8ekmwlsbkhg0b+6bgklq7r@public.gmane.org \
--cc=889831-61a8vm9lEZVf4u+23C9RwQ@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=tomasz.janowski-4+jYJfmkT58@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).