Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian 10 Upload speed issue

Need help with peripherals or devices?
Post Reply
Message
Author
User avatar
RebelCoder
Posts: 15
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Debian 10 Upload speed issue

#1 Post by RebelCoder »

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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Debian 10 Upload speed issue

#2 Post by Head_on_a_Stick »

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
deadbang

User avatar
RebelCoder
Posts: 15
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Re: Debian 10 Upload speed issue

#3 Post by RebelCoder »

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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Debian 10 Upload speed issue

#4 Post by Head_on_a_Stick »

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:
deadbang

User avatar
RebelCoder
Posts: 15
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Re: Debian 10 Upload speed issue

#5 Post by RebelCoder »

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.

cuckooflew
Posts: 677
Joined: 2018-05-10 19:34
Location: Some where out west
Been thanked: 1 time

Re: Debian 10 Upload speed issue

#6 Post by cuckooflew »

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/art ... -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"
and
Just say NO to help vampires!

cuckooflew
Posts: 677
Joined: 2018-05-10 19:34
Location: Some where out west
Been thanked: 1 time

Re: Debian 10 Upload speed issue

#7 Post by cuckooflew »

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/troubl ... ork-linux/
==========================================================
https://www.howtoforge.com/tutorial/how ... -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"
and
Just say NO to help vampires!

User avatar
RebelCoder
Posts: 15
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Re: Debian 10 Upload speed issue

#8 Post by RebelCoder »

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
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Debian 10 Upload speed issue

#9 Post by sunrat »

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!

Post Reply