You are not logged in.

#1 2021-04-02 16:54:35

wuwei
Member
Registered: 2021-01-21
Posts: 14

Home network transfer rate issue

Hi, two months ago I switched from Linux Mint 19.3 to Arch Linux with Cinnamon DE, very good distro, but I realized that in my gigabit LAN file transfer rate between the main client PC and the Home Ubuntu Server uploading a file from local to a samba shared folder with Nemo FM it’s 30-35 Mb/s less than before using Linux Mint!
With Mint I uploaded files at 70-75 Mb/s, now at 40-42Mb/s. The result of sudo ethtool eno1 is:

Settings for eno1:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
MDI-X: off (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes

and output of lspci -v is:

00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V
DeviceName: Onboard LAN
Subsystem: Gigabyte Technology Co., Ltd Device e000
Flags: bus master, fast devsel, latency 0, IRQ 30
Memory at f7800000 (32-bit, non-prefetchable) [size=128K]
Memory at f783a000 (32-bit, non-prefetchable) [size=4K]
I/O ports at f080 [size=32]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [e0] PCI Advanced Features
Kernel driver in use: e1000e
Kernel modules: e1000e

It seems that the ethernet controller is apparently set well, the speed parameter is 1000 Mb/s and duplex = full. So, I’ve looking for a workaround or a fix in the net, in this Forum, but nothing useful.

Someone recommends a switch to the LTS kernel, so I’ve tried the LTS kernel version 5.10, but same problem.
With a Manjaro Cinnamon Live and kernel 5.9 the speed rate it's what I expect, about 75 Mb/s.
Note that I have the same issue in another PC with Arch Linux, kernel LTS 5.10 and a Gigabit Realtek LAN controller.

I would be very grateful if someone could give me some advice on how to solve this problem or even suggest some resources where to look for a possible fix.
I often upload quite large files to my home server and so the slower transfer rate significantly increases waiting times!
Thanks!

Last edited by wuwei (2021-04-03 06:39:51)

Offline

#2 2021-04-02 17:13:44

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: Home network transfer rate issue

Maybe you need to increase packet size from the default 1500. Try to set MTU to 9000, that should speed up things: https://wiki.archlinux.org/index.php/Jumbo_frames

Offline

#3 2021-04-02 18:34:22

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Home network transfer rate issue

Please pay attention to the "Requirements" section and see eg. http://www.snailbook.com/faq/mtu-mismatch.auto.html
Also, sanity check:

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

Offline

#4 2021-04-02 19:22:50

wuwei
Member
Registered: 2021-01-21
Posts: 14

Re: Home network transfer rate issue

In my NetworkManager I've tried to set MTU at 9000, but the transfer rate still remains at 40-45 Mb/s, no luck :-(

I've also tried this command:
ping -M do -s 8972 192.168.1.1

but no response...if I interrupt the command the result is:
^C
--- 192.168.1.1 ping statistics ---
46 packets transmitted, 0 received, 100% packet loss, time 45604ms

Offline

#5 2021-04-02 19:38:20

wuwei
Member
Registered: 2021-01-21
Posts: 14

Re: Home network transfer rate issue

The command suggested by seth:
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

reports:

bluetooth.service                        | bluetooth.target.wants
cronie.service                           | multi-user.target.wants
cups.path                                | multi-user.target.wants
cups.service                             | printer.target.wants
cups.socket                              | sockets.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.nm-dispatcher.service | system
dirmngr.socket                           | sockets.target.wants
display-manager.service                  | system
fstrim.timer                             | timers.target.wants
getty@tty1.service                       | getty.target.wants
gpg-agent-browser.socket                 | sockets.target.wants
gpg-agent-extra.socket                   | sockets.target.wants
gpg-agent.socket                         | sockets.target.wants
gpg-agent-ssh.socket                     | sockets.target.wants
lm_sensors.service                       | multi-user.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
paccache.timer                           | timers.target.wants
pamac-cleancache.timer                   | timers.target.wants
pipewire.socket                          | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
smb.service                              | multi-user.target.wants
teamviewerd.service                      | multi-user.target.wants
xdg-user-dirs-update.service             | default.target.wants

About requirements in Jumbo frames, I have 1000baseT clients and router, I've tested JFs support with command:
ping -M do -s 8972 192.168.1.1

but no answer from my home server.

Last edited by wuwei (2021-04-02 21:03:28)

Offline

#6 2021-04-02 19:56:33

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Home network transfer rate issue

Please wrap the output in code tags, https://bbs.archlinux.org/help.php#bbcode

There's only NM, which is good.

How exactly do you measure the speed?
Browser speedtest?
https://linhost.info/2013/10/download-test-files/

LAN only, but please still elaborate on the used protocol and client.

Last edited by seth (2021-04-02 20:00:23)

Offline

#7 2021-04-02 20:08:58

wuwei
Member
Registered: 2021-01-21
Posts: 14

Re: Home network transfer rate issue

The transfer rate is that I see when I copy a file in my file manager Nemo, not with a specific command.

Speed Rate

to be more precise, I am uploading (as an example) a local file to a shared samba folder in my ubuntu server.
Also re-checked with Manjaro Cinnamon Live and kernel 5.9, MTU for the eno1 is 1500,  the speed rate 82 Mb/s. The only difference that it's using a 5.9.11 kernel.

Last edited by wuwei (2021-04-02 20:23:32)

Offline

#8 2021-04-03 06:01:30

wuwei
Member
Registered: 2021-01-21
Posts: 14

Re: Home network transfer rate issue

It seems that my suspicions are founded, it is not an MTU related issue or other, The culprit seems to be the kernel version, specifically from version 5.10 and latest version 5.11.
The picture demonstrates the issue.
It would be useful to communicate the problem to the kernel developers?!? ;-)

https://i.imgur.com/PWbf8LT.png

Last edited by wuwei (2021-04-03 10:20:52)

Offline

#9 2021-04-03 07:42:47

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Home network transfer rate issue

Please replace the oversized image w/ a link (the board has a 200x200 max rule) and try to download a file w/ wget via http or ftp (lighttpd & vsftpd will do) to rule out client, encryption & protocol.
Seeing the same effect on an intel and realtek chip would rule out hardware and device driver and point to a higher element in the network stack (eg. tcp) what should™ affect everyone.

Offline

#10 2021-04-03 10:39:29

wuwei
Member
Registered: 2021-01-21
Posts: 14

Re: Home network transfer rate issue

I don't want to "download" a file (should i go to the server and download the file from there?), I want to upload one or more files via the file manager Nemo, using its functionality.
I don't understand the implication of wget or ftp.

If there's no fix for this issue at the moment I make up my mind, but I really don't understand why something that works with a older kernel shouldn't work in a later version, that's all.
I'm trying to point out that probably something with the 5.10 and 5.11 kernels has changed for the worse.
Anyway thanks for your support.

Offline

#11 2021-04-03 10:39:43

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Home network transfer rate issue

wuwei wrote:

It seems that my suspicions are founded, it is not an MTU related issue or other, The culprit seems to be the kernel version, specifically from version 5.10 and latest version 5.11.
The picture demonstrates the issue.
It would be useful to communicate the problem to the kernel developers?!? ;-)

https://i.imgur.com/PWbf8LT.png

Your screenshots shows that you are using Manjaro, no Arch. These forums are for Arch Linux support only. Please address issues with Manjaro to the Manjaro community.

Closing for deletion.

Edit
I'm re-opening the topic to ask for clarification. Is that or is that not a screenshot of your system information?

Last edited by Xyne (2021-04-03 10:54:41)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#12 2021-04-03 10:58:50

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Home network transfer rate issue

You probably didn't *only* update the kernel on manjaro and even iff, we'd still not know where the problem is inside the kernel (notably whether it's cifs related)
=> I want you to take nemo and samba/cifs out of the equation to isolate the source of the problem.
Therefore run an ftp or http server on one of the systems and download from there w/ wget or curl

Offline

#13 2021-04-03 13:04:56

wuwei
Member
Registered: 2021-01-21
Posts: 14

Re: Home network transfer rate issue

Thanks a lot Seth for your kind replies.
Indeed, with all the modesty and admitting that I am an Arch Linux newbie, but not a newbie about Linux in general, mine was a try to suggest a point of start due to a simple practical observation for my problem.
Of course it is definitely not a kernel fault, I only suppose so comparing different kernel versions.
I gave some indications born from simple tests to try to understand the problem and be somehow useful to the community, not just only solve my specific problem.
Anyway, I will try curl or wget from server side and as you suggest isolate a potentially samba/cifs issue related to newer kernels.
That's all, thank you again for attention, hoping that some patch will fix my problem.

Offline

Board footer

Powered by FluxBB