half network speed after upgrading
-
hi guys i am having problems with my pfsense instillation after upgrading from 22.05 to 23.01 i am not sure the cause. no crashes or problems upgrading the installation but speedtest gives me 450-500Mbps vs 900-1000Mbps. running an intel 225 and chelsio 520bt.
-
I know on the beta version they have logging enabled which could slow down your network speeds. I would revert back to 22.05 until the RC version becomes available.
-
What sort of hardware is it running on? How is it connected? I wouldn't expect the debug stuff to cause that much throttling.
-
intel i3-12100 on an gigabyte motherboard. intel 225i onboard and chelsio t5-520bt in pci-e slot
-
So plenty powerful enough then!
Link states are all as expected?
Try testing locally using iperf. Or use speedtest-cli from pfSense itself. Try to narrow down which NIC(s) are throttling the connection.
Steve
-
link states are as expected i even tried manually setting them to values. the i225 is running at 2.5g and the chelsio is 1g so because the speed is limited to exactly half of 1g i am going to guess its something with the chelsio card. i don't have a second card to drop in and test though. pfblocker seems to be giving me some trouble as well after update. for some reason its taking 1-2 full cores for some tmp log. will have to report that to them
-
@high_bounce said in half network speed after upgrading:
chelsio 520bt.
That's a dual port card? Try testing between those ports if they are both internal subnets.
-
yes it is a dual port. tried changing to other port same problem
-
Right but if you test between the ports using iperf. Or between a client and pfSense running iperf itself that would show if it's the Chelsio.
-
ran iperf between my main desktop and pfsense and i get 450Mbps from pfsense but 950Mbps to pfsense. if there are other command you would like me to run please post them i haven't messed with iperf outside of speed tests
-
Ah, interesting. I'd try swapping the server and client roles so the states are opened the other way and see if that changes anything.
Make sure the Chelsio shows multiple Tx and Rx queues in the boot logs when the driver attaches. It could be using 1 CPU core in one direction for some reason. Though with that CPU i should still be OK. -
the rx/tx cues are off i have turned off hyperthreading on the cpu. that's all i see that are wrong
-
@high_bounce perhaps this is old school and things don't work this way anymore but generally the second you actually SET a speed and duplex on one side...the link goes to hell. Because it is no longer auto-negotiating properly, the other side will drop to ultra slow and half duplex.
If you set anything at all manually...you need to be hyper vigilant at setting everything manually. ... and most consumer switches and modems aren't even capable of being set manually....so guaranteed failure. -
Yeah 8 queues each way, no problem.
You could look at the off-load options that are enabled in:
ifconfig -vvvm cxl0
-
-
Hmm, I'd try disabling TSO4 and LRO as a first step there. Those are both normally disabled by default in Sys > Adv > Networking.
-
both are already checked in the Adv settings. should i try unchecking then rechecking in the UI?
-
Yes, try that. Though that may require you to reboot.
Otherwise you should be able to manually disable them using ifconfig like:
ifconfig cxl0 -tso4
Unfortunately the syntax there can be confusing and I don't have anything setup right now to check.
-
no changes with the radio buttons or ifconfig. ifconfig gets reset after reboot so maybe needs to be set in a config file
-
Disabling those options using ifconfig doesn't work? Or it doesn't make any difference to throughput?