Max Speed 10mb/s over 2.5G Lan

Hello.
I installed TrueNAS Scale on my server, which has two 2.5GbE Intel i226-V ports and one 2.5GbE RTL8125BG. I only use the Intel ports. I have one directly connected to the network and the second with a 2.5G USB network adapter, which, after testing with another system, also supports 2.5G. But for some reason, I only get around 10-11 mb/s over my network and directly connected. My Linux computer shows that the connection is only 100 mb/s. Is this due to TrueNAS or the hardware?

169.254.100.7 is the 2.5G direct LAN connection.
192.168.2.120 is on the 1G switch in the network.

john@john-desktop ~> iperf3 -c 169.254.100.7
Connecting to host 169.254.100.7, port 5201
[  5] local 169.254.100.6 port 52104 connected to 169.254.100.7 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  11.9 MBytes  99.5 Mbits/sec    0    158 KBytes       
[  5]   1.00-2.00   sec  11.2 MBytes  94.4 Mbits/sec    0    158 KBytes       
[  5]   2.00-3.00   sec  11.2 MBytes  94.3 Mbits/sec    0    158 KBytes       
[  5]   3.00-4.00   sec  11.2 MBytes  94.3 Mbits/sec    0    158 KBytes       
[  5]   4.00-5.00   sec  11.2 MBytes  94.4 Mbits/sec    0    158 KBytes       
[  5]   5.00-6.00   sec  11.2 MBytes  94.3 Mbits/sec    0    158 KBytes       
[  5]   6.00-7.00   sec  11.2 MBytes  94.4 Mbits/sec    0    158 KBytes       
[  5]   7.00-8.00   sec  11.2 MBytes  94.3 Mbits/sec    0    158 KBytes       
[  5]   8.00-9.00   sec  10.9 MBytes  91.2 Mbits/sec    0    158 KBytes       
[  5]   9.00-10.00  sec  11.2 MBytes  94.3 Mbits/sec    0    158 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   113 MBytes  94.6 Mbits/sec    0             sender
[  5]   0.00-10.01  sec   112 MBytes  94.1 Mbits/sec                  receiver

iperf Done.
john@john-desktop ~> iperf3 -c 192.168.2.120
Connecting to host 192.168.2.120, port 5201
[  5] local 192.168.2.46 port 39584 connected to 192.168.2.120 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  11.6 MBytes  97.4 Mbits/sec    0    100 KBytes       
[  5]   1.00-2.00   sec  11.4 MBytes  95.5 Mbits/sec    0    112 KBytes       
[  5]   2.00-3.00   sec  11.1 MBytes  93.3 Mbits/sec    0    112 KBytes       
[  5]   3.00-4.00   sec  11.2 MBytes  94.4 Mbits/sec    0    112 KBytes       
[  5]   4.00-5.00   sec  11.1 MBytes  93.3 Mbits/sec    0    112 KBytes       
[  5]   5.00-6.00   sec  11.4 MBytes  95.4 Mbits/sec    0    112 KBytes       
[  5]   6.00-7.00   sec  11.1 MBytes  93.3 Mbits/sec    0    112 KBytes       
[  5]   7.00-8.00   sec  11.2 MBytes  94.4 Mbits/sec    0    112 KBytes       
[  5]   8.00-9.00   sec  11.1 MBytes  93.3 Mbits/sec    0    112 KBytes       
[  5]   9.00-10.00  sec  11.4 MBytes  95.5 Mbits/sec    0    112 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   113 MBytes  94.6 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   112 MBytes  94.1 Mbits/sec                  receiver

iperf Done.

What is the negotiated speed?
It should say what the media subtype is on the TrueNAS dashboard.

It looks like it may be 100baseT.

2 Likes

As I said, my computer says it’s only 100baseT. And I don’t see any way to adjust this in the TrueNAS web interface.

How can I add a screenshot? I just get the message that media integration isn’t possible.

https:// imgur. com /a/jjjnpQ3

hope this will work.

You should have a forum message from when you created your account detailing how to increase your trust level such that you can post images.

The image you linked to shows the network tab, not the dashboard. Please post the dashboard.

If your computer specifically claims 100baseT then TrueNAS will likely echo this. This is not something a healthy configuration should ever need to manually override.

Which leads me to possible causes:

  • Try a different cable, one you know is capable of 1GbE because you’ve tested it successfully elsewhere.
  • Verify that the switch port you’re using is actually 1GbE. There are plenty of switches with mixed speed ports, where some are 100Mbit and some are 1000Mbit.
  • If it’s a managed switch, verify what the switch thinks of both related links, is one of them 100baseT and the other not?
  • It could possibly be a faulty port (on either side) or NIC.
  • It’s worth connecting the computer directly to the server and verify link speed in that scenario.
  • For now, disconnect the 2.GbE adapter from the server, the presence of that will only make troubleshooting more difficult. Test with only a single port on the server connected to anything.

I have had issues with Mikrotik switches not auto-negotiating nicely with TrueNAS, necessitating manual hardware settings. Usually, this was for SFP+ capable ports operating at lower speeds like 1GbE. So I would start from scratch and verify every link in the chain, if you can.

If that is not possible, simplify. Connect the computer and the NAS directly to each other, with a known-good cable. Ideally, a cable that you just tested with a cable tester you can trust. Call me paranoid, but a cable tester that worked for me for the last 15 years just went bad on me, but only for longer cables. Still works great for short stuff.

As you test every link, the one operating at 100MbE will become pretty apparent. These days, it’s usually a bad cable where one conductor has failed and hence not all 4 pairs are operating. That will cause fallback to 100MbE, aka Fast Ethernet.

1 Like

That said, some of the TrueNAS 2.5GbE drivers have been identified as problematic. I thought the TrueNAS team addressed most of these issues, but I’d look up the specific hardware in the forums to confirm same.

  1. You are not getting 10Mbits/s - you are getting 10MBytes/s or almost 100Mbits/s.

  2. The transfer speed you will get will be the minimum of each of the network connections between source and destination.

  3. The speed of each connection depends not only on the maximum speeds of the ports at both ends of the connection, but also the cable quality and length joining them - and for wired connections it is negotiated when the connection is first made, and for wifi connections it varies.

  4. Wifi connections are shared, so you get contention between wifi devices.

Thus you need to query the interfaces at one end of each connection in order to establish the negotiated speed for that connection and then take the minimum of these.

Here is an example from Windows (my NAS is broken and I am waiting for replacement hardware to arrive - so I can’t do a screen shot of TrueNAS or Linux):

1 Like

Okay, the solution to the problem was to change the cable. I was using a Cat5 flat cable, and the speed was poor. But now, with a different “normal” cable, I’m getting 2.5G.

I also changed the cable on my computer, and long and behold, I now have more than 10 Mbps there too.

But thank you all for your help. Sometimes you just don’t see the real problem.

3 Likes