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

    Puzzling CPU Usage

    Scheduled Pinned Locked Moved General pfSense Questions
    60 Posts 4 Posters 6.5k 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.
    • LPD7L
      LPD7 @jrey
      last edited by

      @jrey No problem, I appreciate your help, if you can provide some insight into my rules issue when you have the time that would be most welcome. As for -devel, I was considering moving over to the standard version but had questions about how that would impact current config. If "keep settings" is checked will those be added once the standard version is installed? I just did a config backup lest I forget before making the leap.

      Intelligence is not a substitute for common sense.
      Intel i5-3427 * 1.80GHz * 8GB Memory * 100GB HDD
      Putting legacy equipment into service and out of landfills.

      J 2 Replies Last reply Reply Quote 0
      • J
        jrey @LPD7
        last edited by jrey

        @LPD7

        just stay on -devel for now --- but go ahead and do the update to _20

        I was making that previous "warning" simply about being at a safe / stable place rather than on the rapidly changing leading edge when trying to troubleshoot a issue.

        LPD7L 1 Reply Last reply Reply Quote 0
        • J
          jrey @LPD7
          last edited by

          @LPD7

          Just FYI - I've been pre-testing many of the releases on my test system for a while now.

          But this morning I said _20 is stable enough that I would trust it on my production box and so installed it. This is something I had not noticed on the development box because it does slightly different things and has a slightly different footprint with regards to memory etc, and but has really leading edge code on it (often ahead of the repo)

          However in going from _10 to _20 and no other settings changed, I do not notice see any significant change in CPU usage, but I do notice that more memory is being allocated to cache, thus reducing the "free") I am certainly would not be concerned about this.

          Screen Shot 2024-10-21 at 10.43.51 AM.png

          Operationally everything is exactly as expected, so I expect that these levels will be "flat" and form the new baseline going forward
          so what was perviously flat lined at 62% free now appears to be around 47%
          with cache has gong from 9% to about 20%

          There is a reason and is documented on other threads and other notes.(effectively that cache sizes have been increased). So this is likely also all and why you are seeing "more memory usage" -- Certainly no concern here.

          LPD7L 1 Reply Last reply Reply Quote 1
          • LPD7L
            LPD7 @jrey
            last edited by

            @jrey Yes v_20, I will do that. Thx.

            Intelligence is not a substitute for common sense.
            Intel i5-3427 * 1.80GHz * 8GB Memory * 100GB HDD
            Putting legacy equipment into service and out of landfills.

            1 Reply Last reply Reply Quote 0
            • LPD7L
              LPD7 @jrey
              last edited by

              @jrey Thanks for bringing this up, I was just monitoring the dashboard and not looking at the system monitor. I have never seen this saw tooth pattern before not sure what it means am trying to connect the dots as I expand my knowledge. I will maintain business as usual and keep an eye on it. Let me know if you have any concerns. I need to think about spinning up my other box for testing.

              ec1679a9-6d32-412b-aecd-534ffab2b21d-image.png

              Intelligence is not a substitute for common sense.
              Intel i5-3427 * 1.80GHz * 8GB Memory * 100GB HDD
              Putting legacy equipment into service and out of landfills.

              J 1 Reply Last reply Reply Quote 0
              • J
                jrey @LPD7
                last edited by jrey

                @LPD7

                Interesting -- that's a little different than what I am chasing and as I recall you don't use TLD (wildcard blocking) it was not enabled in a previous screen capture.
                You haven't changed that setting have you? (and not suggesting you do at this point)

                Can you run a graph with custom time frame for a 1 day period and same resolution from before you updated from what ever prior version you had to _20 ?

                (edit) and what you are seeing there might not be related to pfb at all..

                Thanks

                LPD7L 1 Reply Last reply Reply Quote 0
                • LPD7L
                  LPD7 @jrey
                  last edited by

                  @jrey I looked at the logs as I dont know the exact time I did the update, best guess based on the inactive state it was at/around the 18:40 mark. If reading correctly seems like that saw tooth pattern was existing prior. I did a custom date just to make sure I caught the info, its a 2.5 day time frame.

                  03c25fcc-0a83-40e2-adf4-92d085e2cffe-image.png

                  Intelligence is not a substitute for common sense.
                  Intel i5-3427 * 1.80GHz * 8GB Memory * 100GB HDD
                  Putting legacy equipment into service and out of landfills.

                  LPD7L 1 Reply Last reply Reply Quote 0
                  • LPD7L
                    LPD7 @LPD7
                    last edited by

                    @jrey I have been diving into the graph which has been interesting. One thing I noticed is that "wire" in green is defined as "Memory allocated by the kernel, including the kernel itself, which cannot be paged/swapped and cannot be freed until explicitly released." Given the continuous high and low states on the wire would this manifest in increased memory utilization?

                    Intelligence is not a substitute for common sense.
                    Intel i5-3427 * 1.80GHz * 8GB Memory * 100GB HDD
                    Putting legacy equipment into service and out of landfills.

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jrey @LPD7
                      last edited by

                      @LPD7 said in Puzzling CPU Usage:

                      Given the continuous high and low states on the wire would this manifest in increased memory utilization?

                      Look at the top line (orange) at the same time (that's free) same zigzag here but overall it is a flat line around 60% Free for you

                      Depending on how long the system has been around, you might be able to look over a much longer time frame (3 months or 1 year for example, they are presets)

                      I typically run average 67% free (check the table under the graph) but every system will be different depending on configuration and applications --

                      Memory is always doing "stuff" but there is nothing here that should be overly concerning

                      Screen Shot 2024-10-25 at 2.38.30 PM.png

                      You see that little down blip on the right - that actually looks like this zoomed in ..

                      Screen Shot 2024-10-23 at 6.37.54 AM.png

                      Nothing really to see here -

                      LPD7L 1 Reply Last reply Reply Quote 0
                      • LPD7L
                        LPD7 @jrey
                        last edited by

                        @jrey Thanks so much for your help and input it is very useful info to have to be able to put this into perspective. Sorry delay in getting back to you, was also working on a rules issue which seems to now be resolved. I appreciate your time and patience on this. I hope all that we covered will be of use to others in the future. Thanks again and have a great week.

                        Intelligence is not a substitute for common sense.
                        Intel i5-3427 * 1.80GHz * 8GB Memory * 100GB HDD
                        Putting legacy equipment into service and out of landfills.

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