Transfer speed halved after upgrading to Fangtooth

I upgraded to Fangtooth a couple of days ago, and I just started to transfer some files, and I see transfer speed is more than halved.

I am transferring from NVMe drive to a pool of HDDs over a 2.5gb port. I’m getting ~120MB/s where before I was getting ~280MB/s.

Any ideas?

Which version was running before the upgrade?

Who is the manufacturer and what is the model number of your 2.5G ethernet adapter?

1 Like

I had the latest ElectricEel, and my NIC is Realtek RTL8125.

I just checked and firmware is quite old… I didn’t think to update it when I installed the NIC. I will do that and report back.

People with that model reported issues, but it either worked fine or not at all. There are different revisions of that NIC out there. The driver in the Linux kernel is not as good as the Intel drivers.

If you have another, Intel NIC at hand, give that a try. If the speed is the same it’s not the NIC. If it improved it’s the NIC.

1 Like

I actually have a couple of X540-T2 I wanted to plug in to my PC and server… Maybe it’s a good opportunity.

Before I do that - do you reckon I should try upgrading the firmware of the RTL8125? I haven’t done that yet.

I’m also wary of IP changing when plugging in and out the NICs. Is there a way to better manage that?

That is a great card, I would definitely try that first. I do not think the Realtek card worth any of your time to be honest :grinning_face_with_smiling_eyes: And besides… What if the firmware upgrade introduces other issues or bricks the card?

Regarding the changing IP address, here is my experience. I replaced my NIC from Realtek to Intel not so long ago. I did use the same PCI-E slot. Unplug old card, plugin new card. The configuration was restored, good and working. So I think the config is mapped to the PCI-E path of the device.

Now in your case with the X540-T2, that card has 2 NICs, so you probably have to reconfigure it. It will appear as two separate PCI-E devices.

1 Like

Oh that’s neat. I’m glad to hear that. I would have to delay my meddling with the system to tomorrow. I also found out the source of my problem, probably - Fangtooth uses the default r8169 driver instead of a compatible driver for the RTL8125. That’s no good. Probably derives from the Linux kernel upgrade.

I appreciate the knowledge and help, and I would be glad to have your assistance further when I progress on the matter.

1 Like

Ok, so I just switched to the X540-T2 and plugged in to the 10gb port on the switch. Still ~120 MB/s.

iperf3 test gives:

[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 126 MBytes 1.05 Gbits/sec
[ 5] 1.00-2.00 sec 123 MBytes 1.04 Gbits/sec
[ 5] 2.00-3.00 sec 124 MBytes 1.04 Gbits/sec
[ 5] 3.00-4.00 sec 124 MBytes 1.04 Gbits/sec
[ 5] 4.00-5.00 sec 124 MBytes 1.04 Gbits/sec
[ 5] 5.00-6.00 sec 124 MBytes 1.04 Gbits/sec
[ 5] 6.00-7.00 sec 124 MBytes 1.04 Gbits/sec
[ 5] 7.00-8.00 sec 124 MBytes 1.04 Gbits/sec
[ 5] 8.00-9.00 sec 124 MBytes 1.04 Gbits/sec
[ 5] 9.00-10.00 sec 124 MBytes 1.04 Gbits/sec


[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.00 sec 1.21 GBytes 1.04 Gbits/sec sender
[ 5] 0.00-10.01 sec 1.21 GBytes 1.04 Gbits/sec receiver

I can confirm the driver is ixgbe.
I can also confirm the system detects the 10000 Mb/s speed of the NIC.

I tried:

  1. Connecting NAS to 10gb port on switch, PC on 2.5gb port on switch = same transfer rate.
  2. Connecting NAS 10gb nic and pc 2.5gb nic direct with either cat5e / cat6 cable = same transfer rate
  3. Switched to Cat6 cable to 10gb port on switch = same transfer rate

Getting desperate here.

Only option I’m left with is ordering a PCIe riser for the nic (GPU is blocking current empty slot) and hope the 10gb nic on the pc solves the issue with a direct connection.

I hope I didn’t miss it, but what’s your exact hardware?

Furthermore: Please post the average output (highest 3) of [sudo] perf top while transmitting files.

1 Like

OH! I got it! I updated my PC’s NIC driver, and lo and behold - 2.20 Gb/s transfer speed from iperf3!

I also got ~230 Mb/s rate from a file transfer test.

It’s a bit lower than the ~280 Mb/s I got previously, but I don’t know if I am unhappy with what I got now. I will definitely order a riser and get the 10 Gb NIC installed on my pc as well, and probably use a direct connection for file transfer.

As for my hardware:
NAS: i5 12500, 32Gb ram, mobo is ARKTEK B760 DDR4 AK-B760M EG.
PC: Ryzen 5600X, 32Gb ram, Intel gpu, mobo is AB350M-DS3H.

While transferring a ~20gb file.

1 Like

Now, that looks reasonable. Glad you solved it.