pfSense 2.6.0 High latency and packet loss.
-
-
-
@gerard64 Yeah from everything I can tell, that's a Puma 6 modem:
-
Yup 600ms is still very high. That's above the default 500ms that pfSense uses for gateway monitoring to indicate the gateway is down.
If you're seeing that with a laptop on the modem directly pfSense isn't going to be able to improve that much. FQ-Codel can only do so much.
However you should either set the gateway monitoring latency value to something much higher or disable monitoring for now. That will prevent pfSense restarting services repeatedly which is probably what was causing the extreme latency you saw earlier.Steve
-
@TheNarc Interesting. I am going to communicate that with my provider maybe they have a fix or i can get a other modem. I still have to read all the links in your reply but wanted to thank you first for this information. Thank you!
@stephenw10 Very helpful information. I wasn't aware of pfSense used the gateway latency to restart surten services wen it is above 500ms. That explains a lot. And nice new information about the behavior of pfSense i didn't know. Thank you!
-
-
@stephenw10 This is very helpful for me. Why didn't i think of this
Thank you again! -
I contacted my ISP and we talked about the know modem latency problems. They are sending me a other (Ubee) modem to test. So fingers crossed this Ubee modem works better
-
@gerard64 Great news! I'll be very surprised if that does not fix it. Those Puma 6 modems were a rather large scandal, largely because ISPs have not been proactive about replacing them (from what I can tell they usually only will when people complain, even though they know that they're fundamentally flawed). Good luck!
-
@thenarc yeah I noticed that i had to write and prove several times what the problems exactly was. After i posted your story about the known puma chipset latency problems a other community user pointed out to trade my modem for a Ubee type. This morning a ziggo worker confirmed the problem and offered to send me a Ubee modem. Tomorrow or the day after tomorrow i will receive the new modem. I will let you know how it goes.
-
Yessterday i recieved the new UBEE modem (UBC1318ZG).
I tested it right away. Ping peaks were still as high as before ~ 650-1000ms.A ziggo community user suggested to test again with a computer connected directly to the modem. Today i did that and ping times are way lower ipv4 was ~ 45ms and ipv6 102ms.
Then I connected the modem to my pfSense devide again and run two ping test from the pfsense device with wan source and ipv4 gateway and ipv6 from the isp. Ping was high again. so it is save to say i think this high ping is the pfsense wan problem.
Al tests are don't while running a dslreports.com/speedtest.
My pfSense device has 4x Intel i225 B3 2.5 mbps Interfaces.
Do you guys have idea's what could be the problem?
Are the network interfaces settings below correct?
-
@gerard64 Sorry to hear it, I was optimistic about the modem being the problem. Your settings look good as far as I'm aware. I don't have any experience with the Intel i225 NICs on pfsense but as luck would have it I have hardware on the way intended to replace an aging pfsense machine of mine. So I might have a point of comparison at some point, but it could still be a while before it arrives. I apologize but I don't have any other immediate ideas for diagnosis, but if I think of anything I'll certainly let you know.
-
@thenarc Well the modem seems to work well ping times are way lower wen i connect a pc directly onto it but with the modem connected to the pfSense wan ping times are high again.
That would be interesting to know how your new hardware will work out at your place with the i225 nic(s).
Thank you for your help this far.
-
@thenarc btw somebody suggested to uncheck all the offload options reboot en test again. I did that few minutes ago but ping times still high around 850ms.
-
To be cleat the 45 and 102ms latency you saw was pinging from a laptop dircetly connected to the modem to the ISPs gateway IPs?
If so that's still very high. 102ms is about what I see over a VPN from London to Austin!Steve
-
Yes laptop directly connected to the modem.
45 and 102 milliseconds still high oke thanks, good to know.I am used to peaks of > 650 ms.
Then 45 and 102 sound a lot less.Still big difference between pfSense and laptop directly onto the modem.
Wen i ping from pfsense with source wan to the isp gateway while doing a speedtest on dslreports.com ping peaks to ~ 1000ms.
I unchecked all the offloading in pfSense rebooted.
Test again no change -
Are all of those whilst running a speedtest?
You would expect to see higher ping times when the line is congested without any shaping to prevent that.
Have you tried running a buffer-bloat test?
-
@stephenw10
yes all ping tests I do are with dslreports.com/speedtest runningon dslreports bufferbloat is a D
on https://www.waveform.com/tools/bufferbloat:
3th bufferbloat test:
-
@stephenw10
Wen i setup the codel limiters like it is explained in the docs.
and then test it with a speedtest the wan stopts working all together i can't reach anything anymore on the Internet. -
Do you see that same level of buffer-bloat with the laptop just connected to the modem?
That's a pretty bad connection if so.