Need some help troubleshooting 10Gbps link speed. I have 3 devices (PFSENSE, TRUENAS and WINDOWS 10 PC) all three are connected to Mikrotik CRS328 switch on the SFP+ ports using 3m DAC cables. The PFSENSE and TRUENAS has Intel x520-Da2 cards in them. The Windows 10 machine has a Asus XG-C100C card. I am doing a speed test between these machines using iperf3 and I am not getting the expected values (hoping to see around 9Gbps atleast). Can you suggest on some troubleshooting steps to identify the issue? The summary of iperf3 tests between the machines is given below
PFSENSE is not able to send receive higher than 5Gbps
Windows 10 is not able to receive greater than 1Gbps
I have identified the cause of the first issue. I am using a Intel Core i5-6500 CPU @ 3.20GHz in PFSENSE. When i run iperf3 with 1 thread, one core of the CPU reaches 98% utilization and iperf3 thruput maxes out at 5Gbps. If I run iperf3 with 4 threads then each core reaches about 80% and the iperf3 thruput reached 9.3Gbps.
So to resolve this does it mean that i have to upgrade the processor ??
I also realised in PFSENSE TCP offloading has been disabled. Can i enable TCP offloading to improve thruput ? Will it impact the functionality of PFSENSE in anyway?
I still have not been able to identify the issue why the WIN10 machine wont receive data higher than 1Gbps. I disabled the AntiVirus, but no improvement.
Maybe a stupid question. But are you sure your cable is correctly plugged in to Asus XG-C100C? Or that not two cables are connected to the PC? And if so, that your router (or Windows 10) is reporting that the connection is a 10 Gbps one?
Thanks for the response.
Yes the cable is connected to correctly and i know the card works because I am able to get near 10GB transfer rate from WIN10 PC to TRUENAS Server. It is the reverse traffic that is the problem
Assuming that the 10-pfsense, pfsense - Truenas and Truenas-pfsense are all now closer to 10g if you multi thread then it looks like something on the receive side of the Win 10 card. I realise that’s not a solution but it might help with debugging.
Maybe google “Asus XG-C100C receive buffer” or " Asus XG-C100C only 1g inbound"
on my windows 10 (also Asus XG) when I copy a 15 GB file from my unraid server to my SATA disk I get around 90 MB/s (720 Mbps). But when I copy it to my NVMe disk I get 700 MB/s (5,6 Gbps). In my case the unraid server is the problem. Maybe check your hard disk in your Windows 10 system…
Now looks like all problems solved except for WIN10 - PFSENSE. It seems stuck at 5Gpbs. Even running parallel threads makes not difference. Infact if i run parallel threads the thruput drops marginally to 4.7Gbps.
I think at this point I’d chalk that up to “strange but probably not going to actually affect anything so I’ll leave it”… You could spend days trying to work out what’s up but in reality are you ever going to need >5gbps across the pfSense box?
Couldnt agree more…definitely dont see a usecase where i can pump more than 5Gps across pfsense, but then its like that itch you cant scratch… keeps bothering me… why cant it reach that magic number…