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

    WAN interface interrupts

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 3 Posters 827 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

      400 interrupts per second doesn't seem that high. How much traffic is it passing at that point?

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

        @Antibiotic said in WAN interface interrupts:

        top -HaSP command, is it normally?

        PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
        11 root 187 ki31 0B 64K CPU3 3 94:09 100.00% [idle{idle: cpu3}]
        11 root 187 ki31 0B 64K CPU2 2 94:01 100.00% [idle{idle: cpu2}]
        11 root 187 ki31 0B 64K CPU0 0 94:12 99.93% [idle{idle: cpu0}]
        11 root 187 ki31 0B 64K RUN 1 93:59 99.74% [idle{idle: cpu1}]

        Your CPU, 4 cores, is doing 'nothing' is close to 100 % being idle = doing nothing.

        Your hardware is waaaay over scaled 😊
        Not normal, but this happens a lot.

        @Antibiotic said in WAN interface interrupts:

        But have almost 400

        400 interrupts.
        To start to understand what this means, have a look at the 6502 series of Ben Eater (Youtube).
        Packets are "1500" bytes, as shown, and every time a packet has been send or received one, the interface (chip) fires an interrupt to signal the kernel : "Are there more packets to handle ?"
        ( 400 x 1500 ) = about a 4 mega bits per second stream, in the two directions (!)

        It's very easy to bring this '400' interrupts down : disconnect all your LAN connections and recheck You will have to use the console interface to check.

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

        A 3 Replies Last reply Reply Quote 0
        • A
          Antibiotic @Gertjan
          last edited by Antibiotic

          @Gertjan said in WAN interface interrupts:

          Your hardware is waaaay over scaled

          What do you mean? and what have to do for avoid this?

          pfSense plus 24.11 on Topton mini PC
          CPU: Intel N100
          NIC: Intel i-226v 4 pcs
          RAM : 16 GB DDR5
          Disk: 128 GB NVMe
          Brgds, Archi

          1 Reply Last reply Reply Quote 0
          • A
            Antibiotic @stephenw10
            last edited by

            @stephenw10 Passing normally 1gb up/down, but its wasn't this interrupts before, going last a few days

            pfSense plus 24.11 on Topton mini PC
            CPU: Intel N100
            NIC: Intel i-226v 4 pcs
            RAM : 16 GB DDR5
            Disk: 128 GB NVMe
            Brgds, Archi

            1 Reply Last reply Reply Quote 0
            • A
              Antibiotic @Gertjan
              last edited by

              @Gertjan said in WAN interface interrupts:

              It's very easy to bring this '400' interrupts down : disconnect all your LAN connections and recheck

              Yea , but what the reason to use pfsense without LAN)))

              pfSense plus 24.11 on Topton mini PC
              CPU: Intel N100
              NIC: Intel i-226v 4 pcs
              RAM : 16 GB DDR5
              Disk: 128 GB NVMe
              Brgds, Archi

              1 Reply Last reply Reply Quote 0
              • A
                Antibiotic @Gertjan
                last edited by

                @Gertjan Checked out now, about 150/s.

                pfSense plus 24.11 on Topton mini PC
                CPU: Intel N100
                NIC: Intel i-226v 4 pcs
                RAM : 16 GB DDR5
                Disk: 128 GB NVMe
                Brgds, Archi

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

                  400/s doesn't seem unusual if it's been moving 1Gbps since the stats were reset. And it looks like you data was recently reset which means the average value shown there will be much more affected by spikes in throughput.

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    Antibiotic @stephenw10
                    last edited by Antibiotic

                    @stephenw10 As me posted above command: top -HaSP

                    My cpu cores almost idle 100%. Is it possible to test to be sure that pfSense can use all cores? or could me need to set some specific option in /boot/load.conf.local. May be pfSense do not see all cores normally? Colud be need to set PowerD instead Speed Shift?

                    Screenshot_12-6-2024_155136_192.168.20.1.jpeg

                    pfSense plus 24.11 on Topton mini PC
                    CPU: Intel N100
                    NIC: Intel i-226v 4 pcs
                    RAM : 16 GB DDR5
                    Disk: 128 GB NVMe
                    Brgds, Archi

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

                      Run top -HaSP and then test. You'll see how the load is distributed across the cores.

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        Antibiotic @stephenw10
                        last edited by Antibiotic

                        @stephenw10
                        Tested with speed test
                        Core1 about 75-80
                        Core2 about 90-95
                        Core3 and Core4 about 95-100

                        During browsering all almost 100 idle

                        pfSense plus 24.11 on Topton mini PC
                        CPU: Intel N100
                        NIC: Intel i-226v 4 pcs
                        RAM : 16 GB DDR5
                        Disk: 128 GB NVMe
                        Brgds, Archi

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

                          OK so loading on all cores. I'm really not seeing a problem here.

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            Antibiotic @stephenw10
                            last edited by

                            @stephenw10 Ok, thanks

                            pfSense plus 24.11 on Topton mini PC
                            CPU: Intel N100
                            NIC: Intel i-226v 4 pcs
                            RAM : 16 GB DDR5
                            Disk: 128 GB NVMe
                            Brgds, Archi

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