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

    Netgate 2100 Max CPu pings 100% when download large files

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    41 Posts 5 Posters 542 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Yup those wizards are installed by default.

      It could have been netstat showing momentarily. Or it could be a continuous 30% usage which would be worth digging into.

      1 Reply Last reply Reply Quote 0
      • N
        northernsky @northernsky
        last edited by northernsky

        @northernsky ok I just saw something odd. I was watching top -HaSP and was sitting on the system/package manager/Installed packages screen while I had a download going at 50000 mb/s and the cpu sits here:
        ab328856-92ae-40cb-96b9-3963d348e804-image.png

        When I move to the dashboard....:
        96276777-f317-4bbc-9596-2d4202382be1-image.png

        And when I moved to ANY other page other then the dashboard the CPU idle came back to life hovering around 40-55% idle. Crazy.

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

          Yup, the dashboard is not insignificant on lower powered devices like the 2100. Some of that is due to the new widget update behaviour in 24.11 that was referenced above. That's a lot better in 25.03.

          But that is the reason you should test at the CLI if you can. The dashboard is the biggest user but even using the System Activity page in the gui uses a lot more CPU than running the command at the CLI.

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

            But that 1st screenshot without a dynamic page open in GUI looks pretty much what I'd expect.

            N 2 Replies Last reply Reply Quote 0
            • N
              northernsky @stephenw10
              last edited by

              @stephenw10 OK sounds good. I think we I can close this one out. I do have a couple questions. Is it worth installing the bandwidhd or traffic totals packages? I guess is probably a good time for me to re-check to make sure I am using the best practices and was wondering if you knew a good website resource from netgate?

              S GertjanG 2 Replies Last reply Reply Quote 0
              • S
                SteveITS Galactic Empire @northernsky
                last edited by

                @northernsky What you install is up to you/dependent on what you need. Something that counts bytes or scans packets is going to take CPU cycles per packet.

                FWIW we have bandwidthd installed on one router out of several dozen (us and clients) and it’s for a specific reason.

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote 👍 helpful posts!

                1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @northernsky
                  last edited by Gertjan

                  @northernsky said in Netgate 2100 Max CPu pings 100% when download large files:

                  Is it worth installing the bandwidhd or traffic totals packages?

                  These create stats. Loads of stats.
                  This means :
                  They need 'a lot of space' to store the stats (so your disk storage device will be used way more faster ... and remember : these don't live forever, they have a max write cycle live time)
                  They 'tap' into the network driver(s) to get access to the real time data (packet) flow, and pareses every one of them. Probably only the headers, but still : overall impact will be noticeable.
                  They will 'log' a lot, so again : disk space and a lot of writes cycles.

                  It's always the same : even it's is free, there is a price and performance tradeoff. You decide what's OK for you.

                  Btw : your last image : I see several identical dpinger processes using 76.135.2xx.111.
                  Normally, there is only one (two) dpinger process(es) - one for every IP type : IPv4 and IPv6.
                  Not sure why you have several of them.

                  I have an IPv4 and IPv6 connection, so :

                  7da974cf-aab5-4c15-84ff-565ef053b0d2-image.png

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  N dennypageD 2 Replies Last reply Reply Quote 0
                  • N
                    northernsky @Gertjan
                    last edited by

                    @Gertjan

                    Odd I see them too but they use the same pid. Not sure why there are multiples displayed there.

                    GertjanG 1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @northernsky
                      last edited by

                      @northernsky said in Netgate 2100 Max CPu pings 100% when download large files:

                      same pid

                      Ah, ok. Seems less fishy then.

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      1 Reply Last reply Reply Quote 0
                      • dennypageD
                        dennypage @Gertjan
                        last edited by

                        @Gertjan said in Netgate 2100 Max CPu pings 100% when download large files:

                        Btw : your last image : I see several identical dpinger processes using 76.135.2xx.111.
                        Normally, there is only one (two) dpinger process(es) - one for every IP type : IPv4 and IPv6.
                        Not sure why you have several of them.

                        He is using the System Activity page rather than the ps command. The System Activity page uses the command:

                        /usr/bin/top -baHS 999
                        

                        A somewhat equivalent ps command would be:

                        /bin/ps -axlrHwwww
                        

                        The -H option for both means list all threads.

                        dpinger uses dedicated threads for its tasks. In pfSense, dpinger will have 5 threads:

                        • Main process control thread
                        • ICMP sender thread
                        • ICMP receiver thread
                        • Alert monitor thread
                        • UDP socket status thread

                        There is a potential 6th thread, the reporting thread, but this is not used in pfSense. pfSense polls the UDP socket instead.

                        I'm expect this is more than you ever wanted to know about dpinger. 😊

                        N GertjanG 2 Replies Last reply Reply Quote 3
                        • N
                          northernsky @dennypage
                          last edited by

                          @dennypage

                          The more you know.

                          Lots of tribal knowledge out there so you do us all a solid by sharing. :)

                          1 Reply Last reply Reply Quote 0
                          • GertjanG
                            Gertjan @dennypage
                            last edited by

                            @dennypage said in Netgate 2100 Max CPu pings 100% when download large files:

                            /usr/bin/top -baHS 999

                            Didn't saw him using that command ...
                            Thanks, now knowing this, I'm seeing the same results.
                            And top ? switched to htop ages go me.

                            No "help me" PM's please. Use the forum, the community will thank you.
                            Edit : and where are the logs ??

                            1 Reply Last reply Reply Quote 0
                            • N
                              northernsky @stephenw10
                              last edited by

                              @stephenw10

                              Any idea when the next update will be out?

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

                                It's in beta now. I'm running it in "production" and see no issues. That may not be an option for you though.

                                Hard to give anything certain but we are looking at weeks I think.

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