Debian 10 Upload speed issue

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Debian 10 Upload speed issue

Postby RebelCoder » 2020-05-21 13:11

I am using a small Lenovo i5 PC as a server. For some odd reason it's upload speed is capped at around 4.03 Mbit/s

System:
Code: Select all
Debian GNU/Linux 10 (buster) x86_64
10E90002UK ThinkCentre M83
Kernel: 5.5.0-0.bpo.2-amd64
CPU: Intel i5-4590T (4) @ 3.000GHz
Ethernet Card: (eno1) Ethernet Connection I217-LM


Speed Test Result:
Code: Select all
Download: 923.60 Mbit/s
Upload: 4.01 Mbit/s


Raspberry Pi 3B+ on the same network has exactly the same issue. It's upload speed is caped at 4.03 Mbit/s

When I run
Code: Select all
sudo ethtool eno1 | grep Speed
I see this: Speed: 1000Mb/s

Two routers I have, both are 1 gigabit. Tried both. Same result.
I have a Manjaro and another Debian 10 PC on the same network that do not have that problem.

Connection I have is a symmetrical 1 Gigabit connection and other machines can use it.
Transfer speed between all machines on a LAN seems to be a full 1 gigabit.

I am suspecting Ethernet Card drivers. Any ideas?

I have downloading the driver for I217-LM from here: https://ibit.ly/twhR and running sudo make install did build and install the driver but did not solve the issue.
User avatar
RebelCoder
 
Posts: 15
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Re: Debian 10 Upload speed issue

Postby Head_on_a_Stick » 2020-05-21 14:58

Does this improve things:
Code: Select all
# ethtool -K eno1 tso off gso off

Reference: https://forum.manjaro.org/t/solved-only ... 9/58886/36
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12324
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian 10 Upload speed issue

Postby RebelCoder » 2020-05-21 16:53

Head_on_a_Stick wrote:Does this improve things:
Code: Select all
# ethtool -K eno1 tso off gso off

Reference: https://forum.manjaro.org/t/solved-only ... 9/58886/36


Hey! Yes, I have tried this too. I have tried all of the methods I could find and this was one of them. So far, nothing really helped.
User avatar
RebelCoder
 
Posts: 15
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Re: Debian 10 Upload speed issue

Postby Head_on_a_Stick » 2020-05-21 17:11

RebelCoder wrote:I have tried this too. I have tried all of the methods I could find and this was one of them.

You do understand how irritating that is for me, right? Please list *all* of the things you have already tried so that you don't piss off everybody else who tries to help by suggesting things you have already ruled out :roll:
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12324
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian 10 Upload speed issue

Postby RebelCoder » 2020-05-21 17:32

Commands/Suggestions I found on the net and tried:

Code: Select all
sudo ethtool -s eno1 autoneg on/off
sudo ethtool -K eno1 tso off gso on/off

cat  /proc/sys/net/ipv4/tcp_window_scaling (1)
cat  /proc/sys/net/ipv4/tcp_wmem (4096 16384 4194304)


Installing latest driver for I217-LM from Intel website.

Router don't have any rules set-up. Both devices (Lenovo i5 PC and RPi) have the same issue on two different routers.
User avatar
RebelCoder
 
Posts: 15
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Re: Debian 10 Upload speed issue

Postby cuckooflew » 2020-05-21 18:51

The OP does not mention, but did it occur to them , maybe their ISP(InternetServiceProvider). may very well be the problem, especially if you, really have tried every thing, it is quite likely that is where the problem is. But, they (your ISP) will likely deny it, if you contact their support, but also it might not be their falt, any way trouble shooting this kind of thing can be a royal pain,...believe me, I know. I have a very poor provider, and this:
Code: Select all
$ speedtest-cli --simple
Ping: 105.603 ms
Download: 10.42 Mbit/s
Upload: 6.13 Mbit/s
 

Is normal for me, well no, actually today it is up , in a faster download speed, the upload is about normal.
Any way, H-O_A_S is correct, we need a list of everything you have tried, you may have checked your ISP, as well but since you do not give a list of every thing you have tried, we keep guessing...
This :
from https://help.dreamhost.com/hc/en-us/articles/217111537-Upload-speeds-are-very-slowCheck your Internet speed

The speed at which your data uploads is limited by the speed at which your computer can upload to the Internet. Check your connection speed here:

http://www.speedtest.net/

If the results provided in the test are unsatisfactory, you need to speak to your ISP about steps you can take to improve the speed.
Last edited by cuckooflew on 2020-05-21 19:11, edited 1 time in total.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
…one flew east, one flew west,
One flew over the cuckoo’s nest.
cuckooflew
 
Posts: 559
Joined: 2018-05-10 19:34
Location: Some where out west

Re: Debian 10 Upload speed issue

Postby cuckooflew » 2020-05-21 19:08

Perhaps in reverse , we could give a list of every thing to try, off hand I can not think of everything,
but using key words:
Code: Select all
 How to trouble shoot slow upload/download speeds on a linux system

provides a list, many results, each one is a different method, I think it would be easier if the OP just lists what they have tried.
another thing to check: http://www.justthink.it/articles/troubleshoot-slow-network-linux/
==========================================================
https://www.howtoforge.com/tutorial/how-to-speed-up-your-internet-connection-on-linux/
there is more, but I am tired, good luck, ...
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
…one flew east, one flew west,
One flew over the cuckoo’s nest.
cuckooflew
 
Posts: 559
Joined: 2018-05-10 19:34
Location: Some where out west

Re: Debian 10 Upload speed issue

Postby RebelCoder » 2020-05-22 05:43

People, you will not believe what the solution was/is. Well, there is none. Speedtest cli, included in Stable Debain repos has a bug in it : https://bugs.launchpad.net/ubuntu/+sour ... ug/1828929

Getting the latest one from the official repos here: https://www.speedtest.net/apps/cli solved the issue and I indeed do get full speed: https://ibit.ly/hFwU
User avatar
RebelCoder
 
Posts: 15
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Re: Debian 10 Upload speed issue

Postby sunrat » 2020-05-22 07:24

Haha I used speedtest-cli in Buster recently and didn't have that problem because my internet upload speed is slower than that. :mrgreen:
For up-to-dateness anyway I ended up downloading the Python script from Github and just running that from ~/bin .
Code: Select all
wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
chmod +x speedtest-cli

There are several other methods to install including pip which is easiest of all, but it didn't want to work for me today. Does now!
Oops, didn't have python-pip installed. After remedying that, just do
Code: Select all
pip install speedtest-cli
It installs to ~/.local/bin so you may need to add that to $PATH or specify the full location when running it.
More at:
https://pypi.org/project/speedtest-cli/
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 3129
Joined: 2006-08-29 09:12
Location: Melbourne, Australia


Return to Hardware

Who is online

Users browsing this forum: No registered users and 20 guests

fashionable