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

    diagnose stuttering performance

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 3 Posters 2.4k 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.
    • Raffi_R
      Raffi_
      last edited by

      Is this happening from one pc or multiple? Are all devices having the issue connected to the same L2 switch? I see two empty interfaces on pfSense. Connect directly to one those when the problems are occuring. It might help rule out/in all the VLAN stuff.

      Check the most obvious stuff. Status > Monitoring, does the quality graph show any issues such as excessive packet loss or delay? I remember a while back seeing a case when my WAN went down my access to pfSense webgui was slower.

      1 Reply Last reply Reply Quote 0
      • M
        meem
        last edited by

        Yes, it's happening on multiple devices.

        And yes, all devices are connected via the same L2 switch (wired and wireless). The L2 switch is new (bought to enable my switch to VLANs). I feel like it was initially fine, but I definitely can't rule out the switch.

        What makes it hard to diagnose or test (e.g using other NICs) is that, it clears up within 10-20 seconds. I would need to have something running over a long period of time and see if it was affected... perhaps a continious ping against something like google.com or bbc.com?

        What are some valid tests that I can run in order to pinpoint the issue? I can deploy raspberry pi's on multiple vlans if necessary

        Raffi_R 1 Reply Last reply Reply Quote 0
        • AKEGECA
          AKEGEC
          last edited by

          @meem , Try to change firewall maximum table entries to 2000000. Go to system > Advanced > Firewall&Nat >

          M 1 Reply Last reply Reply Quote 0
          • Raffi_R
            Raffi_ @meem
            last edited by Raffi_

            @meem said in diagnose stuttering performance:

            I would need to have something running over a long period of time and see if it was affected... perhaps a continious ping against something like google.com or bbc.com?

            There is a built in tool which already does that for you. Status > Monitoring. Change the left axis to quality, set the right axis to none. That is showing the status of a continuous ping to your default gateway over time

            1 Reply Last reply Reply Quote 0
            • Raffi_R
              Raffi_
              last edited by

              What type of NICs do you have?

              1 Reply Last reply Reply Quote 0
              • M
                meem @AKEGEC
                last edited by

                @AKEGEC said in diagnose stuttering performance:

                @meem , Try to change firewall maximum table entries to 2000000. Go to system > Advanced > Firewall&Nat >

                Thanks- i've made that change.

                @Raffi_ said in diagnose stuttering performance:

                @meem said in diagnose stuttering performance:

                I would need to have something running over a long period of time and see if it was affected... perhaps a continious ping against something like google.com or bbc.com?

                There is a built in tool which already does that for you. Status > Monitoring. Change the left axis to quality, set the right axis to none. That is showing the status of a continuous ping to your default gateway over time

                https://i.ibb.co/gJJS1rk/Capture.jpg

                @Raffi_ said in diagnose stuttering performance:

                What type of NICs do you have?

                Well, I thought they were realtek..

                [2.4.5-RELEASE][root@fw.meemsbox.com]/root: pciconf -lv | grep -A1 -B3 network
                igb0@pci0:1:0:0:        class=0x020000 card=0x00008086 chip=0x15398086 rev=0x03 hdr=0x00
                    vendor     = 'Intel Corporation'
                    device     = 'I211 Gigabit Network Connection'
                    class      = network
                    subclass   = ethernet
                igb1@pci0:2:0:0:        class=0x020000 card=0x00008086 chip=0x15398086 rev=0x03 hdr=0x00
                    vendor     = 'Intel Corporation'
                    device     = 'I211 Gigabit Network Connection'
                    class      = network
                    subclass   = ethernet
                igb2@pci0:3:0:0:        class=0x020000 card=0x00008086 chip=0x15398086 rev=0x03 hdr=0x00
                    vendor     = 'Intel Corporation'
                    device     = 'I211 Gigabit Network Connection'
                    class      = network
                    subclass   = ethernet
                igb3@pci0:4:0:0:        class=0x020000 card=0x00008086 chip=0x15398086 rev=0x03 hdr=0x00
                    vendor     = 'Intel Corporation'
                    device     = 'I211 Gigabit Network Connection'
                    class      = network
                    subclass   = ethernet
                igb4@pci0:5:0:0:        class=0x020000 card=0x00008086 chip=0x15398086 rev=0x03 hdr=0x00
                    vendor     = 'Intel Corporation'
                    device     = 'I211 Gigabit Network Connection'
                    class      = network
                    subclass   = ethernet
                igb5@pci0:6:0:0:        class=0x020000 card=0x00008086 chip=0x15398086 rev=0x03 hdr=0x00
                    vendor     = 'Intel Corporation'
                    device     = 'I211 Gigabit Network Connection'
                    class      = network
                    subclass   = ethernet
                

                But apparantly they're Intel!

                Raffi_R 1 Reply Last reply Reply Quote 0
                • M
                  meem
                  last edited by meem

                  Quality charts:

                  8 hours: https://i.ibb.co/g6nqMNh/8hours.jpg
                  alt text

                  1 day: https://i.ibb.co/gJJS1rk/Capture.jpg
                  alt text

                  one month: https://i.ibb.co/s10R93Z/month.jpg
                  alt text

                  1 Reply Last reply Reply Quote 0
                  • Raffi_R
                    Raffi_ @meem
                    last edited by

                    That's the right graph, but we don't need to see what it looks like now, we would be more interested to look at it when you do have an issue. FYI, you can paste an image right along side the text as you type in this forum.

                    @meem said in diagnose stuttering performance:

                    But apparantly they're Intel!

                    That's a plus.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      meem @Raffi_
                      last edited by

                      @Raffi_ said in diagnose stuttering performance:

                      That's the right graph, but we don't need to see what it looks like now, we would be more interested to look at it when you do have an issue. FYI, you can paste an image right along side the text as you type in this forum.

                      I had a ~10 second delay on a page loading whilst i've been commenting on this thread.

                      Raffi_R 1 Reply Last reply Reply Quote 0
                      • Raffi_R
                        Raffi_ @meem
                        last edited by

                        @meem said in diagnose stuttering performance:

                        I had a ~10 second delay on a page loading whilst i've been commenting on this thread.

                        The quality graphs over time look fine. That doesn't seem to be the issue.
                        Are you using the default DNS resolver (unbound)? If so, go to Services > DNS Resolver > General Settings, and make sure the DHCP Registration option is not checked.
                        cd1759e4-0262-47c3-bf36-4059e9b25b66-image.png

                        Another way to check if this is your issue is to go to Status > System Logs > System > DNS Resolver. Is DNS Resolver restarting when this issue occurs? The option I mentioned above could make the resolver restart every time any device on the network makes a DHCP request.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          meem @Raffi_
                          last edited by

                          @Raffi_ said in diagnose stuttering performance:

                          @meem said in diagnose stuttering performance:

                          I had a ~10 second delay on a page loading whilst i've been commenting on this thread.

                          The quality graphs over time look fine. That doesn't seem to be the issue.
                          Are you using the default DNS resolver (unbound)? If so, go to Services > DNS Resolver > General Settings, and make sure the DHCP Registration option is not checked.
                          cd1759e4-0262-47c3-bf36-4059e9b25b66-image.png

                          Another way to check if this is your issue is to go to Status > System Logs > System > DNS Resolver. Is DNS Resolver restarting when this issue occurs? The option I mentioned above could make the resolver restart every time any device on the network makes a DHCP request.

                          I do have it checked so that I can connect to my services internally by hostname.

                          I can see that I get 30-40 dns HUPS per hour - looking at the settings, I hadn't changed the default lease time for my new VLANS so i've made that change now. It was at the default (2hours)... made it 8 hours now. Looking at my Splunk logs I can see that i've been getting 30-40 HUPS per hour every hour (including throughout the night)

                          Raffi_R 1 Reply Last reply Reply Quote 1
                          • Raffi_R
                            Raffi_ @meem
                            last edited by Raffi_

                            @meem said in diagnose stuttering performance:

                            I can see that I get 30-40 dns HUPS per hour - looking at the settings, I hadn't changed the default lease time for my new VLANS so i've made that change now. It was at the default (2hours)... made it 8 hours now. Looking at my Splunk logs I can see that i've been getting 30-40 HUPS per hour every hour (including throughout the night)

                            That could do it. Hopefully, changing that to 8 hours is enough. I've seen rogue DHCP clients ask for an address every hour regardless of the default setting in pfSense. If changing that is not enough, see if unchecking DHCP registration helps just as test. You then have to decide if your need to lookup hosts by names outweighs having stable DNS, or you can try to track down any remaining rogue DHCP clients on the network not following the 8 hour lease time.

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