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

    CPU utilization on HP t620 plus

    Scheduled Pinned Locked Moved Hardware
    12 Posts 3 Posters 1.6k 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.
    • DaddyGoD
      DaddyGo @briankelly63
      last edited by DaddyGo

      @briankelly63 said in CPU utilization on HP t620 plus:

      Does WCPU at 100% indicate an issue?

      Hi,

      No, don't worry it's idle.... 4 core (100%) you have to interpret it the other way round

      CPU=0,8%, so 98.4% idle you have plenty to spare 😉

      +++edit:
      otherwise the clock speed per core and say the speed of the RAM(s) matters more
      (f.e.: Single Thread Performance, BUS + pci BUS clock, etc.)

      if you are running resource intensive packages like SQUID, pfBlockerNG with large lists, Snort/Suricata, you might need more RAM

      Cats bury it so they can't see it!
      (You know what I mean if you have a cat)

      B 1 Reply Last reply Reply Quote 1
      • B
        briankelly63 @DaddyGo
        last edited by

        @daddygo
        Thanks for the quick reply. I just switched over to the T620 and I’m changing Internet providers next week so a lot going on.
        One of the things that caught my attention is that when I connect to OpenVPN from my laptop from a remote location it takes about 3-4 seconds to connect when it probably took no longer than 1 second with the old PC that I was using for PFsense. So far I haven’t been able to determine what might be causing that delay.

        DaddyGoD 1 Reply Last reply Reply Quote 0
        • DaddyGoD
          DaddyGo @briankelly63
          last edited by

          @briankelly63 said in CPU utilization on HP t620 plus:

          OpenVPN

          OpenVPN on the firewall is a typical case of single-threaded behaviour

          OPENVPN single threaded, so your best friend in this case is a high CPU clock speed on a single core

          Cats bury it so they can't see it!
          (You know what I mean if you have a cat)

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

            @briankelly63 said in CPU utilization on HP t620 plus:

            2752M Free

            You don't need more RAM. At least not yet.

            Actual time taken to connect is unlikely to vary much unless you have a huge number of users. Was the old device running the same pfSense version? Are you testing from the same client version? 3-4s is pretty much what I expect though. Even on something very fast.

            Steve

            B 1 Reply Last reply Reply Quote 1
            • B
              briankelly63 @stephenw10
              last edited by

              @stephenw10
              Thx for the reply. The old device was running same version and I was connecting from same client.
              As an experiment I created a second OpenVPN server on the same Pfsense box (t620) by first making a copy, testing (same result) and then simplifying the configuration so it would be more lightweight. With that change the connect time of the client dropped dramatically. Looks like it is the negotiation time when things are a little slower. I'm going to be adding more memory to that machine this week. In order to preserve the SSD I had originally selected the option to run var and tmp out of system memory but 4gb wasn't enough. With more memory I'll be able to do that which may speed things up.
              Interestingly I did find a 'bad' setting in my configuration which was the Pure Nat vs Nat plus Proxy which was generating lots of errors in the log and may have been slowing things a bit. Fixed.

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

                Mmm, how large a RAM drives did you set? I usually use double the default size so 120/80MB.

                You can't run Snort/Suricata in that but you shouldn't use RAM drives at all if you're running those.

                Steve

                B 1 Reply Last reply Reply Quote 1
                • B
                  briankelly63 @stephenw10
                  last edited by

                  @stephenw10
                  I probably only set it for 60 each. Maybe that’s why it ran out of space and was crashing. Not using snort or Siri at a right now just pfblockerNG

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

                    Yeah I would go to at least double. On x86 the available kernel space is large and you're only using a bit over 1G so you could easily go larger if you need to.
                    You probably don't though. My edge device right now:

                    Screenshot from 2021-05-23 21-31-07.png

                    Steve

                    B 1 Reply Last reply Reply Quote 1
                    • B
                      briankelly63 @stephenw10
                      last edited by

                      @stephenw10
                      Thanks, I will give that a try. I did order some more memory which I’ll install in the next couple of days so that should give me plenty of room.

                      DaddyGoD 1 Reply Last reply Reply Quote 0
                      • DaddyGoD
                        DaddyGo @briankelly63
                        last edited by DaddyGo

                        @briankelly63 said in CPU utilization on HP t620 plus:

                        I did order some more memory which I’ll install in the next couple of days

                        In that case, I'd get rid of the RAM disks,......- and an additional proposal pls. put the installation to ZFS, although you still have enough memory in the current situation, many people are running with 2G RAM.

                        (You don't gain as much on "shrine" of the speed as you lose in RAM disk usage and security, although a good UPS can always be a solution.)

                        if you want later IPS/IDS this excludes the RAM disk, as Stephen described, ergo better to think ahead than to reconfigure later 😉

                        I read above about the relationship between RAM disk and SSD 64GB.
                        Don't worry about the SSD 64GB, would be plenty enough for up to 3 - 4 complete pfSense installations

                        The RAM disk, in my reading, is always a necessary solution if the HW is lower ability for some reason, but that's not the case with you and you are free to expand it.

                        Fast RAM + MOBO speed + SSD disk = good approach
                        don't forget it's just a router + firewall in SOHO environment
                        (not a heavy loaded database server)

                        price/value invested + scope of use = economic efficiency
                        always good for your wallet 😉

                        Cats bury it so they can't see it!
                        (You know what I mean if you have a cat)

                        1 Reply Last reply Reply Quote 1
                        • B
                          briankelly63
                          last edited by

                          Thanks... I think I'll avoid the RAM disk for now and just keep an eye on memory.

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