Very slow internet speed
I've moved my ISP to Comcast to get a faster speed - 1Gbps, bridged the modem and connected my pfSense box to it. All good but the speed.
Via pfSense I get about 150 Mbps, connecting a laptop straight to the modem, I get 800 - 900 Mbps. As I've not yet disconnected the old ISP, I switched the WAN to that modem and got 90 Mbps, wish is fine as it is a 100Mbps service.
I suppose it is a configuration problem, as I use pf on my son's with the Comcast 1Gbps plan and he gets 600 - 700 Mbps on ookla tests.
If someone can help me solving this problem I'd appreciate.
Here's some information about the box:
dmesg | grep Intel CPU: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz (2533.48-MHz K8-class CPU) Origin="GenuineIntel" Id=0x206c2 Family=0x6 Model=0x2c Stepping=2 igb0: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xe880-0xe89f mem 0xfac60000-0xfac7ffff,0xfac40000-0xfac5ffff,0xfac98000-0xfac9bfff irq 16 at device 0.0 on pci1 igb1: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xec00-0xec1f mem 0xface0000-0xfacfffff,0xfacc0000-0xfacdffff,0xfac9c000-0xfac9ffff irq 17 at device 0.1 on pci1 igb2: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> mem 0xfad80000-0xfadfffff,0xfaf70000-0xfaf73fff irq 16 at device 0.0 on pci3 igb3: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> mem 0xfae00000-0xfae7ffff,0xfaf74000-0xfaf77fff irq 17 at device 0.1 on pci3 igb4: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> mem 0xfae80000-0xfaefffff,0xfaf78000-0xfaf7bfff irq 18 at device 0.2 on pci3 igb5: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> mem 0xfaf80000-0xfaffffff,0xfaf7c000-0xfaf7ffff irq 19 at device 0.3 on pci3
Version 2.4.5-RELEASE (amd64) built on Tue Mar 24 15:25:50 EDT 2020 FreeBSD 11.3-STABLE The system is on the latest version. Version information updated at Sun Apr 19 11:57:19 EST 2020 CPU Type Intel(R) Xeon(R) CPU E5630 @ 2.53GHz Current: 2533 MHz, Max: 2534 MHz 16 CPUs: 2 package(s) x 4 core(s) x 2 hardware threads AES-NI CPU Crypto: Yes (active) Hardware crypto AES-CBC,AES-XTS,AES-GCM,AES-ICM
Thanks in advance!
And by the way, followed: this tutorial
and using this on my /boot/loader.conf.local:
kern.ipc.nmbclusters="1000000" net.inet.tcp.tso=0 hw.igb.fc_setting=0
Solved. Hardware related.
So what was the problem?
Unsure. That server is a tween server. On the left side ESXi is installed and the right side was not in use, so got pfSense there as needed several NICs for this setup. I think it could be CPU temps getting too high, as every time I saw pfSense showing them in yellow my network was slow. Interesting is that the other motherboard with the same pair of xeons and 24GB running ESXi 24/7, never had a problem.
I can't run tests with that configuration anymore and I didn't get any others suggestions here or on the other two forums I've posted, so replaced the entire box with a spare i5 desktop and it is running very well.