Slow transfert nextcloud / sftp

My YunoHost server

Hardware: Computer at home
YunoHost version: 11.2.9.1
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Hi again everyone !

Description of my issue

Simple : While my internet connection is great, I get very slow file transfer, be it using nextcloud or sftp. Both give me around 10 MB/s, while my internet connection is around 500Mb/s. And this being the case even on my local network. Am I missing something ?

Thank you for you help ! :heart:

hi!

10 MB/s is acceptable if your server uses HDD and not SSD
is your server hosted on a HDD?

1 Like

Not a real answer, but there is a HUGE difference between MB/s and Mb/s, 80Mb/s = 10MB/s (or it may be the contrary).

But as you say on the local network you have a great bandwith (with Nextcloud and FTP), it may be a problem with your Internet router.

Do you mind giving us this information ?

2 Likes

I does use a SSD. But is a HDD read speed so slow :open_mouth: ? I did not know at all !

I think I am not mixing units too badly. Yes, MB != Mb, but I still miss about 85% of my bandwidth. Maybe this is normal, I would just like to understand why.

I get my numbers by :

  • Speedtest from my desktop pc (about 500Mb/s)
  • Filezilla Stats from my PC to my server (about 10 MB/s)
    both are connected to the same router

Sorry if it was not clear : I do not have great bandwidth on my local network. These numbers come from a local connection. So I am even more surprised ! Is there any way to test the speed between my server and desktop ?

Bonus question : When I connect to my server (via SSH, SFTP, HTTP, POP,etc.) from my desktop computer connected to the same router, does the traffic ever leave my local network ? Does my internet connection speed even matter ?

maybe you can test your raw bandwidth between your server and desktop using iperf3?

1 Like

Using my local IP :

[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  11.3 MBytes  95.2 Mbits/sec   19   46.7 KBytes       
[  5]   1.00-2.00   sec  11.0 MBytes  92.6 Mbits/sec   18   43.8 KBytes       
[  5]   2.00-3.00   sec  10.9 MBytes  91.7 Mbits/sec   21   55.1 KBytes       
[  5]   3.00-4.00   sec  11.1 MBytes  93.1 Mbits/sec   22   56.6 KBytes       
[  5]   4.00-5.00   sec  11.0 MBytes  92.6 Mbits/sec   23   53.7 KBytes       
[  5]   5.00-6.00   sec  11.1 MBytes  93.1 Mbits/sec   19   43.8 KBytes       
[  5]   6.00-7.00   sec  11.0 MBytes  92.1 Mbits/sec   18   49.5 KBytes       
[  5]   7.00-8.00   sec  11.1 MBytes  93.1 Mbits/sec   25   45.2 KBytes       
[  5]   8.00-9.00   sec  11.0 MBytes  92.6 Mbits/sec   16   42.4 KBytes       
[  5]   9.00-10.00  sec  11.0 MBytes  92.6 Mbits/sec   19   53.7 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   111 MBytes  92.9 Mbits/sec  200             sender
[  5]   0.00-10.05  sec   110 MBytes  92.2 Mbits/sec                  receiver

I cannot test using my domain name, despite redirecting port 5201 on my router, any idea why ?

(Thank you so much for the time you are taking for me :heart:)

Install librespeed on your server and test it

1 Like

Results are in :
Ping : 27 ms
Jitter : 2.28 ms
Download : 70.5 Mbit/s
Upload : 30 Mbit/s

It looks like your server has 100-Base T ethernet card or cable. Check your ethernet card or try changing the cable

3 Likes

:person_facepalming: I’m so stupid… I was that simple… My ethernet controller is 100-Base T… Which I guess is about 12 MB/s…

Thank you :heart:

2 Likes