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

    Home page traffic graph shows ~half the correct number?

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 3 Posters 730 Views
    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.
    • A
      artenpie
      last edited by

      pfSense CE 2.7.2 on APU4. When running a speed test, the traffic graph on the home page is displaying roughly half the correct number. For example, on a WAN download test, Ookla says 315 Mbps, pfSense shows a little over 150 Mbps. Same test, same hardware, OpenWRT's graphs show correct numbers.

      I assume I'm missing something, or is this a bug?

      pfSense Speedtest done.JPG
      OpenWRT Speedtest done.JPG

      1 Reply Last reply Reply Quote 0
      • A
        artenpie
        last edited by

        Replying to myself, I discovered that if I turn "Inverse" off for the graph (under the wrench icon), I get the correct numbers.

        pfSense Speedtest Inverse off.JPG

        And if I turn "Inverse" back on again, I still get the right numbers.

        pfSense Speedtest Inverse on.JPG

        I guess changing the "Inverse" setting reinitialized some parameter somewhere in the code. Regardless, looks okay here now.

        G 1 Reply Last reply Reply Quote 0
        • G
          Gblenn @artenpie
          last edited by

          @artenpie Have you tried leaving the webpage, by clicking another page and then returning to see if you don't get half again?

          https://forum.netgate.com/topic/178542/traffic-graph-shows-half-actual-throughput-in-some-scenarios

          It's being addressed and looking at the comments in redmine, it shouldn't be too long now...

          A 1 Reply Last reply Reply Quote 0
          • A
            artenpie @Gblenn
            last edited by

            @Gblenn - Thank you for that response! I discovered that the problem returned after I had logged off and came back to test again later, so I was about to post yet another reply to myself. (I did a search on the topic, but didn't see the post you provided. Thanks for that.) Cheers!

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by stephenw10

              Hmm, yup there have been several bugs in the past resulting in double or half the traffic shown. I thought they were fixed in 2.7.2 but apparently not.

              Do you see that in the traffic graphs widget on the dashboard and in Status > Traffic Graphs?

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Ah there is one still open: https://redmine.pfsense.org/issues/14933

                There's a patch for it on there you can test.

                G 1 Reply Last reply Reply Quote 0
                • G
                  Gblenn @stephenw10
                  last edited by

                  @stephenw10 Never applied a patch like that, only the recommended system patches.

                  I pasted the link address and did "fetch", and it looks like this now :

                  4f6912f5-cc20-42c8-8ecb-b363e04dd5ab-image.png

                  After changing the path strip count to 1, I get the Apply button...

                  17ecb2ad-3526-4d40-ba90-ca93677cdccc-image.png

                  Am I safe to click Apply?? Or is there a way to a test run, without implementing?

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    There isn't but I tested it here just now and nothing blew up. 😉

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      Gblenn @stephenw10
                      last edited by

                      @stephenw10 Ok, then I guess it should be safe to try.

                      I did just now notice the very latest comment from Danilo, that path strip = 0 should be set...

                      87d518ef-d8a2-4deb-a45a-41c80ae25e78-image.png

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Hmm, with the wrong path strip set I wouldn't expect it to apply at all.

                        G 1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          It does apply with either 1 or 0 set though. 0 is correct the patch does not have any leading path that needs to be stripped.

                          1 Reply Last reply Reply Quote 0
                          • G
                            Gblenn @stephenw10
                            last edited by

                            @stephenw10 I discovered that before clicking Apply, so I only tried with it set to 0.

                            But anyway, the patch seem to work and I'm now seeing a correct graph also when returning to the page...

                            A 1 Reply Last reply Reply Quote 1
                            • A
                              artenpie @Gblenn
                              last edited by

                              @Gblenn The patch seems to be working here, as well. Thanks to you and @stephenw10 for your help. Much appreciated.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.