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

    Hardware tuning

    Scheduled Pinned Locked Moved Hardware
    14 Posts 3 Posters 1.1k Views 3 Watching
    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 Online
      stephenw10 Netgate Administrator
      last edited by

      You almost certainly don't need 1M nmbclusters. The automatically defined value is almost always correct.

      The same goes the igc tunables. We upstreamed a few changes to the defaults, what is set there now should be good.

      Steve

      A T 2 Replies Last reply Reply Quote 0
      • A Offline
        Antibiotic @stephenw10
        last edited by

        @stephenw10 Oki

        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
        • T Offline
          tomashk @stephenw10
          last edited by

          @stephenw10 by "now" you mean latest plus version of pfsense? If yes, is it different when compared to latest CE version? I wonder what changed especially if there is something I can apply to my 2.7.2

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

            Check the max interrupt rate:

            [24.03-RELEASE][admin@4200.stevew.lan]/root: sysctl hw.igc
            hw.igc.max_interrupt_rate: 20000
            hw.igc.eee_setting: 1
            hw.igc.sbp: 1
            hw.igc.smart_pwr_down: 0
            hw.igc.rx_abs_int_delay: 66
            hw.igc.tx_abs_int_delay: 66
            hw.igc.rx_int_delay: 0
            hw.igc.tx_int_delay: 66
            hw.igc.disable_crc_stripping: 0
            
            T A 2 Replies Last reply Reply Quote 1
            • T Offline
              tomashk @stephenw10
              last edited by

              @stephenw10 Thank you. Apparently I have the same values, or maybe for my I225-V I have one more than your list:

              hw.igc.rx_process_limit: 100
              
              A 1 Reply Last reply Reply Quote 0
              • A Offline
                Antibiotic @tomashk
                last edited by

                @tomashk said in Hardware tuning:

                hw.igc.rx_process_limit: 100

                What the benefit from this?
                Are you put this in boot,conf or system tunable?

                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

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

                  @stephenw multi queue support for this NIC? in default settings or can add:

                  hw.igc.rx_process_limit="-1"
                  hw.igc.tx_process_limit="-1"

                  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 Online
                    stephenw10 Netgate Administrator
                    last edited by

                    It defaults to 100. Yes it's multiqueue.

                           hw.igc.rx_process_limit
                    	       Maximum	number	of received packets to process at a time.  De-
                    	       fault is	100.  A	value of -1 means unlimited.
                    

                    Unlikely you will see any advantage to setting that over 100 IMO. But you can try it.

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

                      @stephenw10 Yea, i think you reply to other guy)))
                      In my settings pfSense 24.03, do not have this option: hw.igc.rx_process_limit

                      sysctl hw.igc
                      hw.igc.max_interrupt_rate: 20000
                      hw.igc.eee_setting: 1
                      hw.igc.sbp: 1
                      hw.igc.smart_pwr_down: 0
                      hw.igc.rx_abs_int_delay: 66
                      hw.igc.tx_abs_int_delay: 66
                      hw.igc.rx_int_delay: 0
                      hw.igc.tx_int_delay: 66
                      hw.igc.disable_crc_stripping: 0

                      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 Online
                        stephenw10 Netgate Administrator
                        last edited by

                        Yes because it defaults to 100. You asked about setting it to -1 which is unlimited I don't think that will make any difference as 100 is sufficient. But it's also unlikely to cause a problem so you can try it.

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

                          @stephenw10 I mean in my settings 100 is absent at all

                          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
                          • T Offline
                            tomashk @Antibiotic
                            last edited by

                            @Antibiotic said in Hardware tuning:

                            @tomashk said in Hardware tuning:

                            hw.igc.rx_process_limit: 100

                            What the benefit from this?
                            Are you put this in boot,conf or system tunable?

                            I haven't set it. It was there by default. I mentioned it because it wasn't present in listing provided by @stephenw10

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

                              Right because it now is the default so you don't need to set it. You can try setting it to something different as a test if you want but I don't believe it will make any difference.

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