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

    CPU usage during solid throuput

    Scheduled Pinned Locked Moved General pfSense Questions
    8 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.
    • Z
      zephxiii
      last edited by

      Our connection is 7mbit down/2mbit up. I've noticed when we are downloading large files that max out the connect the cpu usage is pretty high at around 70-80%. From what I can tell the usage is falling under the "interrupt" category in RRD Graphs.

      The machine has a PIII 1.13ghz cpu, and the only extra service i'm really running is the traffic shaper.

      Is this normal or might it be something to do with the NIC offloading some work onto the CPU?

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke
        last edited by

        what type of NIC do you use ?
        realtek ? If yes, it would help to use one good NIC like an intel.

        1 Reply Last reply Reply Quote 0
        • Z
          zephxiii
          last edited by

          It is a 3com NIC, and I do suspect it as the cause…but was trying to clue in on past experiences.

          1 Reply Last reply Reply Quote 0
          • N
            Nachtfalke
            last edited by

            Did you play a little bit with the options under:
            System: Advanced: Networking ?

            I use the default values on an intel nic but perhaps some changes will help in your case if you could not try another nic right now.

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              from ssh or the console, watch "top -SH" as you experience the high load. See where the CPU is really going.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • Z
                zephxiii
                last edited by

                @jimp:

                from ssh or the console, watch "top -SH" as you experience the high load. See where the CPU is really going.

                Here's what I got:

                pfsense-cpu-usage.jpg
                pfsense-cpu-usage.jpg_thumb

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  Are you sure that was "top -SH"? It should have shown you the kernel threads using that cpu.

                  Next you could try:

                  systat -vmstat
                  

                  See what is firing off those interrupts.

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • Z
                    zephxiii
                    last edited by

                    @jimp:

                    Are you sure that was "top -SH"? It should have shown you the kernel threads using that cpu.

                    Next you could try:

                    systat -vmstat
                    

                    See what is firing off those interrupts.

                    Think the last post was just top

                    ![pfsense usage.jpg](/public/imported_attachments/1/pfsense usage.jpg)
                    ![pfsense usage.jpg_thumb](/public/imported_attachments/1/pfsense usage.jpg_thumb)
                    ![top -sh.jpg](/public/imported_attachments/1/top -sh.jpg)
                    ![top -sh.jpg_thumb](/public/imported_attachments/1/top -sh.jpg_thumb)

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