Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Latency in Browsers

    General pfSense Questions
    7
    19
    1315
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      ndickens last edited by

      Good Morning
      I'm new to pfsense and have gotten it up and working great very pleased with what i see, the problem that I'm having is when I do a Speedtest from the browser the latency is like 500 and webpages load slower than before. If I do the test from a command prompt its fine pings are like 30's was wondering what I need to do to fix this I have searched forums but haven't found a answer.

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned last edited by

        Are you having some real problem beyond speedtest.net?

        1 Reply Last reply Reply Quote 0
        • N
          ndickens last edited by

          If i check the speed anywhere using browser then its same pings are 500 or better I'm getting my 66mb down and 4 up every time just pings are terrible and web pages loader slower than before and no the pings are not right cause if I do it from command prompt they are fine.

          1 Reply Last reply Reply Quote 0
          • johnpoz
            johnpoz LAYER 8 Global Moderator last edited by

            How exactly does it do the ping portion of the test, because a simple sniff on the machine doing a speedtest did not show any icmp packets..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 23.01 | Lab VMs CE 2.6, 2.7

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned last edited by

              Well it does not ping at all - it's TCP/HTTP ("webping")… The comparison makes no sense.

              1 Reply Last reply Reply Quote 0
              • johnpoz
                johnpoz LAYER 8 Global Moderator last edited by

                Which is my point.. trying to compare that to pings he does from cmd line that would be icmp has nothing do with anything…

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 23.01 | Lab VMs CE 2.6, 2.7

                1 Reply Last reply Reply Quote 0
                • N
                  ndickens last edited by

                  Ok here is what I'm talking about

                  Test is using same ip as the first test this is just 2 test have done on multiple browsers and different sites have same issues, now if I take pfsense down and put my old router supplied by charter back in then test 1 will have a normal ping. This also is causing browsers to load slower than before. I know that seems to be only a issue in the browser and I know that the 2 test would be no comparison but  why is it high in browser running pfsense verse its not on old router. It's not that this is causing me any major problems but would like to fix the issue.

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned last edited by

                    We already told you that comparing ICMP ping with what speedtest.net or another webping site tests makes totally no sense.

                    1 Reply Last reply Reply Quote 0
                    • N
                      ndickens last edited by

                      Yea I said I understand that but point I was trying to make is that the web test works fine on old setup but using pfsense for my router and dhcp server it does not and I was trying to figure out why.

                      1 Reply Last reply Reply Quote 0
                      • N
                        Nullity last edited by

                        Go find a packet sniffer, or simply a traffic monitor, and spend some time to learn how to use them.

                        Although "feeling" like something is slow is perfectly valid, you should get some solid data so you can know what you can actually do to improve your situation. I recently made this mistake myself. Actually solving problems, compared to feeling like I have solved problems, is such a pain in the ass…

                        Please correct any obvious misinformation in my posts.
                        -Not a professional; an arrogant ignoramous.

                        1 Reply Last reply Reply Quote 0
                        • H
                          heper last edited by

                          you could try to change your clients dns servers to something else … like 8.8.8.8 / 8.8.4.4

                          if that fixes it, then you are having a dns issue somewhere, are you running resolver or forwarder  on pfsense? what version of pf are you running?

                          1 Reply Last reply Reply Quote 0
                          • N
                            ndickens last edited by

                            I'm running the latest version of pfsense I tried changing the dns that did not work neither I'm running pfsense with the default set up no forwarders or resolvers

                            1 Reply Last reply Reply Quote 0
                            • H
                              heper last edited by

                              the default setup uses either resolver or forwarder, depending on the version …. it will never use "none" by default

                              1 Reply Last reply Reply Quote 0
                              • N
                                ndickens last edited by

                                Sry resolver is running didn't notice before.

                                1 Reply Last reply Reply Quote 0
                                • KOM
                                  KOM last edited by

                                  DNS isn't going to factor into this.  It's only hitting the one site and the IP is cached.

                                  I generally don't trust those speed testers.  If you want to test your speed, download a file of known size and do the math.  For example, CacheFly has a number of test files ranging from 10MB to 100MB+ that you can download.  Here is a page that links to several test files:

                                  http://linhost.info/2013/10/download-test-files/

                                  1 Reply Last reply Reply Quote 0
                                  • johnpoz
                                    johnpoz LAYER 8 Global Moderator last edited by

                                    are you using proxy in pfsense?  Any other packages?

                                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                                    If you get confused: Listen to the Music Play
                                    Please don't Chat/PM me for help, unless mod related
                                    SG-4860 23.01 | Lab VMs CE 2.6, 2.7

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      ndickens last edited by

                                      No not using any proxy and no other Packages yet I want to use squid but have not installed it yet.

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        Jambro1964 last edited by

                                        Also realize that the browser is at the top or Application Layer of the OSI networking layers and the command line is 4 closer to the hardware layer at the Transport layer. So you can get slower "Ping" at the top layer.
                                        http://en.wikipedia.org/wiki/OSI_model
                                        Also try ipconfig /flushdns to clear the DNS cache and try pinging the server name in the command line. I have seen DNS resolution be a large part of latency issues.

                                        Jim

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          ndickens last edited by

                                          I found the issue with Pings reading 500 using a speed test and Webpages loading slow prb was IP Do-Not-Fragment compatibility in Firewall advanced section checked Clear invalid DF bits and resolved the issue thanks for your help.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post